milis/talimatname/genel/python3-qt5/talimat

26 lines
699 B
Plaintext
Raw Normal View History

2017-04-12 14:14:48 +02:00
# Description: Qt5 için bağlayıcı python
2017-09-20 18:15:14 +02:00
# URL: https://sourceforge.net/projects/pyqt/f
# Packager: milisarge
# Depends on: dbus-python python3-sip qt5 qt5-webkit python3-opengl python3 qt5-webengine
2016-11-13 01:08:33 +01:00
name=python3-qt5
2017-09-20 18:15:14 +02:00
version=5.9
2016-11-13 01:08:33 +01:00
release=1
source=(http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$version/PyQt5_gpl-$version.tar.gz)
build() {
cd PyQt5_gpl-$version
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
}