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> # Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>
# ALARM: macau <tema.prokopenko@gmail.com> # 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 plugrel=1
pkgbase=pyqt pkgbase=pyqt
pkgname=('pyqt' 'python2-pyqt') pkgname=('pyqt' 'python2-pyqt')
pkgver=4.8.6 pkgver=4.8.6
pkgrel=1 pkgrel=1.1
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://riverbankcomputing.co.uk/software/pyqt/intro" url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL') license=('GPL')
@ -28,10 +29,8 @@ build() {
cd "${srcdir}/PyQt-x11-gpl-${pkgver}" cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
# ALARM: Fix for v7h # ALARM: Fix for QReal
if [ "$CARCH" = "armv7h" ]; then patch -Np1 -i ${srcdir}/PyQt4-4.7.3-qreal_float_support.patch
patch -Np1 -i ${srcdir}/PyQt4-4.7.3-qreal_float_support.patch
fi
python configure.py \ python configure.py \
--confirm-license \ --confirm-license \
@ -44,6 +43,10 @@ build() {
### Python2 version ### ### Python2 version ###
cd "${srcdir}/Py2Qt-x11-gpl-${pkgver}" 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 \ python2 configure.py \
--confirm-license \ --confirm-license \
-v /usr/share/sip \ -v /usr/share/sip \