mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/pyqt to 4.10-1
This commit is contained in:
parent
c30cd51f86
commit
921cc39125
1 changed files with 14 additions and 7 deletions
|
@ -8,8 +8,8 @@
|
||||||
|
|
||||||
pkgbase=pyqt
|
pkgbase=pyqt
|
||||||
pkgname=('pyqt-common' 'pyqt' 'python2-pyqt')
|
pkgname=('pyqt-common' 'pyqt' 'python2-pyqt')
|
||||||
pkgver=4.9.6
|
pkgver=4.10
|
||||||
pkgrel=2
|
pkgrel=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')
|
||||||
|
@ -17,12 +17,10 @@ makedepends=('qt4' 'python-sip' 'python-dbus' 'python2-sip' 'phonon' 'mesa'
|
||||||
'python2-opengl' 'qt-assistant-compat' 'qtwebkit' 'python2-dbus')
|
'python2-opengl' 'qt-assistant-compat' 'qtwebkit' 'python2-dbus')
|
||||||
source=("http://downloads.sourceforge.net/${pkgbase}/PyQt-x11-gpl-${pkgver}.tar.gz"
|
source=("http://downloads.sourceforge.net/${pkgbase}/PyQt-x11-gpl-${pkgver}.tar.gz"
|
||||||
"PyQt4-4.7.3-qreal_float_support.patch")
|
"PyQt4-4.7.3-qreal_float_support.patch")
|
||||||
md5sums=('514e1f9597771dc732ba75ba9fa5c6b6'
|
md5sums=('b5953e96d0f82d322d0cba008163321e'
|
||||||
'c493d8ea8e3199d649b60eeb45e07aec')
|
'c493d8ea8e3199d649b60eeb45e07aec')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
. /etc/profile.d/qt4.sh
|
|
||||||
|
|
||||||
cd "${srcdir}"/PyQt-x11-gpl-${pkgver}
|
cd "${srcdir}"/PyQt-x11-gpl-${pkgver}
|
||||||
patch -p1 -i "${srcdir}"/PyQt4-4.7.3-qreal_float_support.patch
|
patch -p1 -i "${srcdir}"/PyQt4-4.7.3-qreal_float_support.patch
|
||||||
|
|
||||||
|
@ -32,11 +30,15 @@ build() {
|
||||||
cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
|
cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
|
||||||
python configure.py \
|
python configure.py \
|
||||||
--confirm-license \
|
--confirm-license \
|
||||||
--qsci-api
|
--qsci-api \
|
||||||
|
-q /usr/bin/qmake-qt4
|
||||||
|
|
||||||
# Thanks Gerardo for the rpath fix
|
# Thanks Gerardo for the rpath fix
|
||||||
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
|
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
|
make
|
||||||
|
|
||||||
### Python2 version ###
|
### Python2 version ###
|
||||||
|
@ -44,16 +46,21 @@ build() {
|
||||||
python2 configure.py \
|
python2 configure.py \
|
||||||
--confirm-license \
|
--confirm-license \
|
||||||
-v /usr/share/sip \
|
-v /usr/share/sip \
|
||||||
--qsci-api
|
--qsci-api \
|
||||||
|
-q /usr/bin/qmake-qt4
|
||||||
|
|
||||||
# Thanks Gerardo for the rpath fix
|
# Thanks Gerardo for the rpath fix
|
||||||
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
|
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
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package_pyqt-common(){
|
package_pyqt-common(){
|
||||||
pkgdesc="Common PyQt files shared between pyqt and python2-pyqt"
|
pkgdesc="Common PyQt files shared between pyqt and python2-pyqt"
|
||||||
|
depends=('qt4')
|
||||||
|
|
||||||
cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
|
cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
|
||||||
make -C pyrcc DESTDIR="${pkgdir}" install
|
make -C pyrcc DESTDIR="${pkgdir}" install
|
||||||
|
|
Loading…
Reference in a new issue