package/pipewire: add support for the LC3 bluetooth codec

The bluez5 plugin can encode and decode LC3 (Bluetooth LE Audio) when
built against liblc3, but the meson option was unconditionally disabled.
Enable it when BR2_PACKAGE_LIBLC3 is set, using the same conditional
idiom as the neighbouring opus and aac codecs.

Signed-off-by: Alsey Coleman Miller <alseycmiller@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Alsey Coleman Miller
2026-08-04 06:38:54 -04:00
committed by Julien Olivain
parent d046fd0883
commit d80d38a551

View File

@@ -20,7 +20,6 @@ PIPEWIRE_CONF_OPTS += \
-Dspa-plugins=enabled \
-Daudiomixer=enabled \
-Daudioconvert=enabled \
-Dbluez5-codec-lc3=disabled \
-Dbluez5-codec-lc3plus=disabled \
-Dcontrol=enabled \
-Daudiotestsrc=enabled \
@@ -129,6 +128,12 @@ PIPEWIRE_DEPENDENCIES += fdk-aac
else
PIPEWIRE_CONF_OPTS += -Dbluez5-codec-aac=disabled
endif
ifeq ($(BR2_PACKAGE_LIBLC3),y)
PIPEWIRE_CONF_OPTS += -Dbluez5-codec-lc3=enabled
PIPEWIRE_DEPENDENCIES += liblc3
else
PIPEWIRE_CONF_OPTS += -Dbluez5-codec-lc3=disabled
endif
else
PIPEWIRE_CONF_OPTS += -Dbluez5=disabled
endif