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

26 lines
699 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Qt5 için bağlayıcı pythonu
2016-11-13 01:08:33 +01:00
# URL: http://www.riverbankcomputing.co.uk/software/pyqt/intro
2017-10-27 20:46:27 +02:00
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler: dbus-python python-sip qt5 qt5-webkit python-opengl python
2016-11-13 01:08:33 +01:00
2017-10-28 14:10:23 +02:00
isim=python-qt5
surum=5.7
devir=1
2016-11-13 01:08:33 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$surum/PyQt5_gpl-$surum.tar.gz)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd PyQt5_gpl-$surum
2016-11-13 01:08:33 +01:00
python2 configure.py \
-q /usr/bin/qmake-qt5 \
--confirm-license \
--no-sip-files \
--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 PyQt5.api $PKG/usr/share/qt/qsci/api/python/PyQt5.api
}