summaryrefslogtreecommitdiff
path: root/extra/libchamplain
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libchamplain')
-rw-r--r--extra/libchamplain/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/libchamplain/PKGBUILD b/extra/libchamplain/PKGBUILD
index 044f5cf7c..9c9101c43 100644
--- a/extra/libchamplain/PKGBUILD
+++ b/extra/libchamplain/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 183426 2013-04-21 22:11:10Z heftig $
+# $Id: PKGBUILD 186991 2013-06-02 19:42:55Z heftig $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Michael Kanis <mkanis@gmx.de>
pkgname=libchamplain
-pkgver=0.12.3
+pkgver=0.12.4
pkgrel=2
pkgdesc="Gtk3 widget for displaying rasterized maps"
url="http://projects.gnome.org/libchamplain/"
@@ -13,15 +13,19 @@ options=('!libtool')
depends=('clutter-gtk' 'libsoup' 'cairo' 'sqlite')
makedepends=('gobject-introspection' 'gtk-doc' 'vala')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('3d03d4e6892305a3b5b78e0718e486f6a13271df33d82383fd8361ef71f3e658')
+sha256sums=('631ce8e91b02c596e29778d3f7c1d28013e2e40d080a88f2d9a06f8b79f9e493')
build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --disable-static --disable-debug --enable-vala
- make
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static --disable-debug --enable-vala
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
}
package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
}