summaryrefslogtreecommitdiffstats
path: root/package/multimedia/alsa-utils/alsa-utils.mk
diff options
context:
space:
mode:
authorWilliam Wagner <will_wagner@carallon.com>2010-01-28 18:07:27 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2010-01-28 23:13:05 +0100
commitaea2ef9b9e639f75e6fd8b574f40e60221fa03a2 (patch)
tree6ec7357e89786f1beb3367b9c500446e5416d654 /package/multimedia/alsa-utils/alsa-utils.mk
parent96879ab1def240c7d3868690047c37915cc26679 (diff)
downloadbuildroot-novena-aea2ef9b9e639f75e6fd8b574f40e60221fa03a2.tar.gz
buildroot-novena-aea2ef9b9e639f75e6fd8b574f40e60221fa03a2.zip
PATCH: Add more config options to alsa, bump version
Signed-off-by: William Wagner <will_wagner@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/alsa-utils/alsa-utils.mk')
-rw-r--r--package/multimedia/alsa-utils/alsa-utils.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/package/multimedia/alsa-utils/alsa-utils.mk b/package/multimedia/alsa-utils/alsa-utils.mk
index 2aa038ab2..f98b9cd02 100644
--- a/package/multimedia/alsa-utils/alsa-utils.mk
+++ b/package/multimedia/alsa-utils/alsa-utils.mk
@@ -3,7 +3,7 @@
# alsa-utils
#
#############################################################
-ALSA_UTILS_VERSION:=1.0.18
+ALSA_UTILS_VERSION:=1.0.22
ALSA_UTILS_SOURCE:=alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2
ALSA_UTILS_SITE:=ftp://ftp.alsa-project.org/pub/utils
ALSA_UTILS_DIR:=$(BUILD_DIR)/alsa-utils-$(ALSA_UTILS_VERSION)
@@ -11,6 +11,11 @@ ALSA_UTILS_CAT:=$(BZCAT)
ALSA_UTILS_BINARY:=alsactl/alsactl
ALSA_UTILS_TARGET_BINARY:=usr/sbin/alsactl
+ALSA_UTILS_CONFIGURE_OPTS =
+ifneq ($(BR2_PACKAGE_ALSA_UTILS_ALSAMIXER),y)
+ALSA_UTILS_CONFIGURE_OPTS += --disable-alsamixer --disable-alsatest
+endif
+
$(DL_DIR)/$(ALSA_UTILS_SOURCE):
$(call DOWNLOAD,$(ALSA_UTILS_SITE),$(ALSA_UTILS_SOURCE))
@@ -32,6 +37,8 @@ $(ALSA_UTILS_DIR)/.configured: $(ALSA_UTILS_DIR)/.unpacked
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
+ $(ALSA_UTILS_CONFIGURE_OPTS) \
+ --disable-xmlto \
)
touch $@
@@ -72,7 +79,7 @@ $(TARGET_DIR)/$(ALSA_UTILS_TARGET_BINARY): $(ALSA_UTILS_DIR)/$(ALSA_UTILS_BINARY
fi
touch -c $@
-alsa-utils: alsa-lib ncurses $(if $(BR2_PACKAGE_LIBINTL),libintl) $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(TARGET_DIR)/$(ALSA_UTILS_TARGET_BINARY)
+alsa-utils: alsa-lib $(if $(BR2_PACKAGE_NCURSES),ncurses) $(if $(BR2_PACKAGE_LIBINTL),libintl) $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(TARGET_DIR)/$(ALSA_UTILS_TARGET_BINARY)
alsa-utils-unpacked: $(ALSA_UTILS_DIR)/.unpacked