summaryrefslogtreecommitdiffstats
path: root/abs/core/gtk2/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-12 21:58:55 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-12 21:58:55 (GMT)
commit1015245a78b3546f594242626eda7771dc6c4aed (patch)
tree1989c5f512114f84044604c1e899e7e67c62aeda /abs/core/gtk2/PKGBUILD
parentda1b20173cec9bf4a5fa7b5c3d5bd251c4741610 (diff)
downloadlinhes_pkgbuild-1015245a78b3546f594242626eda7771dc6c4aed.zip
linhes_pkgbuild-1015245a78b3546f594242626eda7771dc6c4aed.tar.gz
linhes_pkgbuild-1015245a78b3546f594242626eda7771dc6c4aed.tar.bz2
gtk2: update to latest
Diffstat (limited to 'abs/core/gtk2/PKGBUILD')
-rw-r--r--abs/core/gtk2/PKGBUILD40
1 files changed, 22 insertions, 18 deletions
diff --git a/abs/core/gtk2/PKGBUILD b/abs/core/gtk2/PKGBUILD
index 819001d..f90adb5 100644
--- a/abs/core/gtk2/PKGBUILD
+++ b/abs/core/gtk2/PKGBUILD
@@ -1,39 +1,43 @@
-# $Id: PKGBUILD 79610 2010-05-04 20:23:20Z ibiru $
+# $Id: PKGBUILD 96353 2010-10-19 21:56:12Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gtk2
-pkgver=2.20.1
-pkgrel=3
+pkgver=2.22.0
+pkgrel=5
pkgdesc="The GTK+ Toolkit (v2)"
arch=('i686' 'x86_64')
url="http://www.gtk.org/"
install=gtk2.install
-depends=('atk>=1.30.0' 'pango>=1.28.0' 'libxcursor' 'libxinerama' 'libxrandr>=1.3.0' 'libxi>=1.3' 'libxcomposite' 'libxdamage' 'heimdal>=1.3.2' 'gnutls>=2.8.6' 'shared-mime-info' 'cairo>=1.8.10' 'libtiff>=3.9.2-2' )
+depends=('atk>=1.30.0' 'pango>=1.28.0' 'libxcursor' 'libxinerama' 'libxrandr>=1.3.0' 'libxi>=1.3' 'libxcomposite' 'libxdamage' 'heimdal>=1.3.2' 'gnutls>=2.8.6' 'shared-mime-info' 'cairo>=1.10.0' 'gdk-pixbuf2>=2.21.7')
makedepends=('pkgconfig' 'gtk-doc' 'gobject-introspection')
-replaces=('gtkprint-cups' 'gail')
+replaces=('gail')
conflicts=('gtkprint-cups' 'gail')
provides=('gail=1.22.3')
options=('!libtool' '!docs')
backup=(etc/gtk-2.0/gtkrc)
license=('LGPL')
-source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.20/gtk+-${pkgver}.tar.bz2
- xid-collision-debug.patch
- revert_64bit_fix.patch)
-sha256sums=('0e081731d21e34ff45c82199490c2889504fa8b3c7e117c043e82ababaec0f65'
+source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.22/gtk+-${pkgver}.tar.bz2
+ xid-collision-debug.patch old-icon-symlinks.patch)
+sha256sums=('d9522c80d4b8a954f7474e32bd5a99ba3051996f1c4681426db5f79a1c1b4602'
'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558'
- '20f3a03760f765b68b85b614810e5df4a689b609da1ae200aa30072475121b4c')
+ '1298e4103f71d0304378f1e7503011150f6f68398ae8ebae5522a48feaea7c0d')
build() {
cd "${srcdir}/gtk+-${pkgver}"
- patch -Np1 -i "${srcdir}/xid-collision-debug.patch" || return 1
- patch -RNp1 -i ${srcdir}/revert_64bit_fix.patch || retun 1
+ patch -Np1 -i "${srcdir}/xid-collision-debug.patch"
+ patch -Np1 -i "${srcdir}/old-icon-symlinks.patch"
- CXX=/bin/false ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --with-xinput=yes \
- --without-libjasper --without-cups\
- --with-included-loaders=png || return 1
+ CXX=/bin/false ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-xinput=yes
make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+}
+package() {
+ cd "${srcdir}/gtk+-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ sed -i "s#env python#env python2#" $pkgdir/usr/bin/gtk-builder-convert
- echo 'gtk-fallback-icon-theme = "gnome"' > "${pkgdir}/etc/gtk-2.0/gtkrc" || return 1
+ echo 'gtk-fallback-icon-theme = "gnome"' > "${pkgdir}/etc/gtk-2.0/gtkrc"
}