blob: d70172646fd59aedc704d2ca6710cc04c84bc5f6 [file] [log] [blame]
config BR2_PACKAGE_BLUEZ_ALSA
bool "bluez-alsa"
depends on !BR2_STATIC_LIBS # bluez5
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5
depends on BR2_USE_MMU # bluez5 -> dbus
depends on BR2_USE_WCHAR # libglib2
select BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_ALSA_LIB_MIXER
select BR2_PACKAGE_BLUEZ5_UTILS
select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_SBC
# samplerate ALSA plugin is needed for proper sample rate
# conversion with Bluetooth devices
select BR2_PACKAGE_LIBSAMPLERATE if BR2_PACKAGE_ALSA_PLUGINS
help
Bluetooth Audio ALSA Backend.
https://github.com/Arkq/bluez-alsa
if BR2_PACKAGE_BLUEZ_ALSA
config BR2_PACKAGE_BLUEZ_ALSA_HCITOP
bool "hcitop"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
select BR2_PACKAGE_LIBBSD
select BR2_PACKAGE_NCURSES
help
Enable top-like monitoring tool for HCI.
config BR2_PACKAGE_BLUEZ_ALSA_RFCOMM
bool "rfcomm"
select BR2_PACKAGE_READLINE
help
Simple tool for sending RFCOMM commands.
endif
comment "bluez-alsa needs a toolchain w/ wchar, NPTL, headers >= 3.4, dynamic library, gcc >= 4.9"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_USE_MMU