config BR2_PACKAGE_CAIROMM
	bool "cairomm (latest)"
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
	depends on BR2_USE_WCHAR # libglib2
	depends on BR2_USE_MMU # libglib2
	depends on BR2_INSTALL_LIBSTDCPP
	select BR2_PACKAGE_CAIRO
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_LIBSIGC
	help
	  The cairomm package is a set of C++ bindings for Cairo.

	  https://www.cairographics.org/cairomm/

comment "cairomm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
		|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
