From 597f4c50d18f35b706b1b9749d3360e131b41da8 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 23 Jan 2017 13:45:37 +0000 Subject: [PATCH] extra/pyqt4 to 4.12-1 --- extra/pyqt4/PKGBUILD | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/extra/pyqt4/PKGBUILD b/extra/pyqt4/PKGBUILD index 401468112..3454dd19c 100644 --- a/extra/pyqt4/PKGBUILD +++ b/extra/pyqt4/PKGBUILD @@ -9,26 +9,26 @@ pkgbase=pyqt4 pkgname=('pyqt4-common' 'python-pyqt4' 'python2-pyqt4') -pkgver=4.11.4 -pkgrel=5 +pkgver=4.12 +pkgrel=1 arch=('i686' 'x86_64') url="http://www.riverbankcomputing.co.uk/software/pyqt/intro" license=('GPL') makedepends=('python-sip' 'python-dbus' 'python2-sip' 'phonon-qt4' 'mesa' 'python2-opengl' 'qt-assistant-compat' 'qtwebkit' 'python2-dbus') -source=("http://downloads.sourceforge.net/pyqt/PyQt-x11-gpl-${pkgver}.tar.gz" +source=("http://downloads.sourceforge.net/pyqt/PyQt4_gpl_x11-${pkgver}.tar.gz" "PyQt4-4.7.3-qreal_float_support.patch") -md5sums=('2fe8265b2ae2fc593241c2c84d09d481' +md5sums=('eb8c338f2d8842aa7655e8e1aa840bed' '7958e9e630963f1be44ea77c2329bb94') build() { - cd "${srcdir}"/PyQt-x11-gpl-${pkgver} + cd PyQt4_gpl_x11-${pkgver} patch -p1 -i "${srcdir}"/PyQt4-4.7.3-qreal_float_support.patch cd "${srcdir}" - cp -a PyQt-x11-gpl-${pkgver} Py2Qt-x11-gpl-${pkgver} + cp -a PyQt4_gpl_x11-${pkgver}{,-py2} - cd PyQt-x11-gpl-${pkgver} + cd PyQt4_gpl_x11-${pkgver} python configure-ng.py \ --confirm-license \ --no-sip-files \ @@ -41,7 +41,7 @@ build() { make ### Python2 version ### - cd ../Py2Qt-x11-gpl-${pkgver} + cd ../PyQt4_gpl_x11-${pkgver}-py2 python2 configure-ng.py \ --confirm-license \ --no-sip-files \ @@ -61,7 +61,7 @@ package_pyqt4-common(){ conflicts=('pyqt-common') provides=("pyqt-common=${pkgver}") - cd PyQt-x11-gpl-${pkgver} + cd PyQt4_gpl_x11-${pkgver} make -C pyrcc INSTALL_ROOT="${pkgdir}" install make -C pylupdate INSTALL_ROOT="${pkgdir}" install @@ -81,7 +81,7 @@ package_python-pyqt4(){ conflicts=('pyqt') provides=("pyqt=${pkgver}") - cd PyQt-x11-gpl-${pkgver} + cd PyQt4_gpl_x11-${pkgver} # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install @@ -101,7 +101,7 @@ package_python2-pyqt4(){ conflicts=('python2-pyqt') provides=("python2-pyqt=${pkgver}") - cd Py2Qt-x11-gpl-${pkgver} + cd PyQt4_gpl_x11-${pkgver}-py2 # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install