diff options
author | Steve Dibb <beandog@gentoo.org> | 2010-07-17 03:47:20 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2010-07-17 03:47:20 +0000 |
commit | e314c387f0e5c7874dec70a3c7e99545abc8c0fa (patch) | |
tree | e569013c114eef84cc91c2a830d2291d3dc1e544 /media-video/mplayer | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-e314c387f0e5c7874dec70a3c7e99545abc8c0fa.tar.gz gentoo-2-e314c387f0e5c7874dec70a3c7e99545abc8c0fa.tar.bz2 gentoo-2-e314c387f0e5c7874dec70a3c7e99545abc8c0fa.zip |
Add support for external libass libraries, bug 327733
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-video/mplayer')
-rw-r--r-- | media-video/mplayer/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/mplayer/metadata.xml | 1 | ||||
-rw-r--r-- | media-video/mplayer/mplayer-9999.ebuild | 26 |
3 files changed, 27 insertions, 6 deletions
diff --git a/media-video/mplayer/ChangeLog b/media-video/mplayer/ChangeLog index fa945e1dd930..39a5c4d64556 100644 --- a/media-video/mplayer/ChangeLog +++ b/media-video/mplayer/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/mplayer # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.755 2010/07/17 03:09:48 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.756 2010/07/17 03:47:20 beandog Exp $ + + 17 Jul 2010; Steve Dibb <beandog@gentoo.org> mplayer-9999.ebuild, + metadata.xml: + Add support for external libass libraries, bug 327733 17 Jul 2010; Steve Dibb <beandog@gentoo.org> mplayer-9999.ebuild: Add bluray use flag for playback through libbluray diff --git a/media-video/mplayer/metadata.xml b/media-video/mplayer/metadata.xml index e2d79770bfe4..71b530f7238d 100644 --- a/media-video/mplayer/metadata.xml +++ b/media-video/mplayer/metadata.xml @@ -23,6 +23,7 @@ <flag name="faac">Use external faac library for AAC encoding</flag> <flag name="faad">Use external faad library for AAC decoding</flag> <flag name="gmplayer">Build gmplayer, a GTK+ MPlayer gui (UNSUPPORTED)</flag> + <flag name="libass">External SRT/SSA/ASS (SubRip / SubStation Alpha) subtitle support through libass</flag> <flag name="live">Enables live.com streaming media support</flag> <flag name="md5sum">Enables md5sum video output</flag> <flag name="mmxext">Enables mmx2 support</flag> diff --git a/media-video/mplayer/mplayer-9999.ebuild b/media-video/mplayer/mplayer-9999.ebuild index 95012bf9b40e..eb9068a64d44 100644 --- a/media-video/mplayer/mplayer-9999.ebuild +++ b/media-video/mplayer/mplayer-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 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.71 2010/07/17 03:09:49 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-9999.ebuild,v 1.72 2010/07/17 03:47:20 beandog Exp $ EAPI="2" @@ -15,7 +15,7 @@ IUSE="3dnow 3dnowext +a52 aalib +alsa altivec +ass bidi bindist bl bluray bs2b +cddb +cdio cdparanoia cpudetection custom-cpuopts debug dga +dirac directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +encode esd +faac +faad fbcon ftp gif ggi -gmplayer +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa -libcaca lirc +live lzo mad md5sum +mmx mmxext mng +mp3 nas +network nut openal +libass libcaca lirc +live lzo mad md5sum +mmx mmxext mng +mp3 nas +network nut openal amr +opengl +osdmenu oss png pnm pulseaudio pvr +quicktime radio +rar +real +rtc samba +shm +schroedinger sdl +speex sse sse2 ssse3 tga +theora +tremor +truetype +toolame +twolame +unicode v4l v4l2 vdpau vidix +vorbis vpx @@ -93,7 +93,7 @@ RDEPEND+=" aalib? ( media-libs/aalib ) alsa? ( media-libs/alsa-lib ) amr? ( !bindist? ( media-libs/opencore-amr ) ) - ass? ( ${FONT_RDEPS} media-libs/libass[enca?] ) + ass? ( ${FONT_RDEPS} ) bidi? ( dev-libs/fribidi ) bluray? ( media-libs/libbluray ) bs2b? ( media-libs/libbs2b ) @@ -121,6 +121,7 @@ RDEPEND+=" jpeg? ( media-libs/jpeg ) jpeg2k? ( media-libs/openjpeg ) ladspa? ( media-libs/ladspa-sdk ) + libass? ( ${FONT_RDEPS} media-libs/libass[enca?] ) libcaca? ( media-libs/libcaca ) lirc? ( app-misc/lirc ) live? ( media-plugins/live ) @@ -284,9 +285,8 @@ src_configure() { $(use_enable network) $(use_enable joystick) " - uses="ass bl enca ftp rtc" # nemesi <- not working with in-tree ebuild + uses="bl enca ftp rtc" # nemesi <- not working with in-tree ebuild myconf+=" --disable-nemesi" # nemesi automagic disable - myconf+=" --disable-ass-internal" # always use system libass for i in ${uses}; do use ${i} || myconf+=" --disable-${i}" done @@ -303,6 +303,22 @@ src_configure() { --disable-apple-ir " fi + + ########### + #Subtitles# + ########### + + # ASS/SSA support + + # MPlayer ships with an internal copy, or the user can choose + # to build against external libass. + + # You need to disable internal support to enable external. + use libass && myconf+=" --disable-ass-internal" + + if ! use ass && ! use libass; then + myconf+=" --disable-ass-internal --disable-ass" + fi # libcdio support: prefer libcdio over cdparanoia # don't check for cddb w/cdio |