diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild index 233fa602b6..88c092525d 100644 --- a/gis/mapnik/mapnik.SlackBuild +++ b/gis/mapnik/mapnik.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mapnik -VERSION=${VERSION:-3.0.19} +VERSION=${VERSION:-3.0.20} VARIANT=1.1.5 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,6 +65,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +# support build with current +if [[ `icu-config --version` =~ ^61 ]] ; then + CUSTOM_DEFINES=-DU_USING_ICU_NAMESPACE=1 +fi + # mapnik needs files from git submodule cd deps/mapbox tar xvf $CWD/variant-$VARIANT.tar.gz -C variant --strip-components 1 @@ -87,6 +92,7 @@ find -L . \ LIBDIR_SCHEMA=lib$LIBDIRSUFFIX \ SYSTEM_FONTS=/usr/share/fonts \ INPUT_PLUGINS=sqlite,ogr,shape,geojson,gdal,pgraster,raster,topojson,postgis,csv \ + CUSTOM_DEFINES="$CUSTOM_DEFINES" \ DESTDIR=$PKG make install diff --git a/gis/mapnik/mapnik.info b/gis/mapnik/mapnik.info index 24c1d8806e..5c79cd1c2f 100644 --- a/gis/mapnik/mapnik.info +++ b/gis/mapnik/mapnik.info @@ -1,9 +1,9 @@ PRGNAM="mapnik" -VERSION="3.0.19" +VERSION="3.0.20" HOMEPAGE="http://mapnik.org" -DOWNLOAD="https://github.com/mapnik/mapnik/archive/v3.0.19/mapnik-3.0.19.tar.gz \ +DOWNLOAD="https://github.com/mapnik/mapnik/archive/v3.0.20/mapnik-3.0.20.tar.gz \ https://github.com/mapbox/variant/archive/v1.1.5/variant-1.1.5.tar.gz" -MD5SUM="6843eea05e7a6681217d024d5792182b \ +MD5SUM="2f319288e2ed89e0972fd5cc0389a397 \ efeccaf1adb1da180983445020275c9c" DOWNLOAD_x86_64="" MD5SUM_x86_64=""