summaryrefslogtreecommitdiffstats
path: root/gis/gpsbabel/gpsbabel.SlackBuild
diff options
context:
space:
mode:
author Kyle Guinn2021-01-02 05:23:09 +0100
committer Willy Sudiarto Raharjo2021-01-09 08:30:47 +0100
commit223db7888cfe01c475f96c0531b5b954d6333ebf (patch)
tree8e22c9be3c6b0900f598580651700301266880f5 /gis/gpsbabel/gpsbabel.SlackBuild
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>
Diffstat (limited to 'gis/gpsbabel/gpsbabel.SlackBuild')
-rw-r--r--gis/gpsbabel/gpsbabel.SlackBuild7
1 files changed, 3 insertions, 4 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 \