config BR2_PACKAGE_GLIBMM2_66
	bool "glibmm (2.66.x)"
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # regex_replace
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR # libglib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
	depends on BR2_USE_MMU # libglib2
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_LIBSIGC2
	help
	  The GLibmm package is a set of C++ bindings for GLib.

	  This is the last version before the API and ABI change
	  introduced in 2.68.0 which requires C++17.

	  http://www.gtkmm.org/

comment "glibmm (2.66.x) needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
		|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
