diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-03-26 19:01:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-26 19:01:10 +0100 |
commit | 47205202e3e7b6699c2c085bbd9d11d73c598d68 (patch) | |
tree | 90b2b2a0e6f400fad9f1edf41ed3efd2791b6a36 /pkgs/applications/video | |
parent | 2b3ba40c03a87d2e9c3e1bff9f07da2c2a3e885a (diff) | |
parent | c9ea1ff5236d141e07d279459d14f3c6a3fc5174 (diff) | |
download | nixlib-47205202e3e7b6699c2c085bbd9d11d73c598d68.tar nixlib-47205202e3e7b6699c2c085bbd9d11d73c598d68.tar.gz nixlib-47205202e3e7b6699c2c085bbd9d11d73c598d68.tar.bz2 nixlib-47205202e3e7b6699c2c085bbd9d11d73c598d68.tar.lz nixlib-47205202e3e7b6699c2c085bbd9d11d73c598d68.tar.xz nixlib-47205202e3e7b6699c2c085bbd9d11d73c598d68.tar.zst nixlib-47205202e3e7b6699c2c085bbd9d11d73c598d68.zip |
Merge pull request #37745 from Baughn/mpv-openal
mpv: Add openal support
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/mpv/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index 6723c9dfe1ff..421e0dbb8a39 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -32,6 +32,7 @@ , youtubeSupport ? true, youtube-dl ? null , vaapiSupport ? true, libva ? null , drmSupport ? true, libdrm ? null +, openalSupport ? true, openalSoft ? null , vapoursynthSupport ? false, vapoursynth ? null , archiveSupport ? false, libarchive ? null , jackaudioSupport ? false, libjack2 ? null @@ -59,6 +60,7 @@ assert dvdnavSupport -> available libdvdnav; assert bluraySupport -> available libbluray; assert speexSupport -> available speex; assert theoraSupport -> available libtheora; +assert openalSupport -> available openalSoft; assert pulseSupport -> available libpulseaudio; assert bs2bSupport -> available libbs2b; assert cacaSupport -> available libcaca; @@ -113,6 +115,7 @@ in stdenv.mkDerivation rec { (enableFeature archiveSupport "libarchive") (enableFeature dvdreadSupport "dvdread") (enableFeature dvdnavSupport "dvdnav") + (enableFeature openalSupport "openal") (enableFeature vaapiSupport "vaapi") (enableFeature waylandSupport "wayland") (enableFeature stdenv.isLinux "dvbin") @@ -143,6 +146,8 @@ in stdenv.mkDerivation rec { ++ optional vdpauSupport libvdpau ++ optional speexSupport speex ++ optional bs2bSupport libbs2b + ++ optional openalSupport openalSoft + ++ optional (openalSupport && stdenv.isDarwin) darwin.apple_sdk.frameworks.OpenAL ++ optional libpngSupport libpng ++ optional youtubeSupport youtube-dl ++ optional sdl2Support SDL2 |