kumquat-buildroot/package/bluez-alsa/Config.in
Fabrice Fontaine ba27d5a63b package/bluez-alsa: needs alsa-lib mixer
aplay needs alsa-lib mixer since bump to version 4.0.0 in commit
e843433e18 and
7050c9a818:

In file included from alsa-mixer.c:11:
alsa-mixer.h:16:21: error: unknown type name 'snd_mixer_t'; did you mean
'snd_timer_t'?
   16 | int alsa_mixer_open(snd_mixer_t **mixer, snd_mixer_elem_t
      **elem,
      |                     ^~~~~~~~~~~
      |                     snd_timer_t

So select BR2_PACKAGE_ALSA_LIB_MIXER instead of building aplay
conditionally to keep backward compatibility

Fixes:
 - http://autobuild.buildroot.org/results/d3faac6e49fe9cc21091a5dfa44780b8c63189be

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-07-28 22:57:32 +02:00

45 lines
1.3 KiB
Plaintext

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
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