summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-03-25 13:55:21 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-03-25 13:55:21 +0000
commit82f5ed17bca1baa2f6c053fd4aa53624abbe886b (patch)
tree06f6ffd6ffde9c01bedab89fb50f8f1dfb69476f /media-video/recordmydesktop
parentMask new libxfce4menu and xfdesktop for testing. (diff)
downloadgentoo-2-82f5ed17bca1baa2f6c053fd4aa53624abbe886b.tar.gz
gentoo-2-82f5ed17bca1baa2f6c053fd4aa53624abbe886b.tar.bz2
gentoo-2-82f5ed17bca1baa2f6c053fd4aa53624abbe886b.zip
Die if libtheora is not built with encode useflag as it will not work without it
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-video/recordmydesktop')
-rw-r--r--media-video/recordmydesktop/ChangeLog7
-rw-r--r--media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild12
2 files changed, 17 insertions, 2 deletions
diff --git a/media-video/recordmydesktop/ChangeLog b/media-video/recordmydesktop/ChangeLog
index 17f1024de3b9..1210dcfb8169 100644
--- a/media-video/recordmydesktop/ChangeLog
+++ b/media-video/recordmydesktop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/recordmydesktop
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/ChangeLog,v 1.7 2007/03/04 15:10:06 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/ChangeLog,v 1.8 2007/03/25 13:55:21 aballier Exp $
+
+ 25 Mar 2007; Alexis Ballier <aballier@gentoo.org>
+ recordmydesktop-0.3.3.1.ebuild:
+ Die if libtheora is not built with encode useflag as it will not work
+ without it
*recordmydesktop-0.3.3.1 (04 Mar 2007)
diff --git a/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild b/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild
index 584bdc9d9a83..e69b7d2dfde1 100644
--- a/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild
+++ b/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild,v 1.1 2007/03/04 15:10:06 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/recordmydesktop/recordmydesktop-0.3.3.1.ebuild,v 1.2 2007/03/25 13:55:21 aballier Exp $
+
+inherit eutils
DESCRIPTION="A desktop session recorder producing Ogg video/audio files"
HOMEPAGE="http://recordmydesktop.sourceforge.net/"
@@ -22,6 +24,14 @@ DEPEND="x11-libs/libXext
alsa? ( media-libs/alsa-lib )
jack? ( media-sound/jack-audio-connection-kit )"
+pkg_setup() {
+ if ! built_with_use media-libs/libtheora encode; then
+ eerror "media-libs/libtheora needs to be built with encode use flag"
+ eerror "in order to use ${PN}"
+ die "Please rebuild media-libs/libtheora with encode use flag"
+ fi
+}
+
src_compile() {
local myconf
use jack && myconf="${myconf} --enable-jack=yes"