media-video/mpv: make vdpau hwaccel non-automagic again in 9999.
authorIlya Tumaykin <itumaykin@gmail.com>
Sun, 25 Dec 2016 23:09:29 +0000 (02:09 +0300)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 28 Dec 2016 00:10:07 +0000 (01:10 +0100)
This was a workaround for bug 558870, but it isn't needed anymore
since libav-12 is a must now.

Also update a couple of other configure options while at it.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3247

media-video/mpv/mpv-9999.ebuild

index eca1e35a20494e6a36136420cbaae58497e0a43b..f806815d0d6d34d9719299fffb9991eff8f40006 100644 (file)
@@ -193,6 +193,7 @@ src_configure() {
                --disable-sdl1
                $(use_enable oss oss-audio)
                --disable-rsound                # Only available in overlays.
+               --disable-sndio                 # Only available in overlays.
                $(use_enable pulseaudio pulse)
                $(use_enable jack)
                $(use_enable openal)
@@ -233,8 +234,8 @@ src_configure() {
                # HWaccels:
                # Automagic Video Toolbox HW acceleration. See Gentoo bug 577332.
                $(use_enable vaapi vaapi-hwaccel)
-               # Automagic VDPAU HW acceleration. See Gentoo bug 558870.
-               --disable-cuda                  # No support in ffmpeg. See Gentoo bug 595450.
+               $(use_enable vdpau vdpau-hwaccel)
+               --disable-cuda-hwaccel  # No support in ffmpeg. See Gentoo bug 595450.
 
                # TV features:
                $(use_enable v4l tv)