2012-11-21 11:12:43 -06:00
|
|
|
# Description: A multi-platform toolkit for creating graphical user interfaces
|
|
|
|
# URL: http://www.gtk.org/
|
2013-02-02 01:54:23 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2012-11-21 11:12:43 -06:00
|
|
|
# Depends on: atk-32 hicolor-icon-theme gdk-pixbuf-32 pango-32 xorg-libsm-32 xorg-libxcursor-32 xorg-libxinerama-32 xorg-libxrandr-32 xorg-libxcomposite-32 gtk
|
|
|
|
|
|
|
|
name=gtk-32
|
2013-06-20 19:56:03 +10:00
|
|
|
version=2.24.19
|
2012-11-21 11:12:43 -06:00
|
|
|
release=1
|
|
|
|
source=(http://download.gnome.org/sources/gtk+/${version%.*}/gtk+-$version.tar.xz \
|
|
|
|
gtk.immodules-32 gtk-register-32.sh gtk.immodules-32.patch)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd gtk+-$version
|
|
|
|
patch -p1 -i $SRC/gtk.immodules-32.patch
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--program-suffix=-32 \
|
|
|
|
--disable-cups
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
install -d $PKG/usr/etc/gtk-2.0
|
|
|
|
install -m 0644 $SRC/gtk.immodules-32 $PKG/usr/etc/gtk-2.0/
|
|
|
|
rm $PKG/usr/bin/gtk-demo-32
|
|
|
|
|
|
|
|
install -m 0755 $SRC/gtk-register-32.sh $PKG/usr/bin/gtk-register-32
|
|
|
|
rm -rf $PKG/usr/{include,man,share}
|
|
|
|
rm $PKG/usr/etc/gtk-2.0/im-multipress.conf
|
|
|
|
}
|