mpv: fix darwin build

This commit is contained in:
Mario Rodas 2019-05-06 23:57:10 -05:00
parent bdbd5f6026
commit 20eda8246c
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

View File

@ -141,7 +141,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
ffmpeg_4 freetype libass libpthreadstubs
luaEnv libuchardet mujs nv-codec-headers
luaEnv libuchardet mujs
] ++ optional alsaSupport alsaLib
++ optional archiveSupport libarchive
++ optional bluraySupport libbluray
@ -166,6 +166,7 @@ in stdenv.mkDerivation rec {
++ optional xvSupport libXv
++ optional youtubeSupport youtube-dl
++ optional stdenv.isDarwin libiconv
++ optional stdenv.isLinux nv-codec-headers
++ optionals cddaSupport [ libcdio libcdio-paranoia ]
++ optionals dvdnavSupport [ libdvdnav libdvdnav.libdvdread ]
++ optionals waylandSupport [ wayland wayland-protocols libxkbcommon ]