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>
This commit is contained in:
Kyle Guinn 2021-01-01 22:23:09 -06:00 committed by Willy Sudiarto Raharjo
parent a90f949368
commit 223db7888c
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 6 additions and 7 deletions

View File

@ -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 \

View File

@ -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"