mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
53 lines
1.3 KiB
Bash
53 lines
1.3 KiB
Bash
SUMMARY="PBF image plugin for Qt5"
|
|
DESCRIPTION="Qt image plugin for displaying Mapbox vector tiles."
|
|
HOMEPAGE="https://github.com/tumic0/QtPBFImagePlugin"
|
|
COPYRIGHT="2018-2019 Martin Tůma"
|
|
LICENSE="GNU LGPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="b88b3109139bc455f8393620b1c10873398188af200ca5969df6343cd5c6d631"
|
|
SOURCE_DIR="QtPBFImagePlugin-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
qtpbfimageplugin$secondaryArchSuffix = $portVersion
|
|
lib:libpbf$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libprotobuf_lite$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libGL$secondaryArchSuffix
|
|
devel:libprotobuf_lite$secondaryArchSuffix >= 21
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:protoc$secondaryArchSuffix
|
|
cmd:qmake$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
qmake pbfplugin.pro
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $addOnsDir/Qt5/imageformats
|
|
cp $sourceDir/libpbf.so $addOnsDir/Qt5/imageformats
|
|
}
|