updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / cairo-glitz-cleartype / PKGBUILD
blob55981e96536168f47c1141d9aeeabb9a574c0891
1 # $Id$
2 # Contributor: Niccolò Forlini <nick@linuxbox360.org>
3 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 # Contributor: Brice Carpentier <brice@daknet.org>
6 pkgname=cairo-glitz-cleartype
7 _realname=cairo
8 pkgver=1.8.8
9 pkgrel=1
10 pkgdesc="Cairo vector graphics library with glitz backend and cleartype patch."
11 arch=(i686 x86_64)
12 license=('LGPL' 'MPL')
13 url="http://cairographics.org/"
14 depends=('glitz' 'libpng>=1.2.31' 'libxrender' 'fontconfig>=2.6.0' 'pixman>=0.12.0' 'xcb-util>=0.3.0')
15 makedepends=('pkgconfig')
16 options=('!libtool')
17 provides=("$_realname=$pkgver")
18 conflicts=("$_realname" "cairo-wglitz" "cairo-glitz" "cairo-cleartype" "cairo-lcd"  "cairo-xeffects"  "cairo-glitz-ubuntu")
19 source=(http://cairographics.org/releases/$_realname-${pkgver}.tar.gz 
20         http://download.tuxfamily.org/ccm/glitz/0001-Fix-glitz-support-for-24.8-fixed-point.patch
21         libcairo-1.2.4-lcd-cleartype-like.diff)
22 md5sums=('d3e1a1035ae563812d4dd44a74fb0dd0' 
23          'e9f6817d38bd02cae9d5958aaa31e8b8'
24          'de7cccfcca8e686bca039a985436548e')
27 build() {
28   cd "${srcdir}/$_realname-${pkgver}"
29   patch -p1 < ${srcdir}/0001-Fix-glitz-support-for-24.8-fixed-point.patch || return 1
30   patch -Np1 -i ${srcdir}/libcairo-1.2.4-lcd-cleartype-like.diff || return 1
31   ./configure --prefix=/usr --sysconfdir=/etc --enable-glitz\
32     --localstatedir=/var --enable-xcb --disable-static || return 1
33   make || return 1
34   make DESTDIR="${pkgdir}" install || return 1