updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gtk2-cleartype / PKGBUILD
blob4531d8c4d2c95b776b75b4b727d7412ac316f45d
1 # $Id: PKGBUILD 79610 2010-05-04 20:23:20Z ibiru $
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 # this package is compiled for cleartype Tillman Coghill a.k.a Liberion
4 #liberion@gmail.com
5 pkgname=gtk2-cleartype 
6 pkgver=2.20.1
7 pkgrel=2
8 pkgdesc="The GTK+ Toolkit (v2) compiled against cleartype"
9 arch=('i686' 'x86_64')
10 url="http://www.gtk.org/"
11 install=gtk2.install
12 depends=('libxft-cleartype' 'cairo-cleartype' 'freetype2-cleartype')
13 makedepends=( 'libxft-cleartype' 'cairo-cleartype' 'freetype2-cleartype' 'pkgconfig' 'gtk-doc' 'gobject-introspection')
14 replaces=('gtkprint-cups' 'gail')
15 conflicts=('gtkprint-cups' 'gail')
16 provides=('gail=1.22.3')
17 options=('!libtool' '!docs')
18 backup=(etc/gtk-2.0/gtkrc)
19 license=('LGPL')
20 source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.20/gtk+-${pkgver}.tar.bz2
21         xid-collision-debug.patch
22         revert_64bit_fix.patch)
23 sha256sums=('0e081731d21e34ff45c82199490c2889504fa8b3c7e117c043e82ababaec0f65'
24             'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558'
25             '20f3a03760f765b68b85b614810e5df4a689b609da1ae200aa30072475121b4c')
27 build() {
28   cd "${srcdir}/gtk+-${pkgver}"
29   patch -Np1 -i "${srcdir}/xid-collision-debug.patch" || return 1
30   patch -RNp1 -i ${srcdir}/revert_64bit_fix.patch || retun 1
32   CXX=/bin/false ./configure --prefix=/usr --sysconfdir=/etc \
33       --localstatedir=/var --with-xinput=yes \
34       --without-libjasper \
35       --with-included-loaders=png || return 1
36   make || return 1
37   make DESTDIR="${pkgdir}" install || return 1
39   echo 'gtk-fallback-icon-theme = "gnome"' > "${pkgdir}/etc/gtk-2.0/gtkrc" || return 1