media-video/mpv: require drm with wayland+vaapi

Builds fine without and not entirely sure which configurations truly
need USE=drm (nvidia-only so I don't test vaapi), but reports show
that it's unlikely to work with (at least) wayland in 0.35.

Already enabled by default and realistically everyone with USE=wayland
and vaapi will have the deps so there's little reason to disable it.

Skipping revbump as it's not overly a problem, mostly in preparation
for stabilization in case anyone did global USE=-drm or so.

Alternatively it may make sense to drop the USE and enable by default
if a non-headless/library build, but leaving that alone for now.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-12-26 06:47:17 -05:00
parent c3fcffdf3e
commit a5b7ae13e9
3 changed files with 12 additions and 3 deletions

View File

@@ -37,7 +37,10 @@ REQUIRED_USE="
test? ( cli )
tools? ( cli )
uchardet? ( iconv )
vaapi? ( || ( X egl libplacebo wayland ) )
vaapi? (
|| ( X egl libplacebo wayland )
wayland? ( drm )
)
vdpau? ( X )
vulkan? ( || ( X wayland ) libplacebo )
xv? ( X )"

View File

@@ -37,7 +37,10 @@ REQUIRED_USE="
test? ( cli )
tools? ( cli )
uchardet? ( iconv )
vaapi? ( || ( X egl libplacebo wayland ) )
vaapi? (
|| ( X egl libplacebo wayland )
wayland? ( drm )
)
vdpau? ( X )
vulkan? ( || ( X wayland ) libplacebo )
xv? ( X )"

View File

@@ -37,7 +37,10 @@ REQUIRED_USE="
test? ( cli )
tools? ( cli )
uchardet? ( iconv )
vaapi? ( || ( X egl libplacebo wayland ) )
vaapi? (
|| ( X egl libplacebo wayland )
wayland? ( drm )
)
vdpau? ( X )
vulkan? ( || ( X wayland ) libplacebo )
xv? ( X )"