summaryrefslogtreecommitdiffstats
path: root/abs/core/gtk2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gtk2/PKGBUILD')
-rw-r--r--abs/core/gtk2/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/core/gtk2/PKGBUILD b/abs/core/gtk2/PKGBUILD
new file mode 100644
index 0000000..7cab655
--- /dev/null
+++ b/abs/core/gtk2/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 7635 2008-08-03 15:54:30Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gtk2
+pkgver=2.12.11
+pkgrel=3
+pkgdesc="The GTK+ Toolkit (v2)"
+arch=(i686 x86_64)
+url="http://www.gtk.org/"
+install=gtk2.install
+depends=('atk>=1.22.0' 'pango>=1.20.5' 'libxcursor' 'libxinerama' 'libxrandr>=1.2.1' 'libxi' 'libcups>=1.3.8-2' 'libxcomposite' 'libxdamage' 'heimdal>=1.2' 'gnutls>=2.4.1')
+makedepends=('pkgconfig')
+replaces=('gtkprint-cups')
+conflicts=('gtkprint-cups')
+options=('!libtool')
+backup=(etc/gtk-2.0/gtkrc)
+license=('LGPL')
+source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.12/gtk+-${pkgver}.tar.bz2
+ gtkclipboard-check.patch)
+md5sums=('f7aab88e856a813386f797aade5867ad'
+ '4025d3c15d6c6f73a032f403ffd4ff1c')
+
+build() {
+ cd ${startdir}/src/gtk+-${pkgver}
+ # Workaround patch for flash
+ patch -Np1 -i ${startdir}/src/gtkclipboard-check.patch || return 1
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --with-xinput=xfree \
+ --with-included-loaders=png || return 1
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+
+ echo 'gtk-fallback-icon-theme = "gnome"' > ${startdir}/pkg/etc/gtk-2.0/gtkrc || return 1
+}