summaryrefslogtreecommitdiffstats
path: root/abs/core/cairo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/cairo/PKGBUILD')
-rw-r--r--abs/core/cairo/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/abs/core/cairo/PKGBUILD b/abs/core/cairo/PKGBUILD
index 2ea6c60..efdd5f8 100644
--- a/abs/core/cairo/PKGBUILD
+++ b/abs/core/cairo/PKGBUILD
@@ -1,25 +1,30 @@
-# $Id: PKGBUILD 71210 2010-03-05 15:30:02Z jgc $
+# $Id: PKGBUILD 90247 2010-09-09 21:56:54Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Brice Carpentier <brice@daknet.org>
pkgname=cairo
-pkgver=1.8.10
-pkgrel=1
+pkgver=1.10.0
+pkgrel=3
pkgdesc="Cairo vector graphics library"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
url="http://cairographics.org/"
-depends=('libpng>=1.4.0' 'libxrender' 'fontconfig>=2.8.0' 'pixman>=0.16.6' 'xcb-util>=0.3.6')
-makedepends=('pkgconfig' 'gtk-doc')
+depends=('libpng>=1.4.0' 'libxrender' 'fontconfig>=2.8.0' 'pixman>=0.18.4' 'glib2>=2.24.0')
+makedepends=('pkgconfig')
options=('!libtool')
-source=(http://cairographics.org/releases/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('fd5e8ca82ff0e8542ea4c51612cad387f2a49df3')
+source=(http://cairographics.org/releases/${pkgname}-${pkgver}.tar.gz
+ cairo-1.10.0-buggy_gradients.patch)
+sha1sums=('efe7e47408d5188690228ccadc8523652f6bf702'
+ '8b843a9934e5112b6188e5bcf4adfc1fdaf9fa04')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i -e 's/libpng13/libpng14/g' configure || return 1
+# patch -Np1 -i "${srcdir}/cairo-1.10.0-buggy_gradients.patch"
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --enable-xcb --disable-static || return 1
+ --localstatedir=/var --disable-static
make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+}
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}