mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
QtPBFImagePlugin: new recipe (#3551)
This commit is contained in:
committed by
Sergei Reznikov
parent
2669761118
commit
71e3841ea0
52
dev-qt/qtpbfimageplugin/qtpbfimageplugin-1.2.recipe
Normal file
52
dev-qt/qtpbfimageplugin/qtpbfimageplugin-1.2.recipe
Normal file
@@ -0,0 +1,52 @@
|
||||
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="1"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="9caf6d9074d5c740f73c114f9fb0e151ff9379e355020b1a3020e87b3bb6d485"
|
||||
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
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user