opt/pygtk/Pkgfile

33 lines
818 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: set of bindings for the GTK widget set
# URL: http://www.pygtk.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: libglade python-gobject-compat python-cairo
2006-02-23 16:26:10 +01:00
name=pygtk
2011-07-04 16:44:35 +02:00
version=2.24.0
release=2
source=(https://download.gnome.org/sources/$name/${version::4}/$name-$version.tar.bz2
python27.patch
fix-leaks-of-pango-objects.patch)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
# https://bugzilla.gnome.org/show_bug.cgi?id=623965
patch -p1 -i $SRC/python27.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=660216
patch -p1 -i $SRC/fix-leaks-of-pango-objects.patch
./configure --prefix=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
install -m 0644 gtk/gtk-extrafuncs.defs $PKG/usr/share/pygtk/2.0/defs/
rm -r $PKG/usr/share/gtk-doc
2006-02-23 16:26:10 +01:00
}