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

27 lines
701 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Qt5 için bağlayıcı pythonu
# URL: http://www.riverbankcomputing.co.uk/software/pyqt/intro
2018-07-29 15:23:55 +02:00
# Paketçi: milisarge
2018-06-09 00:06:58 +02:00
# Gerekler: dbus-python python-sip qt5 qt5-webkit python-opengl python
2018-07-29 15:23:55 +02:00
# Grup: kütüphane
2018-06-09 00:06:58 +02:00
isim=python-qt5
2018-07-29 15:23:55 +02:00
surum=5.9
2018-06-09 00:06:58 +02:00
devir=1
kaynak=(http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$surum/PyQt5_gpl-$surum.tar.gz)
derle() {
cd PyQt5_gpl-$surum
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
}