pipewire: make ldac decoding opt-in (#506221)
This commit is contained in:
@@ -73,6 +73,7 @@
|
||||
x11Support
|
||||
&& lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform
|
||||
&& lib.meta.availableOn stdenv.hostPlatform ffado,
|
||||
ldacBtDecodeSupport ? false,
|
||||
ffado,
|
||||
libselinux,
|
||||
libebur128,
|
||||
@@ -166,10 +167,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
++ lib.optional webrtcAudioProcessingSupport webrtc-audio-processing
|
||||
++ lib.optional stdenv.hostPlatform.isLinux alsa-lib
|
||||
++ lib.optionals ldacbtSupport [
|
||||
ldacbt
|
||||
libldac-dec
|
||||
]
|
||||
++ lib.optional ldacbtSupport ldacbt
|
||||
++ lib.optional (ldacBtDecodeSupport && ldacbtSupport) libldac-dec
|
||||
++ lib.optional libcameraSupport libcamera
|
||||
++ lib.optional zeroconfSupport avahi
|
||||
++ lib.optional raopSupport openssl
|
||||
@@ -238,6 +237,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.mesonEnable "bluez5-codec-lc3plus" false)
|
||||
(lib.mesonEnable "bluez5-codec-lc3" bluezSupport)
|
||||
(lib.mesonEnable "bluez5-codec-ldac" (bluezSupport && ldacbtSupport))
|
||||
(lib.mesonEnable "bluez5-codec-ldac-dec" (bluezSupport && ldacbtSupport && ldacBtDecodeSupport))
|
||||
(lib.mesonEnable "opus" true)
|
||||
(lib.mesonOption "sysconfdir" "/etc")
|
||||
(lib.mesonEnable "raop" raopSupport)
|
||||
|
||||
Reference in New Issue
Block a user