1 # Maintainer: Estevao Valadao <estevao@archlinux-br.org>
2 # Contributor: Sven Goericke <sgoericke@member.fsf.org>
3 # Contributor: Jan de Groot <jgc@archlinux.org>
4 # Contributor: Brice Carpentier <brice@daknet.org>
6 pkgname=cairo-cleartype
9 pkgdesc="Cairo vector graphics library with ClearType patch from Gentoo and xcb enabled"
11 license=('LGPL' 'MPL')
12 url="http://cairographics.org/"
13 depends=('libpng>=1.4.0' 'libxrender' 'fontconfig>=2.8.0' 'pixman>=0.18.4' 'glib2>=2.24.0' 'sh')
14 makedepends=('pkgconfig')
16 conflicts=('cairo' 'cairo-xcb')
17 provides=("cairo=${pkgver}" "cairo-xcb")
18 source=(http://cairographics.org/releases/cairo-${pkgver}.tar.gz
19 cairo-1.10.0-buggy_gradients.patch
20 cairo-9999-cleartype.patch)
21 sha1sums=('ccce5ae03f99c505db97c286a0c9a90a926d3c6e'
22 '8b843a9934e5112b6188e5bcf4adfc1fdaf9fa04'
23 '90ee97904ba1a729202bf8c3b60bdae4dd35ac5f')
26 cd "${srcdir}/cairo-${pkgver}"
27 patch -Np1 -i "${srcdir}/cairo-1.10.0-buggy_gradients.patch"
28 patch -Np1 -i "${srcdir}/cairo-9999-cleartype.patch"
29 ./configure --prefix=/usr \
31 --localstatedir=/var \
39 cd "${srcdir}/cairo-${pkgver}"
40 make DESTDIR="${pkgdir}" install