mpv: make vaapi support depending on x11/wayland

it requires either x11 or wayland to be enabled and fails configure if
not so
This commit is contained in:
Sandro Jäckel 2023-04-30 02:43:20 +02:00
parent ce0a2d2b85
commit 9248e0074c
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -69,7 +69,7 @@
, speexSupport ? true, speex
, swiftSupport ? stdenv.isDarwin && stdenv.isAarch64, swift
, theoraSupport ? true, libtheora
, vaapiSupport ? stdenv.isLinux, libva
, vaapiSupport ? x11Support || waylandSupport, libva
, vapoursynthSupport ? false, vapoursynth
, vdpauSupport ? true, libvdpau
, xineramaSupport ? stdenv.isLinux, libXinerama