alsamixergui: use a normal 'select' statement for the alsa-lib dependency
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Sep 2012 07:21:38 +0000 (07:21 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 20 Sep 2012 19:51:27 +0000 (21:51 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/alsamixergui/Config.in

index 3afc31416cea03165f86a74df64120037c078286..39809d9193bba6e4a1682d11a7b2c549934f1c7e 100644 (file)
@@ -1,15 +1,16 @@
 config BR2_PACKAGE_ALSAMIXERGUI
        depends on BR2_PACKAGE_XORG7
-       depends on BR2_PACKAGE_ALSA_LIB
        depends on BR2_INSTALL_LIBSTDCPP
        select BR2_PACKAGE_FLTK
+       select BR2_PACKAGE_ALSA_LIB
        select BR2_PACKAGE_ALSA_LIB_PCM
        select BR2_PACKAGE_ALSA_LIB_MIXER
+       depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
        bool "alsamixergui"
        help
          A nice GUI mixer for Alsa using fltk
 
          http://www.iua.upf.es/~mdeboer/projects/alsamixergui/
 
-comment "alsamixergui requires a toolchain with C++ support enabled"
-       depends on !BR2_INSTALL_LIBSTDCPP && BR2_PACKAGE_XORG7 && BR2_PACKAGE_ALSA_LIB
+comment "alsamixergui requires a toolchain with C++ and threads support enabled"
+       depends on (!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS) && BR2_PACKAGE_XORG7