milis/talimatname/genel/p/python-qt4/talimat

26 lines
679 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Qt4 için bağlayıcı python
2016-02-24 01:27:23 +01:00
# URL: http://www.riverbankcomputing.co.uk/software/pyqt/intro
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: dbus-python python-sip qt4 phonon-qt4
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=python-qt4
surum=4.11.2
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-$surum/PyQt-x11-gpl-$surum.tar.gz)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd PyQt-x11-gpl-$surum
2016-02-24 01:27:23 +01:00
python2 configure-ng.py \
-v /usr/share/sip \
-q /usr/lib/qt4/bin/qmake \
--confirm-license \
--qsci-api
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
make
make DESTDIR=$PKG INSTALL_ROOT=$PKG install
install -Dm644 PyQt4.api $PKG/usr/share/qt4/qsci/api/python/PyQt4.api
}