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:45:16 +02:00
parent ce0a2d2b85
commit 9248e0074c
+1 -1
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