aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2024-01-14 19:19:48 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-15 07:52:13 +0700
commitbcd0cf8d5a1a4311884a812444cdf55152197e54 (patch)
tree01016b414ba8a5e24627ccab9444882279a357e9 /gis
parent06768dc13079507d52a4ce3a3c6382036293e6ec (diff)
gis/gdal: Updated for version 3.8.3.
New list of required packages Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/gdal/README6
-rw-r--r--gis/gdal/gdal.SlackBuild59
-rw-r--r--gis/gdal/gdal.info8
3 files changed, 59 insertions, 14 deletions
diff --git a/gis/gdal/README b/gis/gdal/README
index 296eb8edf3df1..ba3dc22097868 100644
--- a/gis/gdal/README
+++ b/gis/gdal/README
@@ -10,8 +10,7 @@ provides a similar capability for simple features vector data.
The following optional requirements are detected automatically:
- freexl, hdf, hdf5, libkml, netcdf, postgresql, xerces-c,
- libspatialite, SFCGAL, libheif
+ hdf, postgresql, SFCGAL, libheif
To enable OpenCL GPU-accelerated performance, specify the option
OPENCL=yes (requires either nvidia-driver or amd-app-sdk with
@@ -22,4 +21,5 @@ 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.
+part. Tests are only present for the java bindings to this options does
+nothing is the java bindings are not build.
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index 46df274045d94..e9cf56fd4f453 100644
--- a/gis/gdal/gdal.SlackBuild
+++ b/gis/gdal/gdal.SlackBuild
@@ -5,7 +5,7 @@
# Copyright 2009 Marco Cecchetti <mrc.ild@gmail.com>
# Copyright 2010-2018 David Spencer <baildon.research@googlemail.com>
# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2021-2023 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2021-2024 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gdal
-VERSION=${VERSION:-3.7.3}
+VERSION=${VERSION:-3.8.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -42,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -90,6 +87,8 @@ WITHLIST=""
# Request OpenCL support:
if [ ${OPENCL:-no} = "yes" ]; then
WITHLIST+=" -DGDAL_USE_OPENCL=ON"
+else
+ WITHLIST+=" -DGDAL_USE_OPENCL=OFF"
fi
# Build JAVA bindings:
@@ -111,9 +110,55 @@ mkdir build
-DCMAKE_INSTALL_MANDIR=man \
-DCMAKE_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
-DBUILD_CSHARP_BINDINGS:BOOL=OFF \
+ -DBUILD_PYTHON_BINDINGS:BOOL=ON \
-DBUILD_SHARED_LIBS:BOOL=ON \
- -DGDAL_USE_GEOTIFF_INTERNAL=ON \
- -DGDAL_USE_TIFF_INTERNAL=ON \
+ -DGDAL_USE_ARCHIVE:BOOL=ON \
+ -DGDAL_USE_CFITSIO:BOOL=ON \
+ -DGDAL_USE_CRYPTOPP:BOOL=ON \
+ -DGDAL_USE_CURL:BOOL=ON \
+ -DGDAL_USE_EXPAT:BOOL=ON \
+ -DGDAL_USE_EXTERNAL_LIBS:BOOL=ON \
+ -DGDAL_USE_FREEXL:BOOL=ON \
+ -DGDAL_USE_GEOS:BOOL=ON \
+ -DGDAL_USE_GEOTIFF:BOOL=ON \
+ -DGDAL_USE_GEOTIFF_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_GIF:BOOL=ON \
+ -DGDAL_USE_GIF_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_HDF5:BOOL=ON \
+ -DGDAL_USE_ICONV:BOOL=ON \
+ -DGDAL_USE_JPEG:BOOL=ON \
+ -DGDAL_USE_JPEG12_INTERNAL:BOOL=ON \
+ -DGDAL_USE_JPEG_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_JSONC:BOOL=ON \
+ -DGDAL_USE_JSONC_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_LERC_INTERNAL:BOOL=ON \
+ -DGDAL_USE_LIBAEC:BOOL=ON \
+ -DGDAL_USE_LIBLZMA:BOOL=ON \
+ -DGDAL_USE_LIBXML2:BOOL=ON \
+ -DGDAL_USE_LZ4:BOOL=ON \
+ -DGDAL_USE_MYSQL:BOOL=ON \
+ -DGDAL_USE_NETCDF:BOOL=ON \
+ -DGDAL_USE_OPENCAD_INTERNAL:BOOL=ON \
+ -DGDAL_USE_OPENEXR:BOOL=ON \
+ -DGDAL_USE_OPENJPEG:BOOL=ON \
+ -DGDAL_USE_OPENSSL:BOOL=ON \
+ -DGDAL_USE_PCRE2:BOOL=ON \
+ -DGDAL_USE_PNG:BOOL=ON \
+ -DGDAL_USE_PNG_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_PODOFO:BOOL=ON \
+ -DGDAL_USE_POPPLER:BOOL=ON \
+ -DGDAL_USE_PUBLICDECOMPWT:BOOL=OFF \
+ -DGDAL_USE_QHULL_INTERNAL:BOOL=ON \
+ -DGDAL_USE_SHAPELIB_INTERNAL:BOOL=ON \
+ -DGDAL_USE_SPATIALITE:BOOL=ON \
+ -DGDAL_USE_SQLITE3:BOOL=ON \
+ -DGDAL_USE_TIFF:BOOL=ON \
+ -DGDAL_USE_TIFF_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_WEBP:BOOL=ON \
+ -DGDAL_USE_XERCESC:BOOL=ON \
+ -DGDAL_USE_ZLIB:BOOL=ON \
+ -DGDAL_USE_ZLIB_INTERNAL:BOOL=OFF \
+ -DGDAL_USE_ZSTD:BOOL=ON \
$WITHLIST \
$TESTBUILDFLAGS \
-DCMAKE_BUILD_TYPE=Release \
diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info
index 5b5bdba6e3a56..4536992281258 100644
--- a/gis/gdal/gdal.info
+++ b/gis/gdal/gdal.info
@@ -1,10 +1,10 @@
PRGNAM="gdal"
-VERSION="3.7.3"
+VERSION="3.8.3"
HOMEPAGE="https://www.gdal.org/"
-DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.7.3/gdal-3.7.3.tar.gz"
-MD5SUM="adbb5cf3eb44767e05a5ef673bbde33f"
+DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.8.3/gdal-3.8.3.tar.gz"
+MD5SUM="011c1052acffb5f1ac59a9c1f819bbd5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="geos proj"
+REQUIRES="xerces-c libkml netcdf libspatialite podofo libgeotiff"
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"