aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2024-01-14 19:12:53 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-20 09:16:26 +0700
commit128e260a172f01209d9ca7869ec562b11537a85d (patch)
treeda8b4dc3a57c3a9e7b3d3dfdcd358d64bec21c9f
parent99d6be0343b8b02f4882cb5f064ec7a92a7ac97d (diff)
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>
-rw-r--r--gis/gpsbabel/gpsbabel.SlackBuild22
-rw-r--r--gis/gpsbabel/gpsbabel.info6
2 files changed, 14 insertions, 14 deletions
diff --git a/gis/gpsbabel/gpsbabel.SlackBuild b/gis/gpsbabel/gpsbabel.SlackBuild
index f6f4ab99033ef..1a31df9ad0fc8 100644
--- a/gis/gpsbabel/gpsbabel.SlackBuild
+++ b/gis/gpsbabel/gpsbabel.SlackBuild
@@ -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
diff --git a/gis/gpsbabel/gpsbabel.info b/gis/gpsbabel/gpsbabel.info
index 6b03daff1d64a..dc5540f63673a 100644
--- a/gis/gpsbabel/gpsbabel.info
+++ b/gis/gpsbabel/gpsbabel.info
@@ -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=""