updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / qcairo / PKGBUILD
blobf58c49de5927e27dda1d1dd961cbff36aa5537f8
1 # Contributor: Yonathan Dossow <ydossow@archlinux.cl>
3 pkgname=qcairo
4 pkgver=1.8.7.1
5 _rpmrel=3
6 pkgrel=3
7 pkgdesc="Modified cairo for SPICE"
8 arch=('i686' 'x86_64')
9 url="http://www.spice-space.org"
10 license=('GPL')
11 depends=('qpixman' 'libpng')
12 makedepends=('rpmextract')
13 install=
14 source=(ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/$pkgname-$pkgver-$_rpmrel.el5.src.rpm use-arch-libpng14.patch)
15 noextract=()
16 md5sums=('bb9f6db05b1bf3bfeee8cb347431426a'
17          '4a654b6d78b691ef28d70219e7304742')
19 build() {
20   cd $srcdir
21   rpmextract.sh $pkgname-$pkgver-$_rpmrel.el5.src.rpm
22   tar xzf qcairo-1.8.7.1-git74d6b5.tar.gz
23   cd "$srcdir/qcairo-1.8.7.1-git74d6b5"
25   patch -p1 -i ../use-arch-libpng14.patch
26 ./autogen.sh --prefix=/usr --disable-static     \
27         --enable-warnings       \
28         --enable-xlib           \
29         --enable-freetype       \
30         --enable-ps             \
31         --enable-pdf            \
32         --enable-svg            \
33         --disable-gtk-doc
34   make || return 1
35   make DESTDIR="$pkgdir/" install
38 # vim:set ts=2 sw=2 et: