From e6ba5bc0d887d4483f38c0174226c104174de6b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 13 Apr 2022 00:26:38 +0200 Subject: [PATCH] gnome-bluetooth: Add PACKAGECONFIG pulseaudio and filter by distro-feature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Logs create wallpapers of warnings/errors without pulseaudio bluetooth modules in image. Signed-off-by: Andreas Müller Signed-off-by: Khem Raj --- .../gnome-bluetooth/gnome-bluetooth_42.0.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.0.bb b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.0.bb index a9b7bdec09..36fe9cf215 100644 --- a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.0.bb +++ b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.0.bb @@ -28,6 +28,17 @@ REQUIRED_DISTRO_FEATURES = "x11" SRC_URI[archive.sha256sum] = "3d1e2720673bc9a242619dc5d231fd6e776c18a49da29f43cdc433055adb0170" +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}" + FILES:${PN} += "${datadir}/gnome-bluetooth-3.0" RDEPENDS:${PN} += "bluez5"