summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2021-01-01 22:23:09 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 14:30:47 +0700
commit223db7888cfe01c475f96c0531b5b954d6333ebf (patch)
tree8e22c9be3c6b0900f598580651700301266880f5
parenta90f94936855d8dd12c084ac68955c8bea7d9053 (diff)
downloadslackbuilds-223db7888cfe01c475f96c0531b5b954d6333ebf.tar.gz
gis/gpsbabel: Updated for version 1.7.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--gis/gpsbabel/gpsbabel.SlackBuild7
-rw-r--r--gis/gpsbabel/gpsbabel.info6
2 files changed, 6 insertions, 7 deletions
diff --git a/gis/gpsbabel/gpsbabel.SlackBuild b/gis/gpsbabel/gpsbabel.SlackBuild
index 3caa41f120..7069748f58 100644
--- a/gis/gpsbabel/gpsbabel.SlackBuild
+++ b/gis/gpsbabel/gpsbabel.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gpsbabel
-# Copyright 2017-2019 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2017-2021 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gpsbabel
-VERSION=${VERSION:-1.6.0}
+VERSION=${VERSION:-1.7.0}
SRCVER=${PRGNAM}_$(echo ${VERSION} | tr . _)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -85,8 +85,7 @@ sed -i \
sed -i 's|langPath_ = QApplication::applicationDirPath();|langPath_ = "/usr/share/gpsbabel";|' gui/mainwindow.cc
sed -i 's|baseFile = QApplication::applicationDirPath() + "/gmapbase.html";|baseFile = "/usr/share/gpsbabel/gmapbase.html";|' gui/map.cc
-# Fix the .desktop file and icon. Thanks to Arch.
-sed -i 's|gpsbabelfe-bin|gpsbabelfe|' gui/gpsbabel.desktop
+# Resize the icon from 500x476 to 512x512. Thanks to Arch.
convert gui/images/appicon.png +set date:create +set date:modify -background none -gravity center -extent 512x512 gui/images/appicon.png
./configure \
diff --git a/gis/gpsbabel/gpsbabel.info b/gis/gpsbabel/gpsbabel.info
index d8cec64019..4e5ebfcbe3 100644
--- a/gis/gpsbabel/gpsbabel.info
+++ b/gis/gpsbabel/gpsbabel.info
@@ -1,8 +1,8 @@
PRGNAM="gpsbabel"
-VERSION="1.6.0"
+VERSION="1.7.0"
HOMEPAGE="https://www.gpsbabel.org/"
-DOWNLOAD="https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_1_6_0/gpsbabel-gpsbabel_1_6_0.tar.gz"
-MD5SUM="accb9f923ebe1b2d2a00c67d0e1dc430"
+DOWNLOAD="https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_1_7_0/gpsbabel-gpsbabel_1_7_0.tar.gz"
+MD5SUM="80a7d3455c741e1298b2fbce93bb6072"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libminizip qt5"