1 # Maintainer: josephgbr <rafael.f.f1@gmail.com>
6 pkgdesc="The GTK+ Toolkit (v3) (32-bit)"
9 url="http://www.gtk.org/"
10 depends=('lib32-atk' 'lib32-gdk-pixbuf2' 'lib32-libxcomposite'
11 'lib32-libcups' 'lib32-libxcursor' 'lib32-libxdamage'
12 'lib32-libxi' 'lib32-libxinerama' 'lib32-libxrandr'
13 'lib32-pango' 'lib32-cairo' 'lib32-colord' 'gtk3')
14 makedepends=('gcc-multilib')
15 options=('!libtool' '!docs')
17 source=("http://ftp.gnome.org/pub/gnome/sources/gtk+/3.2/gtk+-${pkgver}.tar.xz")
18 sha256sums=('e2cf20f2510ebbc7be122a1a33dd1f472a7d06aaf16b4f2a63eb048cd9141d3d')
22 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
24 cd "${srcdir}/gtk+-${pkgver}"
25 CXX=/bin/false ./configure --prefix=/usr \
27 --localstatedir=/var \
28 --enable-gtk2-dependency \
29 --disable-schemas-compile \
31 --enable-introspection=no
32 #https://bugzilla.gnome.org/show_bug.cgi?id=655517
33 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
38 cd "${srcdir}/gtk+-${pkgver}"
39 make DESTDIR="${pkgdir}" install
40 mv ${pkgdir}/usr/bin/gtk-query-immodules-3.0{,-32}
41 rm -rf "${pkgdir}/usr"/{include,share,bin/gtk3-demo} "${pkgdir}/etc"