mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
GPXSee: bump to 8.0
This commit is contained in:
committed by
Gerasim Troeglazov
parent
16417e5122
commit
8855dc7daf
108
sci-geosciences/gpxsee/gpxsee-8.0.recipe
Normal file
108
sci-geosciences/gpxsee/gpxsee-8.0.recipe
Normal file
@@ -0,0 +1,108 @@
|
||||
SUMMARY="GPS map/log file viewer and analyzer"
|
||||
DESCRIPTION="GPXSee is a Qt-based GPS log file viewer and analyzer that \
|
||||
supports all common GPS log file formats.
|
||||
|
||||
Main features:
|
||||
|
||||
* Opens GPX, TCX, FIT, KML, NMEA, IGC, CUP, SIGMA SLF, Suunto SML, LOC, GeoJSON, \
|
||||
OziExplorer (PLT, RTE, WPT), Garmin GPI & CSV and geotagged JPEG files
|
||||
* User-definable online maps (OpenStreetMap/Google tiles, WMTS, WMS, TMS, \
|
||||
QuadTiles)
|
||||
* Offline maps (MBTiles, OziExplorer maps, TrekBuddy maps/atlases, Garmin IMG/GMAP \
|
||||
& JNX maps, TwoNav RMaps, GeoTIFF images, BSB charts, KMZ maps)
|
||||
* Elevation, speed, heart rate, cadence, power, temperature and gear \
|
||||
ratio/shifts graphs
|
||||
* Support for DEM files (SRTM HGT)
|
||||
* Support for multiple tracks in one view
|
||||
* Support for POI files
|
||||
* Print/export to PDF or PNG
|
||||
* Full-screen mode
|
||||
* HiDPI/Retina displays & maps support"
|
||||
HOMEPAGE="https://www.gpxsee.org/"
|
||||
COPYRIGHT="2015-2020 Martin Tůma"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/tumic0/gpxsee/archive/$portVersion/GPXSee-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="eee67b5b15c0c48877a5004a2f0bc6ac430e4ee83144632da24ad427cc013d87"
|
||||
SOURCE_DIR="GPXSee-$portVersion"
|
||||
PATCHES="gpxsee-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="
|
||||
gpxsee.rdef.in
|
||||
icons.zip
|
||||
"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
gpxsee$secondaryArchSuffix = $portVersion
|
||||
app:GPXSee = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libQt5Concurrent$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5PrintSupport$secondaryArchSuffix
|
||||
lib:libQt5Sql$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libGL$secondaryArchSuffix
|
||||
devel:libQt5Concurrent$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
devel:libQt5PrintSupport$secondaryArchSuffix
|
||||
devel:libQt5Sql$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:qmake$secondaryArchSuffix
|
||||
cmd:unzip
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
unzip -o $sourceDir/../../additional-files/icons.zip -d $sourceDir/icons/GUI
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
lrelease gpxsee.pro
|
||||
qmake gpxsee.pro
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
mkdir -p $dataDir/GPXSee/{maps,csv,translations}
|
||||
cp gpxsee $appsDir/GPXSee
|
||||
cp -r pkg/maps/* $dataDir/GPXSee/maps
|
||||
cp -r pkg/csv/* $dataDir/GPXSee/csv
|
||||
cp -r lang/*.qm $dataDir/GPXSee/translations
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.qt5-gpxsee"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="0"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/gpxsee.rdef.in > gpxsee.rdef
|
||||
|
||||
addResourcesToBinaries gpxsee.rdef $appsDir/GPXSee
|
||||
addAppDeskbarSymlink $appsDir/GPXSee
|
||||
}
|
||||
Reference in New Issue
Block a user