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>
This commit is contained in:
ArTourter 2021-11-10 00:25:50 +00:00 committed by Willy Sudiarto Raharjo
parent f403ee5da1
commit 9ae661cefa
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 17 additions and 17 deletions

View File

@ -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

View File

@ -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"