media-video/mplayer: Drop USE xvmc
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 16 Sep 2018 17:46:49 +0000 (19:46 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 16 Sep 2018 17:46:56 +0000 (19:46 +0200)
support is gone in ffmpeg upstream.

Bug: https://bugs.gentoo.org/655442
Package-Manager: Portage-2.3.49, Repoman-2.3.10

media-video/mplayer/mplayer-9999.ebuild

index c32bc38e1cd583ebb60240551b8b0861d3fa6465..c93bd3174815f3d67fd9d2fc52e2439ac537ada2 100644 (file)
@@ -17,7 +17,7 @@ ftp gif ggi gsm +iconv ipv6 jack joystick jpeg kernel_linux ladspa
 +network nut openal opengl +osdmenu oss png pnm pulseaudio pvr
 radio rar rtc rtmp samba selinux +shm sdl speex cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_ssse3
 tga theora tremor +truetype toolame twolame +unicode v4l vcd vdpau vidix
-vorbis +X x264 xinerama +xscreensaver +xv xvid xvmc yuv4mpeg zoran"
+vorbis +X x264 xinerama +xscreensaver +xv xvid yuv4mpeg zoran"
 
 VIDEO_CARDS="mga tdfx"
 for x in ${VIDEO_CARDS}; do
@@ -126,7 +126,6 @@ RDEPEND+="
        xinerama? ( x11-libs/libXinerama )
        xscreensaver? ( x11-libs/libXScrnSaver )
        xv? ( x11-libs/libXv )
-       xvmc? ( x11-libs/libXvMC )
 "
 
 ASM_DEP="dev-lang/yasm"
@@ -160,7 +159,6 @@ fi
 # ass and freetype font require iconv and ass requires freetype fonts
 # unicode transformations are usefull only with iconv
 # radio requires oss or alsa backend
-# xvmc requires xvideo support
 REQUIRED_USE="
        dga? ( X )
        dvdnav? ( dvd )
@@ -174,8 +172,7 @@ REQUIRED_USE="
        vidix? ( X )
        xinerama? ( X )
        xscreensaver? ( X )
-       xv? ( X )
-       xvmc? ( xv )"
+       xv? ( X )"
 RESTRICT="faac? ( bindist )"
 
 pkg_setup() {
@@ -281,6 +278,7 @@ src_configure() {
                --disable-kai
                --disable-libopus
                --disable-libilbc
+               --disable-xvmc
                $(use_enable network networking)
                $(use_enable joystick)
        "
@@ -488,11 +486,6 @@ src_configure() {
        use vidix        || myconf+=" --disable-vidix --disable-vidix-pcidb"
        use xscreensaver || myconf+=" --disable-xss"
        use X            || myconf+=" --disable-x11"
-       if use xvmc; then
-               myconf+=" --enable-xvmc --with-xvmclib=XvMCW"
-       else
-               myconf+=" --disable-xvmc"
-       fi
 
        ############################
        # OSX (aqua) configuration #