config BR2_PACKAGE_LIBCAMERA
	bool "libcamera"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	# C++11 + https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54316
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
	depends on BR2_PACKAGE_HAS_UDEV
	help
	  libcamera provides a software stack to support
	  complex devices that need heavy hardware image
	  processing operations.

	  http://www.libcamera.org/

comment "libcamera needs udev and a toolchain w/ C++, threads, gcc >= 5"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_5 || !BR2_PACKAGE_HAS_UDEV
