mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
pulseaudio: enable/disable bluetooth based on bluez package selection
This commit is contained in:
parent
d680f4080e
commit
9d02ade3b1
@ -31,8 +31,6 @@ PULSEAUDIO_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_LIBGLIB2),libglib2) \
|
||||
$(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)
|
||||
@ -81,6 +79,20 @@ else
|
||||
PULSEAUDIO_CONF_OPTS += --without-soxr
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS)$(BR2_PACKAGE_SBC),yy)
|
||||
PULSEAUDIO_CONF_OPTS += --enable-bluez4
|
||||
PULSEAUDIO_DEPENDENCIES += bluez_utils sbc
|
||||
else
|
||||
PULSEAUDIO_CONF_OPTS += --disable-bluez4
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS)$(BR2_PACKAGE_SBC),yy)
|
||||
PULSEAUDIO_CONF_OPTS += --enable-bluez5
|
||||
PULSEAUDIO_DEPENDENCIES += bluez5_utils sbc
|
||||
else
|
||||
PULSEAUDIO_CONF_OPTS += --disable-bluez5
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
PULSEAUDIO_CONF_OPTS += --enable-udev
|
||||
PULSEAUDIO_DEPENDENCIES += udev
|
||||
|
Loading…
x
Reference in New Issue
Block a user