Merge pull request #112461 from protoboolean/cmus_fix-macos-build
cmus: add AudioUnit dependency
This commit is contained in:
commit
1ae0f04962
@ -1,5 +1,5 @@
|
||||
{ config, lib, stdenv, fetchFromGitHub, runCommand, ncurses, pkg-config
|
||||
, libiconv, CoreAudio
|
||||
, libiconv, CoreAudio, AudioUnit
|
||||
|
||||
, alsaSupport ? stdenv.isLinux, alsaLib ? null
|
||||
# simple fallback for everyone else
|
||||
@ -121,7 +121,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ ncurses ]
|
||||
++ lib.optional stdenv.cc.isClang clangGCC
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv CoreAudio ]
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv CoreAudio AudioUnit ]
|
||||
++ flatten (concatMap (a: a.deps) opts);
|
||||
|
||||
makeFlags = [ "LD=$(CC)" ];
|
||||
|
@ -21434,7 +21434,7 @@ in
|
||||
cmatrix = callPackage ../applications/misc/cmatrix { };
|
||||
|
||||
cmus = callPackage ../applications/audio/cmus {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreAudio;
|
||||
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio;
|
||||
libjack = libjack2;
|
||||
ffmpeg = ffmpeg_2;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user