diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2020-11-10 15:01:58 -0500 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2020-11-16 18:07:01 -0500 |
commit | 621f649bfb210146e3db5141f4040d93afa877d5 (patch) | |
tree | 3a55f96ddb017f963291c99fba0d1b1269808786 /pkgs/applications | |
parent | dd1b7e377f6d77ddee4ab84be11173d3566d6a18 (diff) |
libsForQt5.libopenshot-audio: enable on darwin
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/video/openshot-qt/libopenshot-audio.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/applications/video/openshot-qt/libopenshot-audio.nix b/pkgs/applications/video/openshot-qt/libopenshot-audio.nix index d1a368b43ba2..b6bb87e66512 100644 --- a/pkgs/applications/video/openshot-qt/libopenshot-audio.nix +++ b/pkgs/applications/video/openshot-qt/libopenshot-audio.nix @@ -1,4 +1,7 @@ -{ stdenv, fetchFromGitHub, pkgconfig, cmake, doxygen, alsaLib , libX11, libXft, libXrandr, libXinerama, libXext, libXcursor }: +{ stdenv, fetchFromGitHub, pkgconfig, cmake, doxygen +, alsaLib, libX11, libXft, libXrandr, libXinerama, libXext, libXcursor +, zlib, AGL, Cocoa, Foundation +}: with stdenv.lib; stdenv.mkDerivation rec { @@ -16,7 +19,12 @@ stdenv.mkDerivation rec { [ pkgconfig cmake doxygen ]; buildInputs = - [ alsaLib libX11 libXft libXrandr libXinerama libXext libXcursor ]; + optionals stdenv.isLinux [ alsaLib ] + ++ (if stdenv.isDarwin then + [ zlib AGL Cocoa Foundation ] + else + [ libX11 libXft libXrandr libXinerama libXext libXcursor ]) + ; doCheck = false; @@ -30,6 +38,6 @@ stdenv.mkDerivation rec { ''; license = with licenses; gpl3Plus; maintainers = with maintainers; [ AndersonTorres ]; - platforms = with platforms; linux; + platforms = with platforms; unix; }; } |