summaryrefslogtreecommitdiffstats
path: root/gis/gdal/gdal.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/gdal/gdal.SlackBuild')
-rw-r--r--gis/gdal/gdal.SlackBuild29
1 files changed, 15 insertions, 14 deletions
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index 7b3cbf8bf3..6f82517550 100644
--- a/gis/gdal/gdal.SlackBuild
+++ b/gis/gdal/gdal.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2009 Marco Cecchetti <mrc.ild@gmail.com>
# Updated 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Updated 2021 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gdal
-VERSION=${VERSION:-3.3.0}
+VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -88,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,
@@ -115,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!)
@@ -130,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 \
@@ -157,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