summaryrefslogtreecommitdiff
path: root/extra/gtk2/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-03 23:14:34 +0000
committerroot <root@rshg054.dnsready.net>2011-08-03 23:14:34 +0000
commit8c2359e2541f9d1b11443b49d8ea502b3ffea39c (patch)
tree035176ef2ab4dbaabda40150109c203887d83ed7 /extra/gtk2/PKGBUILD
parent991d38faccf4e1fb27f31f236ad58ee840103734 (diff)
Wed Aug 3 23:14:34 UTC 2011
Diffstat (limited to 'extra/gtk2/PKGBUILD')
-rw-r--r--extra/gtk2/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/extra/gtk2/PKGBUILD b/extra/gtk2/PKGBUILD
index 3e906aab8..880d69593 100644
--- a/extra/gtk2/PKGBUILD
+++ b/extra/gtk2/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 127882 2011-06-19 07:39:12Z ibiru $
+# $Id: PKGBUILD 134153 2011-08-02 11:48:33Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgbase=gtk2
pkgname=('gtk2' 'gtk-update-icon-cache')
pkgver=2.24.5
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
url="http://www.gtk.org/"
-makedepends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'krb5' 'gnutls'
+makedepends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage'
'shared-mime-info' 'cairo' 'libcups' 'gdk-pixbuf2' 'gobject-introspection')
options=('!libtool' '!docs')
license=('LGPL')
@@ -27,12 +27,16 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--with-xinput=yes
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
make
}
package_gtk2() {
pkgdesc="The GTK+ Toolkit (v2)"
install=gtk2.install
- depends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'krb5' 'gnutls' 'shared-mime-info' 'cairo' 'libcups' 'gtk-update-icon-cache')
+ depends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'shared-mime-info' 'cairo' 'libcups' 'gtk-update-icon-cache')
backup=(etc/gtk-2.0/gtkrc)
cd "${srcdir}/gtk+-${pkgver}"