Commit e029b4f6 authored by Xuetian Weng's avatar Xuetian Weng

update lib32-gtk2

parent 8a39ad9f
......@@ -2,13 +2,13 @@
_pkgbasename=gtk2
pkgname=lib32-$_pkgbasename
pkgver=2.24.27
pkgver=2.24.28
pkgrel=1
pkgdesc="The GTK+ Toolkit (v2) (32-bit)"
arch=('x86_64')
url="http://www.gtk.org/"
install=gtk2.install
depends=(lib32-{'atk>=1.30.0','pango>=1.28.0','cairo>=1.10.0','krb5','gnutls>=2.8.6','gdk-pixbuf2>=2.22.0'}
depends=(lib32-{'atk>=1.30.0','pango>=1.28.0','cairo>=1.10.0','krb5','gnutls>=2.8.6','gdk-pixbuf2>=2.22.1'}
lib32-lib{'cups>=1.4.4',xcursor,'xrandr>=1.3','xi>=1.3',xinerama,xcomposite,xdamage}
${_pkgbasename}=${pkgver})
makedepends=('pkgconfig' 'gcc-multilib')
......@@ -16,8 +16,14 @@ options=('!docs')
license=('LGPL')
source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-${pkgver}.tar.xz
xid-collision-debug.patch)
md5sums=('b1e890e15602c5bcb40d85b13fe046fd'
'22355df723f6ca358e30e6b8f0baace5')
sha256sums=('b2c6441e98bc5232e5f9bba6965075dcf580a8726398f7374d39f90b88ed4656'
'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558')
prepare() {
cd "${srcdir}/gtk+-${pkgver}"
patch -Np1 -i "${srcdir}/xid-collision-debug.patch"
}
build() {
export CC="gcc -m32"
......@@ -25,7 +31,6 @@ build() {
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "${srcdir}/gtk+-${pkgver}"
patch -Np1 -i "${srcdir}/xid-collision-debug.patch"
CXX=/bin/false ./configure --prefix=/usr \
--sysconfdir=/etc \
......@@ -33,8 +38,8 @@ build() {
--libdir=/usr/lib32 \
--with-xinput=yes
#https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
#https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment