blob: 23c9a6041d7f606f57b7b8ea1e665360d0171349 (
plain)
1 # Description: A multi-platform toolkit for creating graphical user interfaces
2 # URL: https://www.gtk.org/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: at-spi2-core-32 gdk-pixbuf-32 gtk pango-32 xorg-libxcomposite-32 xorg-libxcursor-32 xorg-libxinerama-32 xorg-libxrandr-32
5
6 name=gtk-32
7 version=2.24.33
8 release=1
9 source=(https://download.gnome.org/sources/gtk+/${version%.*}/gtk+-$version.tar.xz)
10
11 build() {
12 cd gtk+-$version
13
14 export PKG_CONFIG_PATH+=":/usr/share/pkgconfig"
15
16 ./configure \
17 --prefix=/usr \
18 --libdir=/usr/lib32 \
19 --disable-cups
20
21 make
22 make DESTDIR=$PKG install
23
24 mv $PKG/usr/bin/gtk-query-immodules-2.0 $PKG/usr/bin/gtk-query-immodules-2.0-32
25 rm $PKG/usr/bin/{gtk-builder-convert,gtk-demo,gtk-update-icon-cache}
26 rm -r $PKG/usr/etc $PKG/usr/{include,share}
27 }
|