package/gtkiostream: fix build with alsa-lib

Select BR2_PACKAGE_ALSA_LIB_MIXER if needed to fix the following build
failure with alsa-lib raised since the addition of the package in commit
fab4830286:

In file included from ../include/ALSA/MixerElement.H:20,
                 from ../include/ALSA/Mixer.H:20,
                 from ../include/ALSA/ALSA.H:56,
                 from ALSAControlMonitor.C:19:
../include/ALSA/MixerElementTypes.H:26:5: error: 'snd_mixer_selem_channel_id_t' does not name a type
   26 |     snd_mixer_selem_channel_id_t channel; ///< The ALSA channel ID
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fixes: fab4830286
 - http://autobuild.buildroot.org/results/6be71c9fbdccbdf4f5e540bafa748dda833aeedb

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
2024-07-20 23:01:14 +02:00
committed by Thomas Petazzoni
parent e66a1a5e86
commit 16598146fb

View File

@@ -2,6 +2,7 @@ config BR2_PACKAGE_GTKIOSTREAM
bool "gtkiostream"
depends on BR2_INSTALL_LIBSTDCPP # eigen
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_ALSA_LIB_MIXER if BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_EIGEN
select BR2_PACKAGE_FFTW
select BR2_PACKAGE_FFTW_DOUBLE