From ed4e476ca5ef21c75d5ea20dcd2170de241e5613 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Thu, 11 May 2017 21:01:36 +0100 Subject: gis/gdal: Updated for version 2.2.0. Thanks to Ben Trigona-Harany :) Signed-off-by: David Spencer --- gis/gdal/README | 4 +++- gis/gdal/gdal.SlackBuild | 11 +++-------- gis/gdal/gdal.info | 6 +++--- 3 files changed, 9 insertions(+), 12 deletions(-) (limited to 'gis') diff --git a/gis/gdal/README b/gis/gdal/README index 33a4894063..064469fb17 100644 --- a/gis/gdal/README +++ b/gis/gdal/README @@ -9,7 +9,9 @@ The related OGR library (which is part of the GDAL source tree) provides a similar capability for simple features vector data. The following optional requirements are detected automatically: -cfitsio, freexl, hdf, hdf5, libwebp, netcdf, postgresql, xerces-c + + cfitsio, freexl, hdf, hdf5, libkml, libwebp, netcdf, + postgresql, xerces-c To enable OpenCL GPU-accelerated performance, specify the option OPENCL=yes (requires opencl-headers to build, and either nvidia-driver diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild index d6e640039e..1a47ea60cd 100644 --- a/gis/gdal/gdal.SlackBuild +++ b/gis/gdal/gdal.SlackBuild @@ -25,7 +25,7 @@ # Maintained by David Spencer PRGNAM=gdal -VERSION=${VERSION:-2.1.3} +VERSION=${VERSION:-2.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -124,7 +124,6 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-static=no \ --with-threads \ --with-geos=yes \ - --with-ogr=yes \ --with-libz=/usr/lib${LIBDIRSUFFIX} \ --with-liblzma \ --with-curl=/usr/bin/curl-config \ @@ -137,22 +136,18 @@ CXXFLAGS="$SLKCFLAGS" \ --with-rename-internal-libtiff-symbols=yes \ --with-geotiff=internal \ --with-rename-internal-libgeotiff-symbols=yes \ + --with-jasper=no \ $WITHLIST \ --build=$ARCH-slackware-linux -make -j1 +make make install DESTDIR=$PKG -# Kill erroneously installed .dox files -rm $PKG/usr/bin/*.dox - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true make -f GNUmakefile -B man make install-man DESTDIR=$PKG -# smite some junk files -rm -f $PKG/usr/man/man1/_*_.1 find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info index d26d44b02e..ece92e7d80 100644 --- a/gis/gdal/gdal.info +++ b/gis/gdal/gdal.info @@ -1,8 +1,8 @@ PRGNAM="gdal" -VERSION="2.1.3" +VERSION="2.2.0" HOMEPAGE="http://www.gdal.org/" -DOWNLOAD="http://download.osgeo.org/gdal/2.1.3/gdal-2.1.3.tar.xz" -MD5SUM="66f36c08b7ec6d31bda99083f179d183" +DOWNLOAD="http://download.osgeo.org/gdal/2.2.0/gdal-2.2.0.tar.xz" +MD5SUM="9bb6eb25fb746045ee309c4f883cbf94" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="geos proj" -- cgit v1.2.3