diff options
author | Tim Harder <radhermit@gentoo.org> | 2010-10-31 05:57:33 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2010-10-31 05:57:33 +0000 |
commit | c69395651e4cdcda15de3cca844d27d13139bca6 (patch) | |
tree | 51499aa3c2eb1168cca90cc6cc34fc6e51d3645a /media-video | |
parent | Cleaning old version (diff) | |
download | gentoo-2-c69395651e4cdcda15de3cca844d27d13139bca6.tar.gz gentoo-2-c69395651e4cdcda15de3cca844d27d13139bca6.tar.bz2 gentoo-2-c69395651e4cdcda15de3cca844d27d13139bca6.zip |
Revision bump to fix check for jack support (bug #338234 by darkbasic).
(Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
Diffstat (limited to 'media-video')
3 files changed, 80 insertions, 1 deletions
diff --git a/media-video/recordmydesktop/ChangeLog b/media-video/recordmydesktop/ChangeLog index 4e8d1d6ea310..039e16ef1a4d 100644 --- a/media-video/recordmydesktop/ChangeLog +++ b/media-video/recordmydesktop/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/recordmydesktop # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/ChangeLog,v 1.36 2010/05/24 16:10:21 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/ChangeLog,v 1.37 2010/10/31 05:57:33 radhermit Exp $ + +*recordmydesktop-0.3.8.1-r4 (31 Oct 2010) + + 31 Oct 2010; Tim Harder <radhermit@gentoo.org> + +files/0.3.8.1-fix-libjack-check.patch, + +recordmydesktop-0.3.8.1-r4.ebuild: + Revision bump to fix check for jack support (bug #338234 by darkbasic). 23 May 2010; <nixnut@gentoo.org> recordmydesktop-0.3.8.1-r3.ebuild: ppc stable #315023 diff --git a/media-video/recordmydesktop/files/0.3.8.1-fix-libjack-check.patch b/media-video/recordmydesktop/files/0.3.8.1-fix-libjack-check.patch new file mode 100644 index 000000000000..cb8a3b473484 --- /dev/null +++ b/media-video/recordmydesktop/files/0.3.8.1-fix-libjack-check.patch @@ -0,0 +1,14 @@ +--- trunk/recordmydesktop/configure.ac 2008/12/13 17:46:41 584 ++++ trunk/recordmydesktop/configure.ac 2009/01/10 11:35:06 587 +@@ -95,7 +95,10 @@ + AC_MSG_ERROR([Can't find libpthread])) + + if test x$jack = xtrue ; then +-AC_CHECK_LIB([jack],[jack_activate],jack_lib_found=true,) ++AC_CHECK_LIB([jack],[jack_activate], ++ [LIBS="$LIBS -ljack" ++ AC_DEFINE([HAVE_LIBJACK], [1], [Define to 1 if you have libjack.]) ++ jack_lib_found=true]) + fi + + if test x$oss = xfalse; then diff --git a/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r4.ebuild b/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r4.ebuild new file mode 100644 index 000000000000..22eda20c5939 --- /dev/null +++ b/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r4.ebuild,v 1.1 2010/10/31 05:57:33 radhermit Exp $ + +EAPI=2 + +inherit eutils autotools + +DESCRIPTION="A desktop session recorder producing Ogg video/audio files" +HOMEPAGE="http://recordmydesktop.sourceforge.net/" +SRC_URI="mirror://sourceforge/recordmydesktop/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="alsa jack" + +RDEPEND="sys-libs/zlib + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXdamage + media-libs/libvorbis + media-libs/libogg + media-libs/libtheora[encode] + x11-libs/libICE + x11-libs/libSM + alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit )" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +src_prepare() { + if has_version ">=x11-proto/xextproto-7.1.1"; then + sed -i \ + -e 's:shmstr.h:shmproto.h:g' \ + src/rmd_{getzpixmap.c,update_image.c} || die + fi + + # fix weird Framerates with new libtheora + epatch "${FILESDIR}/${PV}-fix_new_theora.patch" + + # fix check for jack support + epatch "${FILESDIR}/${PV}-fix-libjack-check.patch" + + eautoreconf +} + +src_configure() { + econf \ + --enable-dependency-tracking \ + $(use_enable !alsa oss) \ + $(use_enable jack) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog README || die +} |