aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2018-12-20 20:31:03 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2018-12-20 20:31:03 +0000
commit7f0ad9c175d971fe8e4eb1e183587e83fd0e9d7a (patch)
tree9665f4093af1a288d67a775d10a69ca236db581a /graphics
parent25aee15cfc8b4a127fadc3778e3ddd3adc6229be (diff)
downloadports-7f0ad9c175d971fe8e4eb1e183587e83fd0e9d7a.tar.gz
ports-7f0ad9c175d971fe8e4eb1e183587e83fd0e9d7a.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gpxsee/Makefile22
-rw-r--r--graphics/gpxsee/distinfo6
-rw-r--r--graphics/gpxsee/pkg-plist2
3 files changed, 16 insertions, 14 deletions
diff --git a/graphics/gpxsee/Makefile b/graphics/gpxsee/Makefile
index 4753c39f89fb..e067849fd81a 100644
--- a/graphics/gpxsee/Makefile
+++ b/graphics/gpxsee/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gpxsee
-PORTVERSION= 6.3
+DISTVERSION= 7.0
CATEGORIES= graphics geography
MAINTAINER= sikmir@gmail.com
@@ -11,8 +11,8 @@ COMMENT= GPS log file viewer and analyzer
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/licence.txt
-USES= qmake:outsource desktop-file-utils qt:5 shared-mime-info
-USE_QT= buildtools_build core gui network opengl printsupport \
+USES= gl qmake:outsource desktop-file-utils qt:5 shared-mime-info
+USE_QT= buildtools_build concurrent core gui network opengl printsupport \
sql sql-sqlite3_run widgets
USE_GL= gl
@@ -20,18 +20,16 @@ USE_GITHUB= yes
GH_ACCOUNT= tumic0
GH_PROJECT= GPXSee
-OPTIONS_DEFINE= NLS TIFF
-OPTIONS_DEFAULT= TIFF
+OPTIONS_DEFINE= NLS PBF TIFF
+OPTIONS_DEFAULT= PBF TIFF
OPTIONS_SUB= yes
NLS_USE= QT=linguisttools_build
-NLS_USES= gettext-runtime qt:5
-TIFF_DESC= Support for TIFF
-TIFF_USES= qt:5
+NLS_USES= gettext-runtime
+PBF_DESC= Support for PBF vector maps
+PBF_RUN_DEPENDS= ${QT_PLUGINDIR}/imageformats/libpbf.so:graphics/qtpbfimageplugin
+TIFF_DESC= Support for GeoTIFF images
TIFF_USE= QT=imageformats_run
-do-patch:
- @${REINPLACE_CMD} -e "s|/usr/share/gpxsee|${DATADIR}|" ${WRKSRC}/src/config.h
-
pre-build-NLS-on:
${LRELEASE} ${WRKSRC}/${PORTNAME}.pro
@@ -45,6 +43,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications
@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
${INSTALL_DATA} ${WRKSRC}/pkg/${PORTNAME}.xml ${STAGEDIR}${PREFIX}/share/mime/packages
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo
+ ${INSTALL_DATA} ${WRKSRC}/pkg/appdata.xml ${STAGEDIR}${PREFIX}/share/metainfo/${PORTNAME}.appdata.xml
do-install-NLS-on:
@${MKDIR} ${STAGEDIR}${DATADIR}/translations
diff --git a/graphics/gpxsee/distinfo b/graphics/gpxsee/distinfo
index e99106edef7d..7e023a437ccb 100644
--- a/graphics/gpxsee/distinfo
+++ b/graphics/gpxsee/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1540189420
-SHA256 (tumic0-GPXSee-6.3_GH0.tar.gz) = 0650ac670b8beeba14e05c7b04dc60d4aa9f610dd6d4dd0a5507632a07602990
-SIZE (tumic0-GPXSee-6.3_GH0.tar.gz) = 3861093
+TIMESTAMP = 1544291375
+SHA256 (tumic0-GPXSee-7.0_GH0.tar.gz) = 6df9cb128f022b2f0be39387d00bf69c08e7d1b758e991d346c73831aa23ff9f
+SIZE (tumic0-GPXSee-7.0_GH0.tar.gz) = 3868832
diff --git a/graphics/gpxsee/pkg-plist b/graphics/gpxsee/pkg-plist
index 155060edb013..f27592291bdf 100644
--- a/graphics/gpxsee/pkg-plist
+++ b/graphics/gpxsee/pkg-plist
@@ -18,5 +18,7 @@ share/applications/gpxsee.desktop
%%NLS%%%%DATADIR%%/translations/gpxsee_pl.qm
%%NLS%%%%DATADIR%%/translations/gpxsee_ru.qm
%%NLS%%%%DATADIR%%/translations/gpxsee_sv.qm
+%%NLS%%%%DATADIR%%/translations/gpxsee_tr.qm
+share/metainfo/gpxsee.appdata.xml
share/mime/packages/gpxsee.xml
share/pixmaps/gpxsee.png