summaryrefslogtreecommitdiffstats
path: root/extra/pyqt/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-12-30 18:27:43 +0100
committersibel <lesibel@free.fr>2010-12-30 18:27:43 +0100
commit59cf9e389da4daa87505e5fb6673ede8970181ce (patch)
tree76841434be85ea29b0ca206274bc7c7b932b63ec /extra/pyqt/Pkgfile
parent6f8c34878975c0d3cbc224da0070ad9db4d6108b (diff)
downloadnutyx-pakxe-59cf9e389da4daa87505e5fb6673ede8970181ce.tar.gz
nutyx-pakxe-59cf9e389da4daa87505e5fb6673ede8970181ce.tar.bz2
nutyx-pakxe-59cf9e389da4daa87505e5fb6673ede8970181ce.tar.xz
nutyx-pakxe-59cf9e389da4daa87505e5fb6673ede8970181ce.zip
pyqt#4.8.2-1, maj port
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
}