[arch-commits] Commit in cairo/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Sat Mar 31 05:11:55 EDT 2012


    Date: Saturday, March 31, 2012 @ 05:11:55
  Author: andyrtr
Revision: 154930

upgpkg: cairo 1.12.0-1

upstream update 1.12.0, XCB backend now included upstream

Modified:
  cairo/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-31 09:05:33 UTC (rev 154929)
+++ PKGBUILD	2012-03-31 09:11:55 UTC (rev 154930)
@@ -3,18 +3,22 @@
 # Contributor: Brice Carpentier <brice at daknet.org>
 
 pkgname=cairo
-pkgver=1.10.2
-pkgrel=3
+pkgver=1.12.0
+pkgrel=1
 pkgdesc="Cairo vector graphics library"
 arch=(i686 x86_64)
 license=('LGPL' 'MPL')
 url="http://cairographics.org/"
 depends=('libpng' 'libxrender' 'fontconfig' 'pixman' 'glib2' 'sh')
+makedepends=('librsvg' 'poppler-glib' 'libspectre') # 'libdrm')
+optdepends=('xcb-util: for XCB backend') # really needed?
+provides=('cairo-xcb')
+replaces=('cairo-xcb')
 options=('!libtool')
 source=(http://cairographics.org/releases/$pkgname-$pkgver.tar.gz
         cairo-1.10.0-buggy_gradients.patch)
-sha1sums=('ccce5ae03f99c505db97c286a0c9a90a926d3c6e'
-          '8b843a9934e5112b6188e5bcf4adfc1fdaf9fa04')
+md5sums=('e6c85575ba7094f88b637bdfd835a751'
+         '9b323790dab003e228c6955633cb888e')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
@@ -23,14 +27,17 @@
 	--sysconfdir=/etc \
 	--localstatedir=/var \
 	--disable-static \
-	--enable-tee
+	--enable-tee \
+	--enable-xlib-xcb \
+	# --enable-test-surfaces \ takes ages
+	#--enable-drm # breaks build
   make
 }
 
-check() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make check || /bin/true # 248 Passed, 65 Failed [2 crashed, 8 expected], 28 Skipped
-}
+#check() {
+#  cd "$srcdir/$pkgname-$pkgver"
+#  make check || /bin/true # 248 Passed, 65 Failed [2 crashed, 8 expected], 28 Skipped
+#}
 
 package() {
   cd "$srcdir/$pkgname-$pkgver"



More information about the arch-commits mailing list