config BR2_PACKAGE_LIBGLADE
	bool "libglade"
	depends on BR2_PACKAGE_LIBGTK2
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
	depends on BR2_USE_MMU # glib2
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_AT_SPI2_CORE
	select BR2_PACKAGE_LIBXML2
	help
	  Libglade allows you to load glade interface files in a program
	  at runtime. It doesn't require GLADE to be used, but GLADE is
	  by far the easiest way to create the interface files.

	  https://download.gnome.org/sources/libglade/

comment "libglade needs a toolchain w/ wchar, threads"
	depends on BR2_USE_MMU
	depends on BR2_PACKAGE_LIBGTK2
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
