libsForQt5.libopenshot-audio: enable on darwin
This commit is contained in:
parent
dd1b7e377f
commit
621f649bfb
@ -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;
|
||||
};
|
||||
}
|
||||
|
@ -15355,7 +15355,9 @@ in
|
||||
|
||||
packagekit-qt = callPackage ../tools/package-management/packagekit/qt.nix { };
|
||||
|
||||
libopenshot-audio = callPackage ../applications/video/openshot-qt/libopenshot-audio.nix { };
|
||||
libopenshot-audio = callPackage ../applications/video/openshot-qt/libopenshot-audio.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) AGL Cocoa Foundation;
|
||||
};
|
||||
|
||||
libqglviewer = callPackage ../development/libraries/libqglviewer {
|
||||
inherit (darwin.apple_sdk.frameworks) AGL;
|
||||
|
Loading…
Reference in New Issue
Block a user