milis/talimatname/genel/g/goocanvas/talimat

31 lines
701 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: GTK+ için bir cairo canvas widget'ı
# URL: https://wiki.gnome.org/Projects/GooCanvas
# Paketçi: Cihan_Alkan
# Gerekler: gobject-introspection python-gobject python3-gobject cairo glib2 gtk3
# Grup: kütüphane
isim=goocanvas
surum=2.0.4
devir=1
kaynak=(https://download.gnome.org/sources/$isim/${surum%.*}/$isim-$surum.tar.xz)
derle() {
cp -r $isim-$surum python2
cd $isim-$surum
./configure --prefix=/usr PYTHON=python3
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
cd "$SRC/python2"
./configure --prefix=/usr PYTHON=python
cd $SRC/$isim-$surum
make DESTDIR="$PKG" install
cd "$SRC/python2"
make -C bindings/python DESTDIR="$PKG" install
}