jackaudio: restrict aften dependency to Darwin

This commit is contained in:
Andrew Childs 2019-05-18 17:08:59 +09:00 committed by worldofpeace
parent bbb7cda311
commit 19dd115588

View file

@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, pkgconfig, python2Packages, makeWrapper
, fetchpatch
, bash, libsamplerate, libsndfile, readline, eigen, celt
, wafHook, aften
, wafHook
# Darwin Dependencies
, AudioUnit, CoreAudio, cf-private, libobjc, Accelerate
, aften, AudioUnit, CoreAudio, cf-private, libobjc, Accelerate
# Optional Dependencies
, dbus ? null, libffado ? null, alsaLib ? null
@ -40,9 +40,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig python makeWrapper wafHook ];
buildInputs = [ libsamplerate libsndfile readline eigen celt
optDbus optPythonDBus optLibffado optAlsaLib optLibopus
aften
] ++ optionals stdenv.isDarwin [
AudioUnit CoreAudio Accelerate cf-private libobjc
aften AudioUnit CoreAudio Accelerate cf-private libobjc
];
prePatch = ''