@@ -27,16 +27,8 @@ REQUIRED_DISTRO_FEATURES = "opengl"
SRC_URI[archive.sha256sum] = "41f20e6d6176b72590af63552b232d83f2fffdd77ecfaa5eaf32c5a4a86fad64"
-BT_PULSE_PACKS = " \
- pulseaudio-lib-bluez5-util \
- pulseaudio-module-bluetooth-discover \
- pulseaudio-module-bluetooth-policy \
- pulseaudio-module-bluez5-device \
- pulseaudio-module-bluez5-discover \
-"
-
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)}"
-PACKAGECONFIG[pulseaudio] = ",,,${BT_PULSE_PACKS}"
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth pipewire', 'pipewire', '', d)}"
+PACKAGECONFIG[pipewire] = ",,,pipewire-spa-plugins-bluez5"
FILES:${PN} += "${datadir}/gnome-bluetooth-3.0"
oe-core no longer has a pulseaudio recipe, so the pulseaudio PACKAGECONFIG pulled in PulseAudio Bluetooth modules that cannot be built. Replace it with a pipewire PACKAGECONFIG, enabled when both the bluetooth and pipewire distro features are set, which adds PipeWire's Bluetooth audio plugin (pipewire-spa-plugins-bluez5). PipeWire only builds that plugin with the bluetooth distro feature. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- .../gnome-bluetooth/gnome-bluetooth_47.2.bb | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-)