alsa-utils: fix dependencies
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 14 Mar 2011 22:59:10 +0000 (23:59 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 14 Mar 2011 22:59:10 +0000 (23:59 +0100)
Most alsa utilites depend on specific alsa-lib options, so ensure those
are selected. Arecord is furthermore just a symlink to aplay these days,
so get rid of the option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/alsa-utils/Config.in
package/multimedia/alsa-utils/alsa-utils.mk

index b85ff7e5586c0534363c5e13a66e5f90961e7e2e..c65e33f83dbbcfb79637993306f9830ebdef59fe 100644 (file)
@@ -27,6 +27,7 @@ config BR2_PACKAGE_ALSA_UTILS_ALSAMIXER
        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
 
@@ -34,36 +35,43 @@ 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
-       bool "aplay"
-
-config BR2_PACKAGE_ALSA_UTILS_ARECORD
-       bool "arecord"
+       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
index 26c270bac4546c8a53f3e705a93d7502bc7d3dd8..d5c34d3074251d4a7f4c5ce7ab6da4e5a48ce933 100644 (file)
@@ -26,8 +26,7 @@ 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
-ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ARECORD) += usr/bin/arecord
+ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_APLAY) += usr/bin/aplay usr/bin/arecord
 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_APLAYMIDI) += usr/bin/aplaymidi