package/spice: don't enable GUI if dependencies not met

The spice GUI selects unconditionally selects cegui06, but cegui06 requires
threads and C++, so spice GUI must also depend on threads and C++.

Fixes:
    http://autobuild.buildroot.net/results/37f8ee90bb4348db97daef83493005c42a193b91/

Merry X-Mas! ;-)

[Peter: add SPICE_CLIENT dependency]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Yann E. MORIN 2012-12-25 08:11:29 +00:00 committed by Peter Korsgaard
parent 6b449ed5df
commit a61d33a344

View File

@ -35,8 +35,14 @@ config BR2_PACKAGE_SPICE_CLIENT
select BR2_PACKAGE_XLIB_LIBXFIXES
select BR2_PACKAGE_XLIB_LIBXRANDR
comment "GUI requires a toolchain with threads and C++"
depends on BR2_PACKAGE_SPICE_CLIENT
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_SPICE_GUI
bool "Enable GUI"
depends on BR2_TOOLCHAIN_HAS_THREADS # cegui06
depends on BR2_INSTALL_LIBSTDCPP # cegui06
depends on BR2_PACKAGE_SPICE_CLIENT
select BR2_PACKAGE_CEGUI06
help