1 # Maintainer: dx <dx@dxzone.com.ar>
2 # Based on the official cairo package
7 pkgdesc="Cairo vector graphics library (git version)"
10 url="http://cairographics.org/"
11 depends=('libpng>=1.4.0' 'libxrender' 'fontconfig>=2.8.0' 'pixman>=0.18.4' 'xcb-util>=0.3.6' 'glib2>=2.24.0')
12 makedepends=('gtk-doc' 'git')
14 provides=('cairo=1.10.0' 'cairo-xcb=1.10.0')
15 conflicts=('cairo' 'cairo-xcb')
16 source=(cairo-1.10.0-buggy_gradients.patch)
17 sha1sums=('8b843a9934e5112b6188e5bcf4adfc1fdaf9fa04')
18 _gitroot='git://anongit.freedesktop.org/git/cairo'
22 if [ -d "${srcdir}"/${_gitname} ]; then
23 cd "${srcdir}"/${_gitname}
31 patch -Np1 -i "${srcdir}/cairo-1.10.0-buggy_gradients.patch"
33 # sed -i -e 's/libpng13/libpng14/g' configure
34 ./autogen.sh --prefix=/usr --sysconfdir=/etc \
35 --localstatedir=/var --enable-xcb --disable-static
40 cd "${srcdir}"/${_gitname}
41 make DESTDIR="${pkgdir}" install