From 9248e0074c54c22ea4a6765bba379a67e4df6c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 30 Apr 2023 02:43:20 +0200 Subject: [PATCH] mpv: make vaapi support depending on x11/wayland it requires either x11 or wayland to be enabled and fails configure if not so --- pkgs/applications/video/mpv/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index 5fdb7d24f387..74eaf375a24d 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -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