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

27 lines
702 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: Qt5 için bağlayıcı python
# URL: https://sourceforge.net/projects/pyqt/f
# Paketçi: milisarge
# Gerekler: dbus-python python3-sip qt5 qt5-webkit python3-opengl python3 qt5-webengine
# Grup: kütüphane
isim=python3-qt5
surum=5.9
devir=1
kaynak=(http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$surum/PyQt5_gpl-$surum.tar.gz)
derle() {
cd PyQt5_gpl-$surum
python3 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
}