summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2010-11-15 20:38:20 +0000
committerTim Harder <radhermit@gentoo.org>2010-11-15 20:38:20 +0000
commit7ca9fd5e9c52b090e90e0a12dc4a1f5174446a73 (patch)
treea174c1b636283774e5db64aeedd7739d0bf9796e /media-video/qt-recordmydesktop
parentversion bump (diff)
downloadgentoo-2-7ca9fd5e9c52b090e90e0a12dc4a1f5174446a73.tar.gz
gentoo-2-7ca9fd5e9c52b090e90e0a12dc4a1f5174446a73.tar.bz2
gentoo-2-7ca9fd5e9c52b090e90e0a12dc4a1f5174446a73.zip
Revision bump to fix check for jack support (bug #321313 by Fabio Rossi). Bump to the qt4-r2 eclass.
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Diffstat (limited to 'media-video/qt-recordmydesktop')
-rw-r--r--media-video/qt-recordmydesktop/ChangeLog12
-rw-r--r--media-video/qt-recordmydesktop/files/qt-recordmydesktop-0.3.8-check-for-jack.patch32
-rw-r--r--media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r1.ebuild37
3 files changed, 79 insertions, 2 deletions
diff --git a/media-video/qt-recordmydesktop/ChangeLog b/media-video/qt-recordmydesktop/ChangeLog
index 9acd924b023e..c47e1092e6d1 100644
--- a/media-video/qt-recordmydesktop/ChangeLog
+++ b/media-video/qt-recordmydesktop/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-video/qt-recordmydesktop
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/qt-recordmydesktop/ChangeLog,v 1.18 2009/06/06 15:44:04 hwoarang Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/qt-recordmydesktop/ChangeLog,v 1.19 2010/11/15 20:38:20 radhermit Exp $
+
+*qt-recordmydesktop-0.3.8-r1 (15 Nov 2010)
+
+ 15 Nov 2010; Tim Harder <radhermit@gentoo.org>
+ +qt-recordmydesktop-0.3.8-r1.ebuild,
+ +files/qt-recordmydesktop-0.3.8-check-for-jack.patch:
+ Revision bump to fix check for jack support (bug #321313 by Fabio Rossi).
+ Bump to the qt4-r2 eclass.
06 Jun 2009; Markos Chandras <hwoarang@gentoo.org>
qt-recordmydesktop-0.3.8.ebuild:
diff --git a/media-video/qt-recordmydesktop/files/qt-recordmydesktop-0.3.8-check-for-jack.patch b/media-video/qt-recordmydesktop/files/qt-recordmydesktop-0.3.8-check-for-jack.patch
new file mode 100644
index 000000000000..08c1b7484916
--- /dev/null
+++ b/media-video/qt-recordmydesktop/files/qt-recordmydesktop-0.3.8-check-for-jack.patch
@@ -0,0 +1,32 @@
+--- src/rmdPrefsWidget.py.orig 2008-11-23 16:09:14.000000000 +0100
++++ src/rmdPrefsWidget.py 2010-05-24 16:23:30.255865721 +0200
+@@ -302,9 +302,29 @@
+ def remPort(self,lwi):
+ self.jack_lsp_listSave.takeItem(self.jack_lsp_listSave.row(lwi))
+
++ def which(self,program):
++ import os
++ def is_exe(fpath):
++ return os.path.exists(fpath) and os.access(fpath, os.X_OK)
++
++ fpath, fname = os.path.split(program)
++ if fpath:
++ if is_exe(program):
++ return program
++ else:
++ for path in os.environ["PATH"].split(os.pathsep):
++ exe_file = os.path.join(path, program)
++ if is_exe(exe_file):
++ return exe_file
++
++ return None
++
+ def __runJackLSP__(self,button=None):
+ self.ports=[]
+ failed=0
++ if self.which('jack_lsp') == None:
++ self.jack_button.setEnabled(False)
++ return
+ (stdin,stdout,stderr)=os.popen3(['jack_lsp'],'t')
+ ports=stdout.readlines()
+ stdin.close()
diff --git a/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r1.ebuild b/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r1.ebuild
new file mode 100644
index 000000000000..6253a4973c0a
--- /dev/null
+++ b/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/qt-recordmydesktop/qt-recordmydesktop-0.3.8-r1.ebuild,v 1.1 2010/11/15 20:38:20 radhermit Exp $
+
+EAPI="2"
+
+inherit qt4-r2 eutils
+
+DESCRIPTION="QT4 interface for RecordMyDesktop"
+HOMEPAGE="http://recordmydesktop.sourceforge.net/"
+SRC_URI="mirror://sourceforge/recordmydesktop/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+# Test is buggy : bug #186752
+# Tries to run intl-toolupdate without it being substituted from
+# configure, make test tries run make check in flumotion/test what
+# makes me think that this file has been copied from flumotion without
+# much care...
+RESTRICT="test"
+
+RDEPEND="x11-libs/qt-gui:4
+ >=dev-python/PyQt4-4.1[X]
+ >=media-video/recordmydesktop-0.3.8
+ x11-apps/xwininfo"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-check-for-jack.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc NEWS README AUTHORS ChangeLog
+}