summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-01-04 14:29:40 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-01-04 14:29:40 +0000
commitbe7b0b7808064c9403f4f01f20390018f45ac58c (patch)
tree0badbf2b124f120a90beb0377f57782635050a10 /media-video
parentFix further problems with the pixie ebuild, thanks to Mauro Toffanin in bug #... (diff)
downloadgentoo-2-be7b0b7808064c9403f4f01f20390018f45ac58c.tar.gz
gentoo-2-be7b0b7808064c9403f4f01f20390018f45ac58c.tar.bz2
gentoo-2-be7b0b7808064c9403f4f01f20390018f45ac58c.zip
Fix building with >=xextproto-7.1.1 wrt #291111, thanks to Kyle Milz for reporting.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/recordmydesktop/ChangeLog11
-rw-r--r--media-video/recordmydesktop/recordmydesktop-0.3.8.1-r1.ebuild48
2 files changed, 57 insertions, 2 deletions
diff --git a/media-video/recordmydesktop/ChangeLog b/media-video/recordmydesktop/ChangeLog
index f79fb3319d08..47f08b1cf934 100644
--- a/media-video/recordmydesktop/ChangeLog
+++ b/media-video/recordmydesktop/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/recordmydesktop
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/ChangeLog,v 1.28 2009/03/07 09:08:13 fauli Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/ChangeLog,v 1.29 2010/01/04 14:29:40 ssuominen Exp $
+
+*recordmydesktop-0.3.8.1-r1 (04 Jan 2010)
+
+ 04 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +recordmydesktop-0.3.8.1-r1.ebuild:
+ Fix building with >=xextproto-7.1.1 wrt #291111, thanks to Kyle Milz for
+ reporting.
07 Mar 2009; Christian Faulhammer <fauli@gentoo.org>
-recordmydesktop-0.3.7.3.ebuild:
diff --git a/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r1.ebuild b/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r1.ebuild
new file mode 100644
index 000000000000..3265f73ffcd5
--- /dev/null
+++ b/media-video/recordmydesktop/recordmydesktop-0.3.8.1-r1.ebuild
@@ -0,0 +1,48 @@
+# 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-r1.ebuild,v 1.1 2010/01/04 14:29:40 ssuominen Exp $
+
+EAPI=2
+
+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,rmd_update_image.c} || die
+ fi
+}
+
+src_configure() {
+ econf \
+ --enable-dependency-tracking \
+ $(use_enable !alsa oss) \
+ $(use_enable jack)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog README
+}