2017-04-13 09:52:23 +02:00
|
|
|
|
# Description: 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-04-13 09:52:23 +02:00
|
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on: dbus-python sip qt4 phonon
|
|
|
|
|
|
|
|
|
|
name=python-qt4
|
|
|
|
|
version=4.11.2
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-$version/PyQt-x11-gpl-$version.tar.gz)
|
|
|
|
|
build() {
|
|
|
|
|
cd PyQt-x11-gpl-$version
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|