mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Merged in cdesai/haikuports/googlemaps (pull request #457)
Add a new app, Google Maps Mini
This commit is contained in:
49
app-misc/googlemaps_mini/googlemaps_mini-0.1.recipe
Normal file
49
app-misc/googlemaps_mini/googlemaps_mini-0.1.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="Google Maps Mini"
|
||||
DESCRIPTION="
|
||||
Qt Widget that allows a user to choose lat/lng from a GoogleMap view, with location search
|
||||
"
|
||||
|
||||
HOMEPAGE="http://www.haikuware.com/directory/view-details/internet-network/web-browsers/googlemaps-mini"
|
||||
SRC_URI="git+https://github.com/mgermain-genymobile/GoogleMapQtWidget.git#3fefbef368430deda7bd26e2a875cca3db2126ce"
|
||||
REVISION="1"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2013 Morgan Germain"
|
||||
|
||||
ARCHITECTURES="?x86 ?x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
else
|
||||
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
googlemaps_mini = $portVersion
|
||||
app:googlemaps_mini = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
libqt4${secondaryArchSuffix} < 5
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
libqt4${secondaryArchSuffix}_devel < 5
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc${secondaryArchSuffix}
|
||||
cmd:qmake${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
qmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp build/mgeGoogleMap $appsDir/GoogleMapsMini
|
||||
addAppDeskbarSymlink $appsDir/GoogleMapsMini
|
||||
}
|
||||
Reference in New Issue
Block a user