2006-02-23 17:10:28 +00:00
|
|
|
# Description: A multi-platform toolkit for creating graphical user interfaces
|
|
|
|
# URL: http://www.gtk.org/
|
2008-01-30 20:55:32 +01:00
|
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
2007-03-01 08:35:10 -06:00
|
|
|
# Depends on: atk, hicolor-icon-theme, libtiff, pango, xorg-libsm, xorg-libxcursor, xorg-libxinerama, xorg-libxrandr
|
2006-02-23 17:10:28 +00:00
|
|
|
|
|
|
|
name=gtk
|
2009-06-04 16:23:37 +02:00
|
|
|
version=2.16.2
|
2007-11-28 08:19:56 -06:00
|
|
|
release=1
|
2009-04-13 10:24:07 +02:00
|
|
|
source=(http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.0.tar.bz2 \
|
|
|
|
http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.0-2.16.1.diff.gz \
|
2009-06-04 16:23:37 +02:00
|
|
|
http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.1-2.16.2.diff.gz \
|
2007-11-28 08:19:56 -06:00
|
|
|
gdk-pixbuf.loaders gtk.immodules \
|
2009-04-04 09:55:20 +02:00
|
|
|
gtk-register.sh)
|
2006-02-23 17:10:28 +00:00
|
|
|
|
|
|
|
build () {
|
2009-04-13 10:24:07 +02:00
|
|
|
cd gtk+-2.16.0
|
|
|
|
|
|
|
|
zcat $SRC/gtk+-2.16.0-2.16.1.diff.gz | patch -p1
|
2009-06-04 16:23:37 +02:00
|
|
|
zcat $SRC/gtk+-2.16.1-2.16.2.diff.gz | patch -p1
|
2007-08-29 09:07:25 -05:00
|
|
|
|
2007-01-23 17:40:31 -06:00
|
|
|
./configure --prefix=/usr \
|
2008-09-20 15:35:17 +02:00
|
|
|
--mandir=/usr/man --without-libjasper
|
2006-02-23 17:10:28 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
mkdir -p $PKG/usr/etc/gtk-2.0
|
|
|
|
install -m 644 $SRC/{gtk.immodules,gdk-pixbuf.loaders} \
|
|
|
|
$PKG/usr/etc/gtk-2.0/
|
|
|
|
rm -r $PKG/usr/share/{locale,gtk-doc,gtk-2.0} $PKG/usr/bin/gtk-demo
|
2007-09-27 13:14:07 -05:00
|
|
|
|
|
|
|
install -m 0755 $SRC/gtk-register.sh $PKG/usr/bin/gtk-register
|
2006-02-23 17:10:28 +00:00
|
|
|
}
|