aboutsummaryrefslogtreecommitdiff
path: root/gis/mapnik
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2021-04-18 02:03:31 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-18 02:00:31 -0500
commit65a319aeed41f6bc9438138b900a0aacefa4f087 (patch)
tree7aa83eb2c7e473cf4e57c8f5cfe23df06e3be960 /gis/mapnik
parentdc5a685498a894b5d1294ee8ecc02d58e466aaa3 (diff)
gis/mapnik: Updated for version 3.1.0.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis/mapnik')
-rw-r--r--gis/mapnik/mapnik.SlackBuild10
-rw-r--r--gis/mapnik/mapnik.info10
2 files changed, 10 insertions, 10 deletions
diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild
index f72a0c8034e2..04828891ce21 100644
--- a/gis/mapnik/mapnik.SlackBuild
+++ b/gis/mapnik/mapnik.SlackBuild
@@ -2,7 +2,7 @@
#
# SlackBuild for Mapnik
#
-# Copyright 2012-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2012-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mapnik
-VERSION=${VERSION:-3.0.23}
-VARIANT=1.1.6
+VERSION=${VERSION:-3.1.0}
+VARIANT=1.2.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -83,7 +83,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-scons configure \
+python3 scons/scons.py configure \
FAST=True \
CUSTOM_CFLAGS="$SLKCFLAGS" \
CUSTOM_CXXFLAGS="$SLKCFLAGS" \
@@ -93,7 +93,7 @@ scons configure \
INPUT_PLUGINS=all \
CUSTOM_DEFINES="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 $CUSTOM_DEFINES" \
DESTDIR=$PKG
-make install
+make PYTHON=python3 install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/gis/mapnik/mapnik.info b/gis/mapnik/mapnik.info
index b86b4c1d97e7..3704b3ae58a4 100644
--- a/gis/mapnik/mapnik.info
+++ b/gis/mapnik/mapnik.info
@@ -1,10 +1,10 @@
PRGNAM="mapnik"
-VERSION="3.0.23"
+VERSION="3.1.0"
HOMEPAGE="https://mapnik.org"
-DOWNLOAD="https://github.com/mapnik/mapnik/archive/v3.0.23/mapnik-3.0.23.tar.gz \
- https://github.com/mapbox/variant/archive/v1.1.6/variant-1.1.6.tar.gz"
-MD5SUM="db96c3534426f8edb9fba4d508388b18 \
- 0de5f04949027735dc5d4d824e6e5562"
+DOWNLOAD="https://github.com/mapnik/mapnik/archive/v3.1.0/mapnik-3.1.0.tar.gz \
+ https://github.com/mapbox/variant/archive/v1.2.0/variant-1.2.0.tar.gz"
+MD5SUM="a83ef25e8df0e533cba12f094a17eeac \
+ 695181bbd9a0fd577a4bed4a07c960fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""