aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2021-11-10 00:25:50 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-11-10 08:28:48 +0700
commit9ae661cefa619707b1c5dbea38599b789e3e58f3 (patch)
tree8978cc601e8b0ec7f61423ab1e64bcf493d329f0 /gis
parentf403ee5da1fb8d05a224fa83d7e121b0adf100c8 (diff)
gis/gdal: Updated for version 3.4.0
- Shared library .so-version bump. - Removed explicit disabling of grib driver since the syntax was changed in version 3.0 and grib driver was compiled in since. - Removed explicit path of enabled features since they are detected automatically correctly. 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/gdal.SlackBuild28
-rw-r--r--gis/gdal/gdal.info6
2 files changed, 17 insertions, 17 deletions
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index 5145d7caafda3..6f8251755040f 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.3.3}
+VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -89,17 +89,17 @@ WITHLIST=""
# Request OpenCL support:
if [ ${OPENCL:-no} = "yes" ]; then
- WITHLIST+=" --with-opencl"
+ WITHLIST+=" --with-opencl=yes"
fi
# Request webp support if it's installed:
if pkg-config --exists libwebp; then
- WITHLIST+=" --with-webp"
+ WITHLIST+=" --with-webp=yes"
fi
# Spatialite support if package is installed:
if pkg-config --exists spatialite; then
- WITHLIST+=" --with-spatialite"
+ WITHLIST+=" --with-spatialite=yes"
fi
# Also, enabling Grass support in gdal introduces a circular dependency,
@@ -116,7 +116,7 @@ fi
if [ ${JPEG12:-no} = "yes" ]; then
WITHLIST+=" --with-jpeg=internal"
else
- WITHLIST+=" --with-jpeg=/usr/lib${LIBDIRSUFFIX}"
+ WITHLIST+=" --with-jpeg=yes"
fi
# The CPPFLAGS are for the newer mariadb (thanks pprkut!)
@@ -131,17 +131,17 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
- --with-threads \
+ --with-threads=yes \
+ --with-cpp14=yes \
+ --with-bash-completion \
--with-geos=yes \
- --with-libz=/usr/lib${LIBDIRSUFFIX} \
- --with-liblzma \
- --with-curl=/usr/bin/curl-config \
+ --with-libz=yes \
+ --with-liblzma=yes \
+ --with-curl=yes \
--with-crypto=yes \
- --without-grib \
- --with-static-proj4 \
- --with-mysql \
+ --with-mysql=yes \
--with-python=/usr/bin/python3 \
- --with-poppler \
+ --with-poppler=yes \
--with-libtiff=internal \
--with-rename-internal-libtiff-symbols=yes \
--with-geotiff=internal \
@@ -158,7 +158,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COMMITTERS HOWTO-RELEASE LICENSE.TXT NEWS PROVENANCE.TXT VERSION \
+ COMMITTERS HOWTO-RELEASE LICENSE.TXT MIGRATION_GUIDE.TXT NEWS.md PROVENANCE.TXT VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info
index ef9c002614553..2bbc414916649 100644
--- a/gis/gdal/gdal.info
+++ b/gis/gdal/gdal.info
@@ -1,8 +1,8 @@
PRGNAM="gdal"
-VERSION="3.3.3"
+VERSION="3.4.0"
HOMEPAGE="https://www.gdal.org/"
-DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.3.3/gdal-3.3.3.tar.gz"
-MD5SUM="1d8571b7ad1546d95e6493be77fd49a8"
+DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.4.0/gdal-3.4.0.tar.gz"
+MD5SUM="7bb27b9e20dbf6369669d8dfd42e02a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="geos proj"