select BR2_PACKAGE_ALSA_LIB_PCM
bool "aplay/arecord"
+config BR2_PACKAGE_ALSA_UTILS_BAT
+ select BR2_PACKAGE_FFTW
+ bool "bat"
+
config BR2_PACKAGE_ALSA_UTILS_IECSET
select BR2_PACKAGE_ALSA_LIB_PCM
bool "iecset"
#
################################################################################
-ALSA_UTILS_VERSION = 1.0.29
+ALSA_UTILS_VERSION = 1.1.0
ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2
ALSA_UTILS_SITE = ftp://ftp.alsa-project.org/pub/utils
ALSA_UTILS_LICENSE = GPLv2
ALSA_UTILS_CONF_OPTS += --disable-alsamixer --disable-alsatest
endif
+ifeq ($(BR2_PACKAGE_ALSA_UTILS_BAT),y)
+ALSA_UTILS_CONF_OPTS += --enable-bat
+ALSA_UTILS_DEPENDENCIES += fftw
+else
+ALSA_UTILS_CONF_OPTS += --disable-bat
+endif
+
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSACONF) += usr/sbin/alsaconf
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSACTL) += usr/sbin/alsactl
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSAMIXER) += usr/bin/alsamixer
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_AMIDI) += usr/bin/amidi
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_AMIXER) += usr/bin/amixer
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_APLAY) += usr/bin/aplay usr/bin/arecord
+ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_BAT) += usr/bin/bat
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_IECSET) += usr/bin/iecset
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ACONNECT) += usr/bin/aconnect
ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSAUCM) += usr/bin/alsaucm