commit:     6965c84f286cf0fb6a67765a00bdc6ae20cf0b19
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Tue Dec 22 17:11:26 2015 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 12:47:13 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6965c84f

media-video/mpv: avoid uchardet automagic dep wrt bug 565646

Add missing uchardet USE flag to avoid automagic dependency on uchardet
wrt bug 565646.

Gentoo-Bug: 565646

Package-Manager: portage-2.2.24

 media-video/mpv/metadata.xml    | 1 +
 media-video/mpv/mpv-9999.ebuild | 7 +++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-video/mpv/metadata.xml b/media-video/mpv/metadata.xml
index 6c14783..2f94626 100644
--- a/media-video/mpv/metadata.xml
+++ b/media-video/mpv/metadata.xml
@@ -37,6 +37,7 @@
                <flag name="raspberry-pi">Enable support for the Raspberry 
Pi</flag>
                <flag name="rubberband">Enable high quality pitch correction 
via <pkg>media-libs/rubberband</pkg></flag>
                <flag name="sdl">Enable <pkg>media-libs/libsdl2</pkg> based 
video and audio outputs</flag>
+               <flag name="uchardet">Enable subtitles charset discovery via 
<pkg>dev-libs/uchardet</pkg></flag>
                <flag name="vf-dlopen">Install additional video filters for 
using with -vf dlopen</flag>
        </use>
        <upstream>

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 637d7f6..bee13f2 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -30,8 +30,8 @@ LICENSE="GPL-2+ BSD ISC"
 SLOT="0"
 IUSE="+alsa archive bluray cdda +cli doc drm dvb +dvd egl +enca encode +iconv
 jack jpeg lcms +libass libav libcaca libguess libmpv lua luajit openal +opengl
-oss pulseaudio pvr raspberry-pi rubberband samba sdl selinux test v4l vaapi
-vdpau vf-dlopen wayland +X xinerama +xscreensaver xv"
+oss pulseaudio pvr raspberry-pi rubberband samba sdl selinux test uchardet v4l
+vaapi vdpau vf-dlopen wayland +X xinerama +xscreensaver xv"
 
 REQUIRED_USE="
        || ( cli libmpv )
@@ -42,6 +42,7 @@ REQUIRED_USE="
        luajit? ( lua )
        opengl? ( || ( wayland X ) )
        pvr? ( v4l )
+       uchardet? ( iconv )
        vaapi? ( X )
        vdpau? ( X )
        wayland? ( opengl )
@@ -84,6 +85,7 @@ COMMON_DEPEND="
        rubberband? ( >=media-libs/rubberband-1.8.0 )
        samba? ( net-fs/samba )
        sdl? ( media-libs/libsdl2[sound,threads,video,X?,wayland?] )
+       uchardet? ( dev-libs/uchardet )
        v4l? ( media-libs/libv4l )
        wayland? (
                >=dev-libs/wayland-1.6.0
@@ -184,6 +186,7 @@ src_configure() {
                $(use_enable cdda)
                $(use_enable enca)
                $(use_enable libguess)
+               $(use_enable uchardet)
                $(use_enable rubberband)
                $(use_enable lcms lcms2)
                --disable-vapoursynth   # Only available in overlays

Reply via email to