diff options
author | Tim Harder <radhermit@gentoo.org> | 2010-11-15 19:37:32 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2010-11-15 19:37:32 +0000 |
commit | cb662e0f2cd8504216eedaee7ffca7709afb0ad0 (patch) | |
tree | 6d233eed5b4c7dc0344bcd24b598893380ec4791 /media-video/gtk-recordmydesktop | |
parent | Old. (diff) | |
download | gentoo-2-cb662e0f2cd8504216eedaee7ffca7709afb0ad0.tar.gz gentoo-2-cb662e0f2cd8504216eedaee7ffca7709afb0ad0.tar.bz2 gentoo-2-cb662e0f2cd8504216eedaee7ffca7709afb0ad0.zip |
Revision bump to fix check for jack support (bug #311689 by Crazycheese). Update to EAPI 3.
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Diffstat (limited to 'media-video/gtk-recordmydesktop')
3 files changed, 83 insertions, 2 deletions
diff --git a/media-video/gtk-recordmydesktop/ChangeLog b/media-video/gtk-recordmydesktop/ChangeLog index 3deffa46ce02..e73c46e16fb7 100644 --- a/media-video/gtk-recordmydesktop/ChangeLog +++ b/media-video/gtk-recordmydesktop/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-video/gtk-recordmydesktop -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/gtk-recordmydesktop/ChangeLog,v 1.20 2009/04/23 09:00:44 fauli Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/gtk-recordmydesktop/ChangeLog,v 1.21 2010/11/15 19:37:32 radhermit Exp $ + +*gtk-recordmydesktop-0.3.8-r1 (15 Nov 2010) + + 15 Nov 2010; Tim Harder <radhermit@gentoo.org> + +gtk-recordmydesktop-0.3.8-r1.ebuild, + +files/gtk-recordmydesktop-0.3.8-check-for-jack.patch: + Revision bump to fix check for jack support (bug #311689 by Crazycheese). + Update to EAPI 3. 23 Apr 2009; Christian Faulhammer <fauli@gentoo.org> gtk-recordmydesktop-0.3.8: diff --git a/media-video/gtk-recordmydesktop/files/gtk-recordmydesktop-0.3.8-check-for-jack.patch b/media-video/gtk-recordmydesktop/files/gtk-recordmydesktop-0.3.8-check-for-jack.patch new file mode 100644 index 000000000000..7743d43199cd --- /dev/null +++ b/media-video/gtk-recordmydesktop/files/gtk-recordmydesktop-0.3.8-check-for-jack.patch @@ -0,0 +1,36 @@ +--- gtk-recordmydesktop-0.3.8.orig/src/rmdPrefsWidget.py 2009-10-12 12:40:32.470028483 +0100 ++++ gtk-recordmydesktop-0.3.8/src/rmdPrefsWidget.py 2009-10-12 12:41:08.086044353 +0100 +@@ -323,11 +323,33 @@ + for i in range(4): + self.labelbox[i].show() + self.notebook.show() ++ ++ 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): + if button!=None: + self.__getSelectedPorts__() + self.ports=[] + failed=0 ++ if self.which('jack_lsp') == None: ++ self.jack_button.set_sensitive(False) ++ return + (stdin,stdout,stderr)=os.popen3(['jack_lsp'],'t') + ports=stdout.readlines() + stdin.close() diff --git a/media-video/gtk-recordmydesktop/gtk-recordmydesktop-0.3.8-r1.ebuild b/media-video/gtk-recordmydesktop/gtk-recordmydesktop-0.3.8-r1.ebuild new file mode 100644 index 000000000000..7b0f000b3558 --- /dev/null +++ b/media-video/gtk-recordmydesktop/gtk-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/gtk-recordmydesktop/gtk-recordmydesktop-0.3.8-r1.ebuild,v 1.1 2010/11/15 19:37:32 radhermit Exp $ + +EAPI=3 + +inherit eutils + +DESCRIPTION="GTK 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/gtk+-2.10.0 + dev-python/pygtk:2 + >=media-video/recordmydesktop-0.3.5 + 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 +} |