summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/librsvg/PKGBUILD27
1 files changed, 16 insertions, 11 deletions
diff --git a/abs/core/librsvg/PKGBUILD b/abs/core/librsvg/PKGBUILD
index 6a702aa..c6910a0 100644
--- a/abs/core/librsvg/PKGBUILD
+++ b/abs/core/librsvg/PKGBUILD
@@ -1,27 +1,32 @@
-# $Id: PKGBUILD 13073 2008-09-25 20:24:43Z jgc $
+# $Id: PKGBUILD 92969 2010-10-02 14:11:23Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=librsvg
-pkgver=2.22.3
-pkgrel=1
+pkgver=2.32.0
+pkgrel=2
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
arch=(i686 x86_64)
license=('LGPL')
-depends=('gtk2>=2.14.3' 'libcroco>=0.6.1' 'libgsf>=1.14.8')
-makedepends=('perlxml' 'pkgconfig')
+depends=('gtk2>=2.22.0' 'libcroco>=0.6.2')
+makedepends=('intltool' 'pkg-config' 'gtk-doc' 'gdk-pixbuf2')
+optdepends=('python2: rsvg commandline utility')
options=('!libtool')
url="http://librsvg.sourceforge.net/"
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.22/${pkgname}-${pkgver}.tar.bz2)
install=librsvg.install
-md5sums=('c4ec4fdb2b1842e221ca39127e85682d')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('e0f6f936dab583de317cc0c36a48f80bdb9c93775225ee84140c7e5e3f841068')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' rsvg.in
./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} \
- --with-croco \
- --disable-mozilla-plugin --with-svgz
+ --with-croco --disable-static \
+ --with-svgz --enable-gtk-theme
make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}/usr/lib/mozilla"
- rm ${pkgdir}/usr/lib/gtk-2.0/*/{engines,loaders}/*.a
}
+