mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-19 02:00:06 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
62 lines
1.7 KiB
Bash
62 lines
1.7 KiB
Bash
SUMMARY="Google Maps Mini"
|
|
DESCRIPTION="Qt Widget that allows a user to choose lat/lng from a GoogleMap \
|
|
view, with location search"
|
|
HOMEPAGE="https://github.com/mgermain-genymobile/GoogleMapQtWidget/"
|
|
COPYRIGHT="2013 Morgan Germain"
|
|
LICENSE="MIT"
|
|
REVISION="4"
|
|
srcGitRev="3fefbef368430deda7bd26e2a875cca3db2126ce"
|
|
SOURCE_URI="https://github.com/mgermain-genymobile/GoogleMapQtWidget/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="db4cf6b5c725ade4e8177af9288e7173c43a9e37b4429e0d06dd15f72c06fedf"
|
|
SOURCE_DIR="GoogleMapQtWidget-$srcGitRev"
|
|
PATCHES="googlemaps_mini-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
googlemaps_mini$secondaryArchSuffix = $portVersion
|
|
app:googlemaps_mini = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Network$secondaryArchSuffix
|
|
lib:libQt5Script$secondaryArchSuffix
|
|
lib:libQt5WebKit$secondaryArchSuffix
|
|
lib:libQt5WebKitWidgets$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libGL$secondaryArchSuffix
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
devel:libQt5Network$secondaryArchSuffix
|
|
devel:libQt5Script$secondaryArchSuffix
|
|
devel:libQt5WebKit$secondaryArchSuffix
|
|
devel:libQt5WebKitWidgets$secondaryArchSuffix
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:qmake$secondaryArchSuffix >= 5
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
qmake
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp build/mgeGoogleMap $appsDir/GoogleMapsMini
|
|
addAppDeskbarSymlink $appsDir/GoogleMapsMini
|
|
}
|