pipewire: disable ldac when unavailable

ldacbt only supports little endian platforms.

This was mistakenly made unconditional when the ldacbtSupport option
was removed.  (It used to check availability in its default value.)

Fixes: 3cf28607c1 ("pipewire: remove superfluous args")
This commit is contained in:
Alyssa Ross 2024-08-15 09:59:49 +02:00
parent fcb437c608
commit b4a09f1f9d
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -160,7 +160,7 @@ stdenv.mkDerivation(finalAttrs: {
# source code is not easily obtainable
(lib.mesonEnable "bluez5-codec-lc3plus" false)
(lib.mesonEnable "bluez5-codec-lc3" true)
(lib.mesonEnable "bluez5-codec-ldac" true)
(lib.mesonEnable "bluez5-codec-ldac" (lib.meta.availableOn stdenv.hostPlatform ldacbt))
(lib.mesonEnable "opus" true)
(lib.mesonOption "sysconfdir" "/etc")
(lib.mesonEnable "raop" raopSupport)