gnome-bluetooth: Add PACKAGECONFIG pulseaudio and filter by distro-feature

Logs create wallpapers of warnings/errors without pulseaudio bluetooth modules
in image.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andreas Müller 2022-04-13 00:26:38 +02:00 committed by Khem Raj
parent a89b57aa45
commit e6ba5bc0d8

View File

@ -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"