[arch-commits] Commit in qt-recordmydesktop/trunk (PKGBUILD pyqt4.patch)
Andrea Scarpino
andrea at nymeria.archlinux.org
Mon Jun 17 18:28:49 UTC 2013
Date: Monday, June 17, 2013 @ 20:28:48
Author: andrea
Revision: 92882
Fix PyQt version check
Added:
qt-recordmydesktop/trunk/pyqt4.patch
Modified:
qt-recordmydesktop/trunk/PKGBUILD
-------------+
PKGBUILD | 13 ++++++++++---
pyqt4.patch | 11 +++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-06-17 17:33:29 UTC (rev 92881)
+++ PKGBUILD 2013-06-17 18:28:48 UTC (rev 92882)
@@ -6,15 +6,22 @@
pkgname=qt-recordmydesktop
pkgver=0.3.8
-pkgrel=5
+pkgrel=6
pkgdesc="Qt4 frontend for recordMyDesktop"
arch=('i686' 'x86_64')
url="http://recordmydesktop.sourceforge.net"
license=('GPL')
depends=('recordmydesktop>=0.3.8.1' 'python2-pyqt')
-source=(http://downloads.sourceforge.net/sourceforge/recordmydesktop/${pkgname}-${pkgver}.tar.gz)
-md5sums=('bf1525740755615ae172ae27fef68fb5')
+source=(http://downloads.sourceforge.net/sourceforge/recordmydesktop/${pkgname}-${pkgver}.tar.gz
+ 'pyqt4.patch')
+md5sums=('bf1525740755615ae172ae27fef68fb5'
+ 'ce1dc05b512df883d0e204eac2b1eaaf')
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p1 -i "${srcdir}"/pyqt4.patch
+}
+
build() {
cd ${pkgname}-${pkgver}
Added: pyqt4.patch
===================================================================
--- pyqt4.patch (rev 0)
+++ pyqt4.patch 2013-06-17 18:28:48 UTC (rev 92882)
@@ -0,0 +1,11 @@
+--- qt-recordmydesktop-0.3.8/configure.ac~ 2013-06-17 18:22:27.747345090 +0000
++++ qt-recordmydesktop-0.3.8/configure.ac 2013-06-17 18:22:46.937225955 +0000
+@@ -43,7 +43,7 @@
+
+ export PYTHONPATH=$PYTHONPATH
+
+-export PYQT4_VERSION=`python -c 'import PyQt4; from PyQt4 import QtCore; print QtCore.PYQT_VERSION_STR' 2>>/dev/null `
++export PYQT4_VERSION=`python2 -c 'import PyQt4; from PyQt4 import QtCore; print QtCore.PYQT_VERSION_STR' 2>>/dev/null `
+ if test x$PYQT4_VERSION == x; then
+ AC_MSG_ERROR(You need PyQt4>=4.1 installed to procceed);
+ fi
More information about the arch-commits
mailing list