diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-04-30 02:43:20 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-04-30 02:45:16 +0200 |
commit | 9248e0074c54c22ea4a6765bba379a67e4df6c26 (patch) | |
tree | 2581fd48844a60a1d9aa145dbc830326caa97fe6 /pkgs/applications/video/mpv/default.nix | |
parent | ce0a2d2b85103dc6000d52d76939832c26aec2f2 (diff) | |
download | nixpkgs-9248e0074c54c22ea4a6765bba379a67e4df6c26.tar nixpkgs-9248e0074c54c22ea4a6765bba379a67e4df6c26.tar.gz nixpkgs-9248e0074c54c22ea4a6765bba379a67e4df6c26.tar.bz2 nixpkgs-9248e0074c54c22ea4a6765bba379a67e4df6c26.tar.lz nixpkgs-9248e0074c54c22ea4a6765bba379a67e4df6c26.tar.xz nixpkgs-9248e0074c54c22ea4a6765bba379a67e4df6c26.tar.zst nixpkgs-9248e0074c54c22ea4a6765bba379a67e4df6c26.zip |
mpv: make vaapi support depending on x11/wayland
it requires either x11 or wayland to be enabled and fails configure if not so
Diffstat (limited to 'pkgs/applications/video/mpv/default.nix')
-rw-r--r-- | pkgs/applications/video/mpv/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index 5fdb7d24f38..74eaf375a24 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 |