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
8 pkgdesc="The GTK+ Toolkit (v2) compiled against cleartype"
10 url="http://www.gtk.org/"
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)
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')
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 \
35 --with-included-loaders=png || return 1
37 make DESTDIR="${pkgdir}" install || return 1
39 echo 'gtk-fallback-icon-theme = "gnome"' > "${pkgdir}/etc/gtk-2.0/gtkrc" || return 1