cmus: add AudioUnit dependency
AudioUnit is required on macOS. See ./configuration output line: checking for COREAUDIO_LIBS (-framework CoreAudio -framework AudioUnit)... ld: framework not found AudioUnit
This commit is contained in:
parent
30fa054bfd
commit
f4a9a35ac8
@ -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)" ];
|
||||
|
@ -21432,7 +21432,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