summaryrefslogtreecommitdiffstats
path: root/extra/pyqt/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pyqt/Pkgfile')
-rw-r--r--extra/pyqt/Pkgfile18
1 files changed, 11 insertions, 7 deletions
diff --git a/extra/pyqt/Pkgfile b/extra/pyqt/Pkgfile
index de16e3ff5..6fc1d2a02 100644
--- a/extra/pyqt/Pkgfile
+++ b/extra/pyqt/Pkgfile
@@ -5,19 +5,23 @@
# Depends on: sip, qscintilla, qt, phonon
name=pyqt
-version=4.7.7
-release=3
+version=4.8.2
+release=1
source=(http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-$version.tar.gz
- http://nutyx.meticul.eu/files/patchs/$name/fix-kdebindings-4.5.2.patch)
+ fix-stackedwidget-bug.patch)
+
+# http://nutyx.meticul.eu/files/patchs/$name/fix-kdebindings-4.5.2.patch)
build() {
cd PyQt-x11-gpl-$version
-# patch -Np0 -i ../fix-kdebindings-4.5.2.patch
+ patch -Np1 -i ../fix-stackedwidget-bug.patch
-# echo yes |
- python2 configure.py -b /usr/bin \
+ echo yes | python2 configure.py -b /usr/bin \
-d /usr/lib/python2.7/site-packages \
- -v /usr/share/sip/
+ -v /usr/share/sip \
+ --qsci-api
+
+ find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
make
make DESTDIR=$PKG install
}