config BR2_PACKAGE_LIBCEC
	bool "libcec"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_WCHAR
	depends on !BR2_STATIC_LIBS
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
	select BR2_PACKAGE_LIBPLATFORM
	help
	  libcec allows you in combination with the right hardware to
	  control your home theater devices with your TV remote
	  control utilizing existing HDMI cabling.

	  http://libcec.pulse-eight.com

comment "libcec needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.7"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
		BR2_STATIC_LIBS
