config BR2_PACKAGE_GRANTLEE
	bool "grantlee"
	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # Qt Script
	depends on (BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT && BR2_PACKAGE_QT) || \
		(BR2_PACKAGE_QT5_JSCORE_AVAILABLE && BR2_PACKAGE_QT5)
	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
	# https://sourceware.org/bugzilla/show_bug.cgi?id=20173
	depends on !BR2_microblaze && !BR2_nios2
	select BR2_PACKAGE_QT_STL if BR2_PACKAGE_QT
	select BR2_PACKAGE_QT_SCRIPT if BR2_PACKAGE_QT
	select BR2_PACKAGE_QT_GUI_MODULE if BR2_PACKAGE_QT
	select BR2_PACKAGE_QT5SCRIPT if BR2_PACKAGE_QT5
	select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5
	help
	  Qt implementation of the Django template framework

	  http://www.grantlee.org

comment "grantlee needs a toolchain with NPTL not affected by Binutils bug 19405"
	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
	depends on !BR2_microblaze && !BR2_nios2
	depends on (BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT && BR2_PACKAGE_QT) || \
		(BR2_PACKAGE_QT5_JSCORE_AVAILABLE && BR2_PACKAGE_QT5) || \
		BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
