build-sys: meson: Require bluez dependency if bluez5 feature is enabled
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>
Fri, 18 Jun 2021 17:48:12 +0000 (20:48 +0300)
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>
Mon, 21 Jun 2021 10:50:08 +0000 (10:50 +0000)
commitc817dfb5a438055c98449a4a2f34eb4ec341ccde
treea5c0fe893f5bfea83f725eb01a3da651ef0ac7ba
parent58052e0e04ee1b5fdb1027ebc19717e7766825ec
build-sys: meson: Require bluez dependency if bluez5 feature is enabled

Build breaks if bluez5 and bluez5-native-headset are both enabled
but bluez headers are not available.

Fix this by changing `bluez5` to Meson feature requiring `bluez` dependency.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/583>
meson.build
meson_options.txt
src/modules/bluetooth/meson.build
src/modules/meson.build