[arch-commits] Commit in mapnik/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Apr 5 15:11:21 UTC 2019


    Date: Friday, April 5, 2019 @ 15:11:21
  Author: foutrelis
Revision: 449863

archrelease: copy trunk to community-staging-x86_64

Added:
  mapnik/repos/community-staging-x86_64/
  mapnik/repos/community-staging-x86_64/PKGBUILD
    (from rev 449862, mapnik/trunk/PKGBUILD)
  mapnik/repos/community-staging-x86_64/mapnik.install
    (from rev 449862, mapnik/trunk/mapnik.install)

----------------+
 PKGBUILD       |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 mapnik.install |   11 +++++++++
 2 files changed, 72 insertions(+)

Copied: mapnik/repos/community-staging-x86_64/PKGBUILD (from rev 449862, mapnik/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-04-05 15:11:21 UTC (rev 449863)
@@ -0,0 +1,61 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: David Dent <thewinch at gmail.com>
+# Contributor: orbisvicis <orbisvicis at gmail.com>
+
+pkgname=mapnik
+pkgver=3.0.21
+pkgrel=4
+pkgdesc="Free Toolkit for developing mapping applications and rendering beautiful maps"
+arch=('x86_64')
+url="http://mapnik.org/"
+license=('LGPL')
+depends=('boost-libs' 'icu' 'libpng' 'libjpeg-turbo' 'libtiff' 'freetype2'
+         'libxml2' 'python2' 'proj' 'cairo' 'cairomm' 'python2-cairo'
+         'postgresql-libs' 'postgis' 'gdal' 'curl' 'libtool' 'libwebp')
+makedepends=('scons' 'boost' 'git' 'patch')
+optdepends=('libxslt:         Web Map Service'
+            'python2-lxml:    Web Map Service'
+            'python2-pillow:  Web Map Service'
+            'python-nose:     Web Map Service'
+            'apache:          Web Map Service'
+            'mod_fcgid:       Web Map Service - or:'
+            'mod_wsgi2:       Web Map Service')
+install=$pkgname.install
+source=(https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-v$pkgver.tar.bz2
+        https://github.com/mapnik/mapnik/pull/3892.patch
+        mapnik-boost-1.68.patch::https://github.com/mapnik/mapnik/pull/3937.patch
+        mapnik-boost-1.69.patch::https://github.com/mapnik/mapnik/commit/bcb1e67507.patch)
+sha256sums=('6db7918e8fd24346dfc81745e455c383a718335ffa64015cf625fed5ed92b524'
+            '774a8590b698e9dc2a483e6ff48781ed0400ba06b901f12a1ed50c9114833d47'
+            '6b1eb2a013e3e83190cb833cfed370dbe03bd009b51f909112bc353fca7ee4e7'
+            'c47d8bdf6ccfe72b459f0898a3a92eb044d2b1a9b92f208db9ffcb4c173bdf31')
+
+prepare() {
+  cd "${srcdir}"/$pkgname-v$pkgver
+  patch -Np1 -i "${srcdir}"/3892.patch
+  patch -p1 -i ../mapnik-boost-1.68.patch # Fix build with boost 1.68
+  patch -p1 -i ../mapnik-boost-1.69.patch # Fix build with boost 1.69
+}
+
+build() {
+  cd "${srcdir}"/$pkgname-v$pkgver
+
+  # http://site.icu-project.org/download/61#TOC-Migration-Issues
+  CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
+
+  PYTHON=python2
+  scons configure \
+    PREFIX="/usr" \
+    INPUT_PLUGINS=all \
+    XMLPARSER=libxml2 \
+    DESTDIR="$pkgdir" \
+    CUSTOM_CXXFLAGS="$CXXFLAGS" \
+    CUSTOM_LDFLAGS="$LDFLAGS"
+  scons $(expr "$MAKEFLAGS" : '.*\(\-j[0-9]\+\)')
+}
+
+package(){
+  cd "${srcdir}"/$pkgname-v$pkgver
+  scons install
+}

Copied: mapnik/repos/community-staging-x86_64/mapnik.install (from rev 449862, mapnik/trunk/mapnik.install)
===================================================================
--- community-staging-x86_64/mapnik.install	                        (rev 0)
+++ community-staging-x86_64/mapnik.install	2019-04-05 15:11:21 UTC (rev 449863)
@@ -0,0 +1,11 @@
+post_install() {
+  /sbin/ldconfig
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list