aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2022-07-08 17:33:07 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-09 10:06:14 +0700
commit0d022089036ce46b186e8793b84de64d4ba5f63f (patch)
tree00472be25978b1616e2cd574988953462ce0613f /gis
parent3e8057147f7fd0de4edddd9c0d4ecdce531a0abc (diff)
gis/gdal: Updated for version 3.5.1.
- disable build testing by default - add flag to build testing components and run make test Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/gdal/README4
-rw-r--r--gis/gdal/gdal.SlackBuild8
-rw-r--r--gis/gdal/gdal.info6
3 files changed, 14 insertions, 4 deletions
diff --git a/gis/gdal/README b/gis/gdal/README
index 1c419449499b..296eb8edf3df 100644
--- a/gis/gdal/README
+++ b/gis/gdal/README
@@ -19,3 +19,7 @@ suitable GPU hardware to run).
To build JAVA bindings, specify JAVA=yes (it requires a java JDK and
ant).
+
+By default, the script does not build nor run the tests. You can use the
+option TESTBUILD=YES to build and run the tests before the make install
+part.
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index 73bf7dd379ed..f1bc0a03d340 100644
--- a/gis/gdal/gdal.SlackBuild
+++ b/gis/gdal/gdal.SlackBuild
@@ -29,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gdal
-VERSION=${VERSION:-3.5.0}
+VERSION=${VERSION:-3.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,6 +70,10 @@ fi
set -e
+if [[ ${TESTBUILD:='NO'} == 'NO' ]]; then
+ TESTBUILDFLAGS='-DBUILD_TESTING=OFF'
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -115,9 +119,11 @@ mkdir build
-DGDAL_USE_GEOTIFF_INTERNAL=ON \
-DGDAL_USE_TIFF_INTERNAL=ON \
$WITHLIST \
+ $TESTBUILDFLAGS \
-DCMAKE_BUILD_TYPE=Release \
..
make
+ [[ $TESTBUILD == "YES" ]] && make test
make install/strip DESTDIR=$PKG
)
diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info
index 19a3d1be3410..dad7c3e41c53 100644
--- a/gis/gdal/gdal.info
+++ b/gis/gdal/gdal.info
@@ -1,8 +1,8 @@
PRGNAM="gdal"
-VERSION="3.5.0"
+VERSION="3.5.1"
HOMEPAGE="https://www.gdal.org/"
-DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.5.0/gdal-3.5.0.tar.gz"
-MD5SUM="1df31a62405e33eacceddf53a81fc136"
+DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.5.1/gdal-3.5.1.tar.gz"
+MD5SUM="90ec67df8648e36795937c07406815ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="geos proj"