media-video/mpv: wayland supports rendering via EGL only
authorIlya Tumaykin <itumaykin@gmail.com>
Tue, 22 Dec 2015 18:32:29 +0000 (21:32 +0300)
committerIlya Tumaykin <itumaykin@gmail.com>
Mon, 28 Dec 2015 12:47:19 +0000 (15:47 +0300)
This is stated in Wayland docs and mpv configure script.

Package-Manager: portage-2.2.24

media-video/mpv/mpv-9999.ebuild

index 91a70b28634696a1e24eb8217e8b33df9bb715fe..2a7055630c0f040ae14c1bad418be51a76aed206 100644 (file)
@@ -46,7 +46,7 @@ REQUIRED_USE="
        v4l? ( || ( alsa oss ) )
        vaapi? ( X )
        vdpau? ( X )
-       wayland? ( opengl )
+       wayland? ( egl )
        xinerama? ( X )
        xscreensaver? ( X )
        xv? ( X )
@@ -221,7 +221,7 @@ src_configure() {
                $(use_enable X xrandr)
                $(usex X "$(use_enable opengl gl-x11)" '--disable-gl-x11')
                $(use_enable egl egl-x11)
-               $(usex wayland "$(use_enable opengl gl-wayland)" '--disable-gl-wayland')
+               $(use_enable wayland gl-wayland)
                $(use_enable opengl gl)
                $(use_enable vdpau)
                $(usex vdpau "$(use_enable opengl vdpau-gl-x11)" '--disable-vdpau-gl-x11')