fixes to extra/pyqt, relbump to 1.1

This commit is contained in:
Kevin Mihelich 2011-11-03 19:39:16 -04:00
parent a18d9312ae
commit e6b1af3163

View file

@ -4,14 +4,15 @@
# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>
# ALARM: macau <tema.prokopenko@gmail.com>
# - Fix for qreal on v7h
# Kevin Mihelich <kevin@plugapps.com>
# - Fix for QReal on ARM, for both python versions
plugrel=1
pkgbase=pyqt
pkgname=('pyqt' 'python2-pyqt')
pkgver=4.8.6
pkgrel=1
pkgrel=1.1
arch=('i686' 'x86_64')
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL')
@ -27,11 +28,9 @@ build() {
cp -r PyQt-x11-gpl-${pkgver} Py2Qt-x11-gpl-${pkgver}
cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
# ALARM: Fix for v7h
if [ "$CARCH" = "armv7h" ]; then
patch -Np1 -i ${srcdir}/PyQt4-4.7.3-qreal_float_support.patch
fi
# ALARM: Fix for QReal
patch -Np1 -i ${srcdir}/PyQt4-4.7.3-qreal_float_support.patch
python configure.py \
--confirm-license \
@ -44,6 +43,10 @@ build() {
### Python2 version ###
cd "${srcdir}/Py2Qt-x11-gpl-${pkgver}"
# ALARM: Fix for QReal
patch -Np1 -i ${srcdir}/PyQt4-4.7.3-qreal_float_support.patch
python2 configure.py \
--confirm-license \
-v /usr/share/sip \