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 needs a toolchain w/ largefile, threads"
	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 needs a toolchain w/ wchar"
	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

