[arch-commits] Commit in pyqt/trunk (PKGBUILD fix-qthelp-build.patch)

Andrea Scarpino andrea at archlinux.org
Fri Dec 23 14:48:19 UTC 2011


    Date: Friday, December 23, 2011 @ 09:48:19
  Author: andrea
Revision: 145604

upgpkg: pyqt 4.9-2

Build QtHelp module (FS#27665)

Added:
  pyqt/trunk/fix-qthelp-build.patch
Modified:
  pyqt/trunk/PKGBUILD

------------------------+
 PKGBUILD               |   11 ++++++++---
 fix-qthelp-build.patch |   11 +++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-12-23 11:17:35 UTC (rev 145603)
+++ PKGBUILD	2011-12-23 14:48:19 UTC (rev 145604)
@@ -7,17 +7,22 @@
 pkgbase=pyqt
 pkgname=('pyqt' 'python2-pyqt')
 pkgver=4.9
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url="http://riverbankcomputing.co.uk/software/pyqt/intro"
 license=('GPL')
 makedepends=('qt' 'python-sip' 'dbus-python' 'python2-sip' 'phonon'
              'python-opengl' 'qt-assistant-compat' 'qtwebkit')
-source=("http://riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-${pkgver}.tar.gz")
-md5sums=('61619500d09d87b6c2a25bd3ea994504')
+source=("http://riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-${pkgver}.tar.gz"
+        'fix-qthelp-build.patch')
+md5sums=('61619500d09d87b6c2a25bd3ea994504'
+         '356a453331a33c507b1baba4a9771764')
 
 build() {
   cd "${srcdir}"
+
+  patch -p0 -i "${srcdir}"/fix-qthelp-build.patch
+
   cp -r PyQt-x11-gpl-${pkgver} Py2Qt-x11-gpl-${pkgver}
 
   cd "${srcdir}/PyQt-x11-gpl-${pkgver}"

Added: fix-qthelp-build.patch
===================================================================
--- fix-qthelp-build.patch	                        (rev 0)
+++ fix-qthelp-build.patch	2011-12-23 14:48:19 UTC (rev 145604)
@@ -0,0 +1,11 @@
+--- PyQt-x11-gpl-4.9/configure.py~	2011-12-23 14:53:07.981490550 +0100
++++ PyQt-x11-gpl-4.9/configure.py	2011-12-23 14:52:38.384984221 +0100
+@@ -1264,7 +1264,7 @@
+     opengl = (mname == "QtOpenGL")
+ 
+     qt = [mname]
+-    if mname in ("QtOpenGL", "QtWebKit"):
++    if mname in ("QtHelp", "QtOpenGL", "QtWebKit"):
+         qt.append("QtCore")
+ 
+     makefile = sipconfig.ProgramMakefile(sipcfg, console=1, qt=qt, warnings=0,




More information about the arch-commits mailing list