summaryrefslogtreecommitdiff
path: root/gis/gpxsee
diff options
context:
space:
mode:
Diffstat (limited to 'gis/gpxsee')
-rw-r--r--gis/gpxsee/fix_font_narrow_space.diff6
-rw-r--r--gis/gpxsee/gpxsee.SlackBuild26
-rw-r--r--gis/gpxsee/gpxsee.info6
3 files changed, 15 insertions, 23 deletions
diff --git a/gis/gpxsee/fix_font_narrow_space.diff b/gis/gpxsee/fix_font_narrow_space.diff
index c25fb9abce..ccba5d6f5b 100644
--- a/gis/gpxsee/fix_font_narrow_space.diff
+++ b/gis/gpxsee/fix_font_narrow_space.diff
@@ -1,6 +1,6 @@
-diff -Naur GPXSee-6.3.orig/src/GUI/units.h GPXSee-6.3/src/GUI/units.h
---- GPXSee-6.3.orig/src/GUI/units.h 2018-03-20 00:40:49.000000000 +0300
-+++ GPXSee-6.3/src/GUI/units.h 2018-04-08 20:17:44.008003642 +0300
+diff -Naur GPXSee-7.0.orig/src/GUI/units.h GPXSee-7.0/src/GUI/units.h
+--- GPXSee-7.0.orig/src/GUI/units.h 2018-12-08 21:09:23.510215182 +0300
++++ GPXSee-7.0/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 e99578cde9..da7a039ba5 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:-6.3}
+VERSION=${VERSION:-7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,22 +80,14 @@ qmake-qt5 \
gpxsee.pro
make
-install -d -m 0755 $PKG/usr/bin
-install -d -m 0755 $PKG/usr/share/applications
-install -d -m 0755 $PKG/usr/share/pixmaps
-install -d -m 0755 $PKG/usr/share/mime/packages
-install -d -m 0755 $PKG/usr/share/$PRGNAM
-install -d -m 0755 $PKG/usr/share/$PRGNAM/maps
-install -d -m 0755 $PKG/usr/share/$PRGNAM/csv
-install -d -m 0755 $PKG/usr/share/$PRGNAM/translations
-
-install -m 0755 GPXSee $PKG/usr/bin/$PRGNAM
-install -m 0644 pkg/maps/* $PKG/usr/share/$PRGNAM/maps
-install -m 0644 pkg/csv/* $PKG/usr/share/$PRGNAM/csv
-install -m 0644 lang/*.qm $PKG/usr/share/$PRGNAM/translations
-install -m 0644 icons/gpxsee.png $PKG/usr/share/pixmaps/$PRGNAM.png
-install -m 0644 pkg/gpxsee.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-install -m 0644 pkg/gpxsee.xml $PKG/usr/share/mime/packages/$PRGNAM.xml
+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
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 4ccc34e318..433c5d5f95 100644
--- a/gis/gpxsee/gpxsee.info
+++ b/gis/gpxsee/gpxsee.info
@@ -1,8 +1,8 @@
PRGNAM="gpxsee"
-VERSION="6.3"
+VERSION="7.0"
HOMEPAGE="https://www.gpxsee.org/"
-DOWNLOAD="https://github.com/tumic0/GPXSee/archive/6.3/GPXSee-6.3.tar.gz"
-MD5SUM="7faafa528c4283793020344c6b185b28"
+DOWNLOAD="https://github.com/tumic0/GPXSee/archive/7.0/GPXSee-7.0.tar.gz"
+MD5SUM="f0d91ce0f2f723f9a844ee4227b4ad50"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"