summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2005-01-25 08:41:25 +0000
committerDoug Goldstein <cardoe@gentoo.org>2005-01-25 08:41:25 +0000
commit34eee2e03a6e093f83c2799a0515da72578761ea (patch)
treedf412974f35062682168e442e68b1d3ae8e201e9 /media-tv/nuvexport
parentversion bump prompted by bug #74775. metadata added (diff)
downloadgentoo-2-34eee2e03a6e093f83c2799a0515da72578761ea.tar.gz
gentoo-2-34eee2e03a6e093f83c2799a0515da72578761ea.tar.bz2
gentoo-2-34eee2e03a6e093f83c2799a0515da72578761ea.zip
check to see if media-video/transcode has mjpeg support, if not require it.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'media-tv/nuvexport')
-rw-r--r--media-tv/nuvexport/ChangeLog9
-rw-r--r--media-tv/nuvexport/files/digest-nuvexport-0.2_pre20050123-r1 (renamed from media-tv/nuvexport/files/digest-nuvexport-0.2_pre20050123)0
-rw-r--r--media-tv/nuvexport/nuvexport-0.2_pre20050123-r1.ebuild (renamed from media-tv/nuvexport/nuvexport-0.2_pre20050123.ebuild)11
3 files changed, 18 insertions, 2 deletions
diff --git a/media-tv/nuvexport/ChangeLog b/media-tv/nuvexport/ChangeLog
index 5fa1d8c7e895..62fe8f7a6d2d 100644
--- a/media-tv/nuvexport/ChangeLog
+++ b/media-tv/nuvexport/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-tv/nuvexport
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/nuvexport/ChangeLog,v 1.7 2005/01/24 19:07:24 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/nuvexport/ChangeLog,v 1.8 2005/01/25 08:41:25 cardoe Exp $
+
+*nuvexport-0.2_pre20050123-r1 (25 Jan 2005)
+
+ 25 Jan 2005; Doug Goldstein <cardoe@gentoo.org>
+ +nuvexport-0.2_pre20050123-r1.ebuild, -nuvexport-0.2_pre20050123.ebuild:
+ check to see if media-video/transcode has mjpeg support compiled in, if not
+ tell the user we need it
*nuvexport-0.2_pre20050123 (24 Jan 2005)
diff --git a/media-tv/nuvexport/files/digest-nuvexport-0.2_pre20050123 b/media-tv/nuvexport/files/digest-nuvexport-0.2_pre20050123-r1
index cde4c4d24098..cde4c4d24098 100644
--- a/media-tv/nuvexport/files/digest-nuvexport-0.2_pre20050123
+++ b/media-tv/nuvexport/files/digest-nuvexport-0.2_pre20050123-r1
diff --git a/media-tv/nuvexport/nuvexport-0.2_pre20050123.ebuild b/media-tv/nuvexport/nuvexport-0.2_pre20050123-r1.ebuild
index fa5d771733a0..6d3d598e8cf3 100644
--- a/media-tv/nuvexport/nuvexport-0.2_pre20050123.ebuild
+++ b/media-tv/nuvexport/nuvexport-0.2_pre20050123-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/nuvexport/nuvexport-0.2_pre20050123.ebuild,v 1.1 2005/01/24 19:07:24 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/nuvexport/nuvexport-0.2_pre20050123-r1.ebuild,v 1.1 2005/01/25 08:41:25 cardoe Exp $
S=${WORKDIR}/nuvexport-0.2
DESCRIPTION="Export from mythtv recorded NuppelVideo files"
@@ -20,6 +20,15 @@ RDEPEND="dev-perl/DBI
media-video/transcode
|| ( media-tv/mythtv media-tv/mythtv-cvs )"
+pkg_setup() {
+ local trans_use="$(</var/db/pkg/`best_version media-video/transcode`/USE)"
+ if ! has mjpeg ${trans_use} ; then
+ eerror "media-video/transcode is missing mjpeg support. Please add"
+ eerror "'mjpeg' to your USE flags, and re-emerge media-video/transcode."
+ die "transcode needs mjpeg support"
+ fi
+}
+
src_install() {
einstall || die "failed to install"
}