Merge pull request #12930 from taku0/libao_darwin
libao: add dependencies for Darwin frameworks
This commit is contained in:
commit
c9be67a331
@ -1,4 +1,5 @@
|
|||||||
{ lib, stdenv, fetchurl, pkgconfig, libpulseaudio, alsaLib, libcap
|
{ lib, stdenv, fetchurl, pkgconfig, libpulseaudio, alsaLib, libcap
|
||||||
|
, CoreAudio, CoreServices, AudioUnit
|
||||||
, usePulseAudio }:
|
, usePulseAudio }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -12,7 +13,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig ] ++
|
[ pkgconfig ] ++
|
||||||
lib.optional stdenv.isLinux (if usePulseAudio then libpulseaudio else alsaLib) ++
|
lib.optional stdenv.isLinux (if usePulseAudio then libpulseaudio else alsaLib) ++
|
||||||
lib.optional stdenv.isLinux libcap;
|
lib.optional stdenv.isLinux libcap ++
|
||||||
|
lib.optionals stdenv.isDarwin [ CoreAudio CoreServices AudioUnit ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -7074,6 +7074,7 @@ let
|
|||||||
|
|
||||||
libao = callPackage ../development/libraries/libao {
|
libao = callPackage ../development/libraries/libao {
|
||||||
usePulseAudio = config.pulseaudio or true;
|
usePulseAudio = config.pulseaudio or true;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) CoreAudio CoreServices AudioUnit;
|
||||||
};
|
};
|
||||||
|
|
||||||
libabw = callPackage ../development/libraries/libabw { };
|
libabw = callPackage ../development/libraries/libabw { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user