gis/gpsbabel: Updated for version 1.9.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 2024-01-14 19:12:53 -06:00 committed by Willy Sudiarto Raharjo
parent 99d6be0343
commit 128e260a17
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 14 additions and 14 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for gpsbabel
# Copyright 2017-2022 Kyle Guinn <elyk03@gmail.com>
# Copyright 2017-2024 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gpsbabel
VERSION=${VERSION:-1.8.0}
VERSION=${VERSION:-1.9.0}
SRCVER=${PRGNAM}_$(echo ${VERSION} | tr . _)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -48,7 +48,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING README*"
DOCS="AUTHORS COPYING README* SECURITY.md"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@ -87,17 +87,17 @@ sed -i \
# 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
qmake-qt5 \
WITH_LIBUSB=pkgconfig \
WITH_ZLIB=pkgconfig \
QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \
QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \
cmake \
-DGPSBABEL_WITH_LIBUSB=pkgconfig \
-DGPSBABEL_WITH_ZLIB=pkgconfig \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
.
make
make gui
install -D -m0755 -s gpsbabel $PKG/usr/bin/gpsbabel
install -D -m0755 -s gui/objects/gpsbabelfe $PKG/usr/bin/gpsbabelfe
install -D -m0755 -s gui/GPSBabelFE/gpsbabelfe $PKG/usr/bin/gpsbabelfe
install -D -m0644 gui/gpsbabel.desktop $PKG/usr/share/applications/gpsbabel.desktop
install -D -m0644 gui/images/appicon.png $PKG/usr/share/icons/hicolor/512x512/apps/gpsbabel.png

View file

@ -1,8 +1,8 @@
PRGNAM="gpsbabel"
VERSION="1.8.0"
VERSION="1.9.0"
HOMEPAGE="https://www.gpsbabel.org/"
DOWNLOAD="https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_1_8_0/gpsbabel-gpsbabel_1_8_0.tar.gz"
MD5SUM="00d09b95a05d85622d38de5b0963e2bc"
DOWNLOAD="https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_1_9_0/gpsbabel-gpsbabel_1_9_0.tar.gz"
MD5SUM="8555b7b4c89fbae832451ed0679e04f0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""