3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #193936 from hlolli/fix/csound-portaudio-darwin

csound: use portaudio module on darwin
This commit is contained in:
Weijia Wang 2023-02-02 09:10:48 +01:00 committed by GitHub
commit c7aff87387
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@
, AudioUnit
, CoreAudio
, CoreMIDI
, portaudio
, alsa-lib ? null
, libpulseaudio ? null
, libjack2 ? null
@ -36,7 +37,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake flex bison gettext ];
buildInputs = [ libsndfile libsamplerate boost ]
++ lib.optionals stdenv.isDarwin [
Accelerate AudioUnit CoreAudio CoreMIDI
Accelerate AudioUnit CoreAudio CoreMIDI portaudio
] ++ lib.optionals stdenv.isLinux (builtins.filter (optional: optional != null) [
alsa-lib libpulseaudio libjack2
liblo ladspa-sdk fluidsynth eigen