diff options
author | abs <abs@pkgsrc.org> | 2018-10-19 08:57:22 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2018-10-19 08:57:22 +0000 |
commit | 5e1c6696ff83358ddbdeb228e5cc02632919fd11 (patch) | |
tree | 51941c2826b8cda626acdbddc7f9c26a0f335e1b /geography | |
parent | 5a2b96bb35357fe757ccbcddf1ec087173ff85eb (diff) | |
download | pkgsrc-5e1c6696ff83358ddbdeb228e5cc02632919fd11.tar.gz |
Added geography/gpxsee version 6.3
GPXSee is a Qt-based GPS log file viewer and analyzer that supports
GPX, TCX, FIT, KML, IGC, NMEA, SLF, LOC, OziExplorer (PLT, RTE,
WPT) and Garmin CSV files
* User-definable online maps (OpenStreetMap/Google tiles, WMTS, WMS, TMS)
* Offline maps (MBTiles, OziExplorer maps, TrekBuddy, Garmin JNX maps, GeoTIFF)
* Elevation, speed, heart rate, cadence, power, temp & gear ratio/shifts graphs
* Support for multiple tracks in one view
* Support for POI files
* Print/export to PDF
* Full-screen mode
* HiDPI/Retina displays & maps support
* Native GUI for Windows, Mac OS X and Linux
Diffstat (limited to 'geography')
-rw-r--r-- | geography/gpxsee/DESCR | 13 | ||||
-rw-r--r-- | geography/gpxsee/Makefile | 34 | ||||
-rw-r--r-- | geography/gpxsee/PLIST | 13 | ||||
-rw-r--r-- | geography/gpxsee/distinfo | 7 | ||||
-rw-r--r-- | geography/gpxsee/patches/patch-src_config.h | 29 |
5 files changed, 96 insertions, 0 deletions
diff --git a/geography/gpxsee/DESCR b/geography/gpxsee/DESCR new file mode 100644 index 00000000000..dcdcf67e76f --- /dev/null +++ b/geography/gpxsee/DESCR @@ -0,0 +1,13 @@ +GPXSee is a Qt-based GPS log file viewer and analyzer that supports +GPX, TCX, FIT, KML, IGC, NMEA, SLF, LOC, OziExplorer (PLT, RTE, +WPT) and Garmin CSV files + +* User-definable online maps (OpenStreetMap/Google tiles, WMTS, WMS, TMS) +* Offline maps (MBTiles, OziExplorer maps, TrekBuddy, Garmin JNX maps, GeoTIFF) +* Elevation, speed, heart rate, cadence, power, temp & gear ratio/shifts graphs +* Support for multiple tracks in one view +* Support for POI files +* Print/export to PDF +* Full-screen mode +* HiDPI/Retina displays & maps support +* Native GUI for Windows, Mac OS X and Linux diff --git a/geography/gpxsee/Makefile b/geography/gpxsee/Makefile new file mode 100644 index 00000000000..f3d078f4efe --- /dev/null +++ b/geography/gpxsee/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2018/10/19 08:57:22 abs Exp $ + +GITHUB_PROJECT= GPXSee +DISTNAME= 6.3 +PKGNAME= ${GITHUB_PROJECT:tl}-${DISTNAME} +CATEGORIES= geography +MASTER_SITES= ${MASTER_SITE_GITHUB:=tumic0/} +DIST_SUBDIR= ${GITHUB_PROJECT} + +MAINTAINER= abs@NetBSD.org +HOMEPAGE= https://github.com/tumic0/GPXSee/ +COMMENT= GPS log file viewer and analyzer +LICENSE= gnu-gpl-v3 + +WRKSRC= ${WRKDIR}/GPXSee-6.3 +USE_LANGUAGES= c++03 +QMAKE= ${QTDIR}/bin/qmake + +INSTALLATION_DIRS+= bin share/gpxsee/csv share/gpxsee/maps share/applications share/mime/packages share/pixmaps + +do-configure: + cd ${WRKSRC} && ${QMAKE} DEFINES+=GPXSEE_GLOBAL_DIR=\\\\\\\"${PREFIX}/share/gpxsee\\\\\\\" gpxsee.pro + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/GPXSee ${DESTDIR}${PREFIX}/bin/gpxsee + ${INSTALL_DATA} ${WRKSRC}/pkg/csv/* ${DESTDIR}${PREFIX}/share/gpxsee/csv + ${INSTALL_DATA} ${WRKSRC}/pkg/maps/* ${DESTDIR}${PREFIX}/share/gpxsee/maps + ${INSTALL_DATA} ${WRKSRC}/pkg/gpxsee.desktop ${DESTDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/pkg/gpxsee.xml ${DESTDIR}${PREFIX}/share/mime/packages + ${INSTALL_DATA} ${WRKSRC}/icons/gpxsee.png ${DESTDIR}${PREFIX}/share/pixmaps + +.include "../../x11/qt5-qtbase/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/geography/gpxsee/PLIST b/geography/gpxsee/PLIST new file mode 100644 index 00000000000..c68f17b3346 --- /dev/null +++ b/geography/gpxsee/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2018/10/19 08:57:22 abs Exp $ +bin/gpxsee +share/applications/gpxsee.desktop +share/gpxsee/csv/ellipsoids.csv +share/gpxsee/csv/gcs.csv +share/gpxsee/csv/pcs.csv +share/gpxsee/maps/4UMaps.xml +share/gpxsee/maps/OpenStreetMap.xml +share/gpxsee/maps/OpenTopoMap.xml +share/gpxsee/maps/USGS-imagery.xml +share/gpxsee/maps/USGS-topo.xml +share/mime/packages/gpxsee.xml +share/pixmaps/gpxsee.png diff --git a/geography/gpxsee/distinfo b/geography/gpxsee/distinfo new file mode 100644 index 00000000000..4e1d9176098 --- /dev/null +++ b/geography/gpxsee/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2018/10/19 08:57:22 abs Exp $ + +SHA1 (GPXSee/6.3.tar.gz) = a57f4eb72c6ca373f4bd1d61cf444443fdb17972 +RMD160 (GPXSee/6.3.tar.gz) = b6ffd187c6ccd9c2eb7720c0fcb2f035985ef1df +SHA512 (GPXSee/6.3.tar.gz) = 7a4f23444517a0481490f8f1a0520634e63e0416dd5fd5bdb01942df138839595dffd4bced21e264552915c38e5653e927244ea5ca185ff3f93df56fad3e9c73 +Size (GPXSee/6.3.tar.gz) = 3861093 bytes +SHA1 (patch-src_config.h) = 42ab46ea889e0c1c95dfa3ae614beaaa97f4b23d diff --git a/geography/gpxsee/patches/patch-src_config.h b/geography/gpxsee/patches/patch-src_config.h new file mode 100644 index 00000000000..88a34d73918 --- /dev/null +++ b/geography/gpxsee/patches/patch-src_config.h @@ -0,0 +1,29 @@ +$NetBSD: patch-src_config.h,v 1.1.1.1 2018/10/19 08:57:22 abs Exp $ + +Allow GLOBAL_DIR to be overridden by build system + +--- src/config.h.orig 2018-10-11 16:19:35.000000000 +0000 ++++ src/config.h +@@ -21,14 +21,19 @@ + + #if defined(Q_OS_WIN32) + #define USER_DIR QDir::homePath() + QString("/GPXSee") +-#define GLOBAL_DIR QApplication::applicationDirPath() ++#define DEFAULT_GLOBAL_DIR QApplication::applicationDirPath() + #elif defined(Q_OS_MAC) + #define USER_DIR QDir::homePath() + QString("/.gpxsee") +-#define GLOBAL_DIR QApplication::applicationDirPath() \ ++#define DEFAULT_GLOBAL_DIR QApplication::applicationDirPath() \ + + QString("/../Resources") + #else + #define USER_DIR QDir::homePath() + QString("/.gpxsee") +-#define GLOBAL_DIR QString("/usr/share/gpxsee") ++#define DEFAULT_GLOBAL_DIR QString("/usr/share/gpxsee") ++#endif ++#ifdef GPXSEE_GLOBAL_DIR ++#define GLOBAL_DIR QString(GPXSEE_GLOBAL_DIR) ++#else ++#define GLOBAL_DIR DEFAULT_GLOBAL_DIR + #endif + + #define USER_CSV_DIR USER_DIR + QString("/") + CSV_DIR |