diff options
author | Greg Kroah-Hartman <gregkh@gentoo.org> | 2008-09-15 22:21:33 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@gentoo.org> | 2008-09-15 22:21:33 +0000 |
commit | fd7892532845630472e379d857fa25ff31597872 (patch) | |
tree | 7ff7975d8a0e37b97a5d4daab8df3ce1f900bd76 /media-video | |
parent | messed up and edited use.local.desc (diff) | |
download | gentoo-2-fd7892532845630472e379d857fa25ff31597872.tar.gz gentoo-2-fd7892532845630472e379d857fa25ff31597872.tar.bz2 gentoo-2-fd7892532845630472e379d857fa25ff31597872.zip |
0.6.0 release
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.4 i686)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/undvd/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/undvd/metadata.xml | 4 | ||||
-rw-r--r-- | media-video/undvd/undvd-0.6.0.ebuild | 91 |
3 files changed, 101 insertions, 1 deletions
diff --git a/media-video/undvd/ChangeLog b/media-video/undvd/ChangeLog index 7daff8051bcf..d8ab8a41479e 100644 --- a/media-video/undvd/ChangeLog +++ b/media-video/undvd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/undvd # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/undvd/ChangeLog,v 1.6 2008/04/07 16:07:28 gregkh Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/undvd/ChangeLog,v 1.7 2008/09/15 22:21:33 gregkh Exp $ + +*undvd-0.6.0 (15 Sep 2008) + + 15 Sep 2008; Greg Kroah-Hartman <gregkh@gentoo.org> +undvd-0.6.0.ebuild: + 0.6.0 update *undvd-0.4.2 (07 Apr 2008) diff --git a/media-video/undvd/metadata.xml b/media-video/undvd/metadata.xml index 0cc5d1d68b41..e876ab48489e 100644 --- a/media-video/undvd/metadata.xml +++ b/media-video/undvd/metadata.xml @@ -6,4 +6,8 @@ <email>gregkh@gentoo.org</email> <name>Greg Kroah-Hartman</name> </maintainer> +<use> + <flag name="mp4">Support for MP4 container format</flag> + <flag name="ogm">Support for OGM container format</flag> +</use> </pkgmetadata> diff --git a/media-video/undvd/undvd-0.6.0.ebuild b/media-video/undvd/undvd-0.6.0.ebuild new file mode 100644 index 000000000000..e939084ecbe8 --- /dev/null +++ b/media-video/undvd/undvd-0.6.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/undvd/undvd-0.6.0.ebuild,v 1.1 2008/09/15 22:21:33 gregkh Exp $ + +inherit eutils + +DESCRIPTION="Simple dvd ripping command line app" +HOMEPAGE="http://sourceforge.net/projects/undvd/" +SRC_URI="http://downloads.sourceforge.net/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="aac css ffmpeg matroska mp4 ogm xvid" + +DEPEND="sys-apps/coreutils + app-shells/bash + sys-apps/findutils + sys-apps/gawk + sys-apps/grep + sys-process/procps + sys-apps/sed + sys-devel/bc + sys-apps/util-linux + media-video/lsdvd + media-video/mplayer + css? ( + media-libs/libdvdcss + media-video/vobcopy + ) + ffmpeg? ( + media-video/ffmpeg + ) + matroska? ( + media-video/mkvtoolnix + ) + mp4? ( + media-video/mpeg4ip + ) + ogm? ( + media-sound/ogmtools + )" +RDEPEND="${DEPEND}" + + +pkg_setup() { + einfo "Checking mplayer for USE flags we need..." + mplayer_flags="encode dvd x264 mp3" + for f in $mplayer_flags; do + if ! built_with_use media-video/mplayer $f; then + missing_flags="$f" + eerror "$f missing" + fi + done + + if [ "$missing_flags" ]; then + eerror + eerror "Please re-emerge media-video/mplayer with USE=\"$mplayer_flags\"" + die "mplayer missing necessary USE flags" + fi + + + if use aac; then + if ! built_with_use media-video/mplayer aac; then + eerror + eerror "aac missing. This means you cannot encode to aac." + eerror "Please re-emerge media-video/mplayer with USE=\"aac\"" + die "mplayer merged without aac USE flag" + fi + fi + + if use xvid; then + if ! built_with_use media-video/mplayer xvid; then + eerror + eerror "xvid missing. This means you cannot encode to xvid." + eerror "Please re-emerge media-video/mplayer with USE=\"xvid\"" + die "mplayer merged without xvid USE flag" + fi + fi + + einfo " everything seems to be in order" +} + +src_unpack() { + unpack ${A} + cd "${WORKDIR}" +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" +} |