diff options
author | ArTourter <artourter@gmail.com> | 2021-11-10 00:25:50 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-11-10 08:28:48 +0700 |
commit | 9ae661cefa619707b1c5dbea38599b789e3e58f3 (patch) | |
tree | 8978cc601e8b0ec7f61423ab1e64bcf493d329f0 /gis/gdal/gdal.SlackBuild | |
parent | f403ee5da1fb8d05a224fa83d7e121b0adf100c8 (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/gdal/gdal.SlackBuild')
-rw-r--r-- | gis/gdal/gdal.SlackBuild | 28 |
1 files changed, 14 insertions, 14 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 |