summaryrefslogtreecommitdiff
path: root/extra/pyqt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pyqt/PKGBUILD')
-rw-r--r--extra/pyqt/PKGBUILD25
1 files changed, 16 insertions, 9 deletions
diff --git a/extra/pyqt/PKGBUILD b/extra/pyqt/PKGBUILD
index 7c55c3061..2e2064da0 100644
--- a/extra/pyqt/PKGBUILD
+++ b/extra/pyqt/PKGBUILD
@@ -1,33 +1,35 @@
-# $Id: PKGBUILD 178976 2013-03-01 10:23:02Z andrea $
+# $Id: PKGBUILD 179560 2013-03-07 08:19:05Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>
pkgbase=pyqt
pkgname=('pyqt-common' 'pyqt' 'python2-pyqt')
-pkgver=4.9.6
-pkgrel=2
+pkgver=4.10
+pkgrel=1
arch=('i686' 'x86_64')
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL')
-makedepends=('qt4' 'python-sip' 'python-dbus' 'python2-sip' 'phonon' 'mesa'
+makedepends=('python-sip' 'python-dbus' 'python2-sip' 'phonon' 'mesa'
'python2-opengl' 'qt-assistant-compat' 'qtwebkit' 'python2-dbus')
source=("http://downloads.sourceforge.net/${pkgbase}/PyQt-x11-gpl-${pkgver}.tar.gz")
-md5sums=('514e1f9597771dc732ba75ba9fa5c6b6')
+md5sums=('b5953e96d0f82d322d0cba008163321e')
build() {
- . /etc/profile.d/qt4.sh
-
cp -r PyQt-x11-gpl-${pkgver} Py2Qt-x11-gpl-${pkgver}
cd PyQt-x11-gpl-${pkgver}
python configure.py \
--confirm-license \
- --qsci-api
+ --qsci-api \
+ -q /usr/bin/qmake-qt4
# Thanks Gerardo for the rpath fix
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
+ # Ugly workaround to fix build
+ sed -i 's|/usr/include/qt4/phonon|/usr/include/phonon|' phonon/Makefile
+
make
### Python2 version ###
@@ -35,16 +37,21 @@ build() {
python2 configure.py \
--confirm-license \
-v /usr/share/sip \
- --qsci-api
+ --qsci-api \
+ -q /usr/bin/qmake-qt4
# Thanks Gerardo for the rpath fix
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
+
+ # Ugly workaround to fix build
+ sed -i 's|/usr/include/qt4/phonon|/usr/include/phonon|' phonon/Makefile
make
}
package_pyqt-common(){
pkgdesc="Common PyQt files shared between pyqt and python2-pyqt"
+ depends=('qt4')
cd PyQt-x11-gpl-${pkgver}
make -C pyrcc DESTDIR="${pkgdir}" install