Merge pull request #207298 from wegank/snapcast
This commit is contained in:
commit
27b782ee57
2 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,6 @@
|
|||
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, darwin
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config
|
||||
, alsa-lib, asio, avahi, boost17x, flac, libogg, libvorbis, soxr
|
||||
, IOKit, AudioToolbox
|
||||
, aixlog, popl
|
||||
, pulseaudioSupport ? false, libpulseaudio
|
||||
, nixosTests }:
|
||||
|
@ -26,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||
aixlog popl soxr
|
||||
] ++ lib.optional pulseaudioSupport libpulseaudio
|
||||
++ lib.optional stdenv.isLinux alsa-lib
|
||||
++ lib.optionals stdenv.isDarwin [darwin.apple_sdk.frameworks.IOKit darwin.apple_sdk.frameworks.AudioToolbox];
|
||||
++ lib.optionals stdenv.isDarwin [ IOKit AudioToolbox ];
|
||||
|
||||
TARGET=lib.optionalString stdenv.isDarwin "MACOS";
|
||||
|
||||
|
@ -45,7 +46,5 @@ stdenv.mkDerivation rec {
|
|||
maintainers = with maintainers; [ fpletz ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
license = licenses.gpl3Plus;
|
||||
# never built on x86_64-darwin since first introduction in nixpkgs
|
||||
broken = stdenv.isDarwin && stdenv.isx86_64;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11731,7 +11731,8 @@ with pkgs;
|
|||
|
||||
snallygaster = callPackage ../tools/security/snallygaster { };
|
||||
|
||||
snapcast = callPackage ../applications/audio/snapcast {
|
||||
snapcast = darwin.apple_sdk_11_0.callPackage ../applications/audio/snapcast {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) IOKit AudioToolbox;
|
||||
pulseaudioSupport = config.pulseaudio or stdenv.isLinux;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue