diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-12-17 17:59:34 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-12-17 17:59:34 +0000 |
commit | 779ff0531c59777a28e158874fe5f006dd270661 (patch) | |
tree | b40d051e9c876ed4f5d77ab1278761ba860705c9 /media-video/mplayer/mplayer-9999.ebuild | |
parent | alpha/ia64/s390/sh/sparc stable wrt #388489 (diff) | |
download | gentoo-2-779ff0531c59777a28e158874fe5f006dd270661.tar.gz gentoo-2-779ff0531c59777a28e158874fe5f006dd270661.tar.bz2 gentoo-2-779ff0531c59777a28e158874fe5f006dd270661.zip |
dvdnav requires dvd, simplifying ebuild
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'media-video/mplayer/mplayer-9999.ebuild')
-rw-r--r-- | media-video/mplayer/mplayer-9999.ebuild | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/media-video/mplayer/mplayer-9999.ebuild b/media-video/mplayer/mplayer-9999.ebuild index fbba67700a9d..36eb991ef5bc 100644 --- a/media-video/mplayer/mplayer-9999.ebuild +++ b/media-video/mplayer/mplayer-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-9999.ebuild,v 1.116 2011/12/17 17:47:36 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-9999.ebuild,v 1.117 2011/12/17 17:59:34 aballier Exp $ EAPI=4 @@ -184,6 +184,7 @@ fi # radio requires oss or alsa backend # xvmc requires xvideo support REQUIRED_USE="bindist? ( !faac !win32codecs ) + dvdnav? ( dvd ) ass? ( truetype ) truetype? ( iconv )" @@ -310,14 +311,8 @@ src_configure() { # # use external libdvdcss, dvdread and dvdnav myconf+=" --disable-dvdread-internal --disable-libdvdcss-internal" - if use dvd; then - use dvdnav || myconf+=" --disable-dvdnav" - else - myconf+=" - --disable-dvdnav - --disable-dvdread - " - fi + use dvd || myconf+=" --disable-dvdread" + use dvdnav || myconf+=" --disable-dvdnav" ############# # Subtitles # |