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>
This commit is contained in:
Fabrice Fontaine 2022-07-28 17:45:42 +02:00 committed by Thomas Petazzoni
parent a223802adb
commit ba27d5a63b

View File

@ -8,6 +8,7 @@ config BR2_PACKAGE_BLUEZ_ALSA
depends on BR2_USE_MMU # bluez5 -> dbus depends on BR2_USE_MMU # bluez5 -> dbus
depends on BR2_USE_WCHAR # libglib2 depends on BR2_USE_WCHAR # libglib2
select BR2_PACKAGE_ALSA_LIB select BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_ALSA_LIB_MIXER
select BR2_PACKAGE_BLUEZ5_UTILS select BR2_PACKAGE_BLUEZ5_UTILS
select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO
select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_LIBGLIB2