summaryrefslogtreecommitdiff
path: root/gis/gpxsee
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@gmail.com>2019-02-01 00:57:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-01 00:57:48 +0700
commit297da62c95a66af8d9cc40e017231fd921a4607f (patch)
tree265e0afadef0c36040df5f83acfa57dbebfe5007 /gis/gpxsee
parent2166f36d3869acf7db926dda20d95935bcee6a4a (diff)
downloadslackbuilds-297da62c95a66af8d9cc40e017231fd921a4607f.tar.gz
gis/gpxsee: Updated for version 7.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/gpxsee')
-rw-r--r--gis/gpxsee/README2
-rw-r--r--gis/gpxsee/fix_font_narrow_space.diff6
-rw-r--r--gis/gpxsee/gpxsee.SlackBuild14
-rw-r--r--gis/gpxsee/gpxsee.info6
-rw-r--r--gis/gpxsee/slack-desc2
5 files changed, 11 insertions, 19 deletions
diff --git a/gis/gpxsee/README b/gis/gpxsee/README
index c3408ed909..4e0fa74a19 100644
--- a/gis/gpxsee/README
+++ b/gis/gpxsee/README
@@ -1,2 +1,2 @@
GPXSee is a Qt-based GPS log file viewer and analyzer that supports
-GPX, TCX, KML, FIT, IGC, NMEA, SLF, LOC and OziExplorer files.
+all common GPS log file formats.
diff --git a/gis/gpxsee/fix_font_narrow_space.diff b/gis/gpxsee/fix_font_narrow_space.diff
index 015e46d145..12489b4c1c 100644
--- a/gis/gpxsee/fix_font_narrow_space.diff
+++ b/gis/gpxsee/fix_font_narrow_space.diff
@@ -1,6 +1,6 @@
-diff -Naur GPXSee-7.1.orig/src/GUI/units.h GPXSee-7.1/src/GUI/units.h
---- GPXSee-7.1.orig/src/GUI/units.h 2018-12-08 21:09:23.510215182 +0300
-+++ GPXSee-7.1/src/GUI/units.h 2018-12-08 21:10:17.907437326 +0300
+diff -Naur GPXSee-7.2.orig/src/GUI/units.h GPXSee-7.2/src/GUI/units.h
+--- GPXSee-7.2.orig/src/GUI/units.h 2018-12-08 21:09:23.510215182 +0300
++++ GPXSee-7.2/src/GUI/units.h 2018-12-08 21:10:17.907437326 +0300
@@ -30,6 +30,6 @@
#define C2FS 1.8 // Celsius to Farenheit - scale
#define C2FO 32.0 // Celsius to Farenheit - offset
diff --git a/gis/gpxsee/gpxsee.SlackBuild b/gis/gpxsee/gpxsee.SlackBuild
index 52479290b1..88c78bc412 100644
--- a/gis/gpxsee/gpxsee.SlackBuild
+++ b/gis/gpxsee/gpxsee.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gpxsee
-VERSION=${VERSION:-7.1}
+VERSION=${VERSION:-7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,19 +75,11 @@ patch -p1 < $CWD/fix_font_narrow_space.diff
lrelease-qt5 gpxsee.pro
qmake-qt5 \
+ PREFIX="/usr" \
QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
gpxsee.pro
-make
-
-install -Dm0755 GPXSee $PKG/usr/bin/$PRGNAM
-install -Dm0644 pkg/csv/* -t $PKG/usr/share/$PRGNAM/csv
-install -Dm0644 pkg/maps/* -t $PKG/usr/share/$PRGNAM/maps
-install -Dm0644 lang/*.qm -t $PKG/usr/share/$PRGNAM/translations
-install -Dm0644 icons/gpxsee.png $PKG/usr/share/pixmaps/$PRGNAM.png
-install -Dm0644 pkg/gpxsee.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-install -Dm0644 pkg/gpxsee.xml $PKG/usr/share/mime/packages/$PRGNAM.xml
-install -Dm0644 pkg/appdata.xml $PKG/usr/share/appdata/$PRGNAM.appdata.xml
+make && make INSTALL_ROOT="$PKG" install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/gis/gpxsee/gpxsee.info b/gis/gpxsee/gpxsee.info
index b3f0aa97ea..6cb59693bb 100644
--- a/gis/gpxsee/gpxsee.info
+++ b/gis/gpxsee/gpxsee.info
@@ -1,8 +1,8 @@
PRGNAM="gpxsee"
-VERSION="7.1"
+VERSION="7.2"
HOMEPAGE="https://www.gpxsee.org/"
-DOWNLOAD="https://github.com/tumic0/GPXSee/archive/7.1/GPXSee-7.1.tar.gz"
-MD5SUM="d83da3966601b81b303f27403d543e08"
+DOWNLOAD="https://github.com/tumic0/GPXSee/archive/7.2/GPXSee-7.2.tar.gz"
+MD5SUM="05184a51b759240e021682b027b5dd99"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"
diff --git a/gis/gpxsee/slack-desc b/gis/gpxsee/slack-desc
index 672ffde910..76e6459cd1 100644
--- a/gis/gpxsee/slack-desc
+++ b/gis/gpxsee/slack-desc
@@ -9,7 +9,7 @@
gpxsee: gpxsee (GPS log file viewer and analyzer)
gpxsee:
gpxsee: GPXSee is a Qt-based GPS log file viewer and analyzer that supports
-gpxsee: GPX, TCX, KML, FIT, IGC, NMEA, SLF, LOC and OziExplorer files.
+gpxsee: all common GPS log file formats.
gpxsee:
gpxsee:
gpxsee: