aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorGiancarlo Dessi <slack@giand.it>2023-12-22 06:44:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-12-24 19:16:41 +0700
commit4e7bf329216b141e624d5119ed464c228b1c7d70 (patch)
treede7dde6724914411687f331117b8fef98f20cc67 /gis
parentefb500ba2e6aa4122a35f5f7c848ad43a74f3b3e (diff)
gis/saga-gis: Updated for version 9.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/saga-gis/saga-gis.SlackBuild12
-rw-r--r--gis/saga-gis/saga-gis.info6
2 files changed, 13 insertions, 5 deletions
diff --git a/gis/saga-gis/saga-gis.SlackBuild b/gis/saga-gis/saga-gis.SlackBuild
index 9a9734a4a598..6906f375279b 100644
--- a/gis/saga-gis/saga-gis.SlackBuild
+++ b/gis/saga-gis/saga-gis.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=saga-gis
-VERSION=${VERSION:-9.2.0}
+VERSION=${VERSION:-9.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,13 @@ if [[ "$ARCH" = "i586" || "$ARCH" = "i686" ]] ; then
fi
fi
+if [ -d /usr/share/cmake-3.28 ]; then
+ # This prevents some cmake warnings in current
+ CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0153=OLD "
+else
+ CMAKE_POLICY=""
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -102,8 +109,9 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_MANDIR=/usr/man \
+ $CMAKE_POLICY \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ make -j 10
make install/strip DESTDIR=$PKG
cd ..
diff --git a/gis/saga-gis/saga-gis.info b/gis/saga-gis/saga-gis.info
index d70ae14491a9..ba33f548ced9 100644
--- a/gis/saga-gis/saga-gis.info
+++ b/gis/saga-gis/saga-gis.info
@@ -1,8 +1,8 @@
PRGNAM="saga-gis"
-VERSION="9.2.0"
+VERSION="9.3.0"
HOMEPAGE="http://www.saga-gis.org"
-DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.2.0/saga-9.2.0.tar.gz/download"
-MD5SUM="ddb4bdba4765ac749fe6877bb66bc0ef"
+DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.3.0/saga-9.3.0.tar.gz/download"
+MD5SUM="40f31791bfc1ea2fe65fb419e96a3325"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxWidgets"