summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-04-18 12:48:50 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-21 07:43:05 +0700
commitb971acee50e886b226de9214add2be55b3b6be4f (patch)
treef45357ef58a90d1842a0d0c5d6c8604891c8936e
parent96f26446a111f2dd13e7f2ff8443708d43596cad (diff)
downloadslackbuilds-b971acee50e886b226de9214add2be55b3b6be4f.tar.gz
gis/mapnik: Updated for version 3.0.20.
-rw-r--r--gis/mapnik/mapnik.SlackBuild8
-rw-r--r--gis/mapnik/mapnik.info6
2 files changed, 10 insertions, 4 deletions
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=""