diff options
Diffstat (limited to 'community/mapnik/PKGBUILD')
-rw-r--r-- | community/mapnik/PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/community/mapnik/PKGBUILD b/community/mapnik/PKGBUILD index 0f39e4a93..2d1d0983e 100644 --- a/community/mapnik/PKGBUILD +++ b/community/mapnik/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 83819 2013-02-05 10:57:53Z spupykin $ +# $Id: PKGBUILD 87421 2013-03-31 19:18:26Z stephane $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: David Dent <thewinch@gmail.com> # Contributor: orbisvicis <orbisvicis@gmail.com> pkgname=mapnik pkgver=2.1.0 -pkgrel=7 +pkgrel=9 pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps" arch=('i686' 'x86_64' 'mips64el') url="http://mapnik.org/" @@ -23,11 +23,17 @@ optdepends=('libxslt: Web Map Service' 'mod_wsgi2: Web Map Service') makedepends=('scons' 'boost') install="mapnik.install" -source=("https://github.com/downloads/mapnik/mapnik/mapnik-v$pkgver.tar.bz2") -md5sums=('d580c558a957444873bec9e24526b0a0') +source=("https://github.com/downloads/mapnik/mapnik/mapnik-v$pkgver.tar.bz2" + "mapnik-2.1.0-compile-fix-for-boost-1.53.patch") +md5sums=('d580c558a957444873bec9e24526b0a0' + 'fb456216b052742319428f65f1c979d6') build() { cd "$srcdir/$pkgname-v$pkgver" + + # https://github.com/mapnik/mapnik/issues/1658 + patch -Np1 -i "$srcdir/mapnik-2.1.0-compile-fix-for-boost-1.53.patch" + sed -i 's|lib64|lib|g' SConstruct sed -i 's|python|python2|' \ utils/performance/mapnik-speed-check \ @@ -36,7 +42,7 @@ build() { PREFIX="/usr" \ INPUT_PLUGINS=all \ DESTDIR="$pkgdir" - scons + scons $MAKEFLAGS } package(){ |