mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
[Backport release-25.05] librespot: add withMDNS + withDNS-SD arguments (#414840)
This commit is contained in:
commit
2b41bf0585
1 changed files with 5 additions and 1 deletions
|
@ -15,6 +15,8 @@
|
|||
libpulseaudio,
|
||||
withRodio ? true,
|
||||
withAvahi ? false,
|
||||
withMDNS ? true,
|
||||
withDNS-SD ? false,
|
||||
avahi-compat,
|
||||
}:
|
||||
|
||||
|
@ -44,13 +46,15 @@ rustPlatform.buildRustPackage rec {
|
|||
buildInputs =
|
||||
[ openssl ]
|
||||
++ lib.optional withALSA alsa-lib
|
||||
++ lib.optional withAvahi avahi-compat
|
||||
++ lib.optional withDNS-SD avahi-compat
|
||||
++ lib.optional withPortAudio portaudio
|
||||
++ lib.optional withPulseAudio libpulseaudio;
|
||||
|
||||
buildNoDefaultFeatures = true;
|
||||
buildFeatures =
|
||||
lib.optional withRodio "rodio-backend"
|
||||
++ lib.optional withMDNS "with-libmdns"
|
||||
++ lib.optional withDNS-SD "with-dns-sd"
|
||||
++ lib.optional withALSA "alsa-backend"
|
||||
++ lib.optional withAvahi "with-avahi"
|
||||
++ lib.optional withPortAudio "portaudio-backend"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue