pulseaudio: add optional dependency on bluez5_utils
authorCalin Crisan <ccrisan@gmail.com>
Fri, 14 Jul 2017 16:21:35 +0000 (19:21 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 Jul 2017 09:46:52 +0000 (11:46 +0200)
The pulseaudio configure script autodetects the presence of
bluez 4.x and 5.x packages on the system and will exclude the
bluetooth-related modules in their absence.

This commit ensures that bluez5_utils, if selected, are installed
before pulseaudio. The same already happens for bluez_utils (4.x).

Signed-off-by: Calin Crisan <ccrisan at gmail dot com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pulseaudio/pulseaudio.mk

index ddd503a9fdd77f50bba6586174a595cf0e1f5447..2f2cfbbed5db8da740c96cfd71ee8c430d524dee 100644 (file)
@@ -32,6 +32,7 @@ PULSEAUDIO_DEPENDENCIES = \
        $(if $(BR2_PACKAGE_AVAHI_DAEMON),avahi) \
        $(if $(BR2_PACKAGE_DBUS),dbus) \
        $(if $(BR2_PACKAGE_BLUEZ_UTILS),bluez_utils) \
+       $(if $(BR2_PACKAGE_BLUEZ5_UTILS),bluez5_utils) \
        $(if $(BR2_PACKAGE_OPENSSL),openssl) \
        $(if $(BR2_PACKAGE_FFTW),fftw) \
        $(if $(BR2_PACKAGE_SYSTEMD),systemd)