From d80d38a551ca6c8a027d541d47abe440639c4976 Mon Sep 17 00:00:00 2001 From: Alsey Coleman Miller Date: Tue, 4 Aug 2026 06:38:54 -0400 Subject: [PATCH] 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 Signed-off-by: Julien Olivain --- package/pipewire/pipewire.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index c5127b9a9d..9f66db0f55 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -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