diff options
author | Manuel Bachmann <mbc@iot.bzh> | 2015-10-21 01:21:46 +0000 |
---|---|---|
committer | Manuel Bachmann <mbc@iot.bzh> | 2015-10-21 01:27:04 +0000 |
commit | 4c01095f8de7ce06157c27dfda648ef10ff60cfc (patch) | |
tree | 488045353a3abf18915cbe383f8cd33664c7bfc7 /meta-agl/recipes-multimedia | |
parent | 7d7c7b0edc3d8d806250a015f7fbf58418f04395 (diff) |
Provide Bluetooth and BlueZ 5
Add "bluetooth" as an explicit DISTRO_FEATURE and,
as "bluez4" is the default choice, specify "bluez5"
which allows more modern features.
PulseAudio from Poky 1.7 always pulls BlueZ 4 if
Bluetooth is specified, thus creating build errors
unless we add a workaround for it.
Change-Id: I3e9f86c77f5971c0d71666f8decb7d3d3a0fdcb4
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
Diffstat (limited to 'meta-agl/recipes-multimedia')
-rw-r--r-- | meta-agl/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-agl/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/meta-agl/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend new file mode 100644 index 000000000..2d9f558e9 --- /dev/null +++ b/meta-agl/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend @@ -0,0 +1,6 @@ +# Prevent BlueZ 4 from being always pulled +PACKAGECONFIG_remove = "bluez4" + +# If Bluetooth is asked in DISTRO_FEATURES, verify if Bluez 5 is also +# explicitly specified. If it is not, fall back to BlueZ 4 +PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5', 'bluez4', d), '', d)}" |