kumquat-buildroot/package/multimedia/alsa-utils/Config.in
Thomas Petazzoni beb45605db alsa-lib: require thread support
Some parts of alsa-lib correctly use threads only when available, but
some other parts, especially certain PCM plugins, unconditionally
require threads. While it would certainly be possible to fix alsa-lib
to only use threads when available, it probably doesn't make much
sense, since on an embedded system that has audio, we are probably
powerful enough to enable thread support in the C library.

Fixes:

  http://autobuild.buildroot.org/results/e14469be7f6171f4c8c0c09c8e32943819f7938b/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-20 21:50:21 +02:00

82 lines
1.8 KiB
Plaintext

config BR2_PACKAGE_ALSA_UTILS
bool "alsa-utils"
depends on BR2_LARGEFILE
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
select BR2_PACKAGE_ALSA_LIB
help
This package contains the command line utilities for the ALSA
project.
http://www.alsa-project.org/
comment "alsa-utils requires a toolchain with LARGEFILE and threads support"
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
if BR2_PACKAGE_ALSA_UTILS
menu "ALSA utils selection"
config BR2_PACKAGE_ALSA_UTILS_ALSACONF
bool "alsaconf"
config BR2_PACKAGE_ALSA_UTILS_ALSACTL
bool "alsactl"
default y
config BR2_PACKAGE_ALSA_UTILS_ALSAMIXER
bool "alsamixer"
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_NCURSES_TARGET_PANEL
select BR2_PACKAGE_NCURSES_TARGET_FORM
select BR2_PACKAGE_NCURSES_TARGET_MENU
select BR2_PACKAGE_ALSA_LIB_MIXER
depends on BR2_USE_WCHAR
default y
comment "alsamixer requires a toolchain with WCHAR support"
depends on !BR2_USE_WCHAR
config BR2_PACKAGE_ALSA_UTILS_AMIDI
select BR2_PACKAGE_ALSA_LIB_RAWMIDI
bool "amidi"
config BR2_PACKAGE_ALSA_UTILS_AMIXER
select BR2_PACKAGE_ALSA_LIB_MIXER
bool "amixer"
config BR2_PACKAGE_ALSA_UTILS_APLAY
select BR2_PACKAGE_ALSA_LIB_PCM
bool "aplay/arecord"
config BR2_PACKAGE_ALSA_UTILS_IECSET
select BR2_PACKAGE_ALSA_LIB_PCM
bool "iecset"
config BR2_PACKAGE_ALSA_UTILS_ACONNECT
select BR2_PACKAGE_ALSA_LIB_SEQ
bool "aconnect"
config BR2_PACKAGE_ALSA_UTILS_APLAYMIDI
select BR2_PACKAGE_ALSA_LIB_SEQ
bool "aplaymidi"
config BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI
select BR2_PACKAGE_ALSA_LIB_SEQ
bool "arecordmidi"
config BR2_PACKAGE_ALSA_UTILS_ASEQDUMP
select BR2_PACKAGE_ALSA_LIB_SEQ
bool "aseqdump"
config BR2_PACKAGE_ALSA_UTILS_ASEQNET
select BR2_PACKAGE_ALSA_LIB_SEQ
bool "aseqnet"
config BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST
select BR2_PACKAGE_ALSA_LIB_PCM
bool "speaker-test"
endmenu
endif