aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mapnik
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-30 08:01:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-30 08:01:37 +0000
commit3a11967f9fbb66483d39196af33f0c98c2aa27ab (patch)
tree956f984954764fb33f4eb5e1971717b2d209e272 /testing/mapnik
parentb41b29d3485627ac85399e30c2c157c2f7dcaf61 (diff)
downloadaports-3a11967f9fbb66483d39196af33f0c98c2aa27ab.tar.bz2
aports-3a11967f9fbb66483d39196af33f0c98c2aa27ab.tar.xz
testing/mapnik: upgrade to 3.0.0_rc1
Diffstat (limited to 'testing/mapnik')
-rw-r--r--testing/mapnik/APKBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/testing/mapnik/APKBUILD b/testing/mapnik/APKBUILD
index 34d2591e49..91af162d42 100644
--- a/testing/mapnik/APKBUILD
+++ b/testing/mapnik/APKBUILD
@@ -1,5 +1,6 @@
pkgname=mapnik
-pkgver=2.2.0
+pkgver=3.0.0_rc1
+_ver=${pkgver/_rc/-rc}
pkgrel=0
pkgdesc="Toolkit and API for developing mapping application"
url="http://mapnik.org/"
@@ -9,14 +10,15 @@ options=""
depends="python ttf-dejavu"
makedepends="freetype-dev libxml2-dev zlib-dev icu-dev proj4-dev
libjpeg-turbo-dev libpng-dev tiff-dev boost-dev
- sqlite-dev postgresql-dev cairo-dev py-cairo-dev"
+ sqlite-dev postgresql-dev cairo-dev py-cairo-dev
+ harfbuzz-dev"
subpackages="$pkgname-dev"
-source="http://mapnik.s3.amazonaws.com/dist/v$pkgver/mapnik-v$pkgver.tar.bz2
+source="$pkgname-$_ver.tar.gz::https://github.com/mapnik/mapnik/archive/v$_ver.tar.gz
"
-_builddir="$srcdir"/$pkgname-v$pkgver
+_builddir="$srcdir"/$pkgname-$_ver
prepare() {
- cd "$_builddir"
+ cd "$_builddir" || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -26,7 +28,7 @@ prepare() {
build () {
cd "$_builddir"
- sh configure \
+ python scons/scons.py sh configure \
DESTDIR="$pkgdir" \
SYSTEM_FONTS="/usr/share/fonts/TTF/" \
CUSTOM_CFLAGS="$CFLAGS" \
@@ -41,6 +43,6 @@ package() {
make install || return 1
}
-md5sums="b5357848dc6806bcd43e245f4fdefdaf mapnik-v2.2.0.tar.bz2"
-sha256sums="9b30de4e58adc6d5aa8478779d0a47fdabe6bf8b166b67a383b35f5aa5d6c1b0 mapnik-v2.2.0.tar.bz2"
-sha512sums="6e0bf5027865842a2648ab073b81785dd2c0d8ddb8c75da73caa8aa0c0697e8129ae7e2899f694d44ee1d3de2f207b285abff8e0a0616774564ac6e6b1e774ce mapnik-v2.2.0.tar.bz2"
+md5sums="c7231574639ec2688d957831a5c16341 mapnik-3.0.0-rc1.tar.gz"
+sha256sums="b4aef9a5910b25cb694b1a67beaf3e8dfbd4d629615d5012eb2378f39a63b379 mapnik-3.0.0-rc1.tar.gz"
+sha512sums="00fd5479424dc06c9e22e201495fe6a178e5f656445bb5739045c87eda7985bad1598e1eb34bc9bcce6cae2b72200489728a059ba08f32283ddc45dd8d6dc47b mapnik-3.0.0-rc1.tar.gz"