config BR2_PACKAGE_PANGO
	bool "pango"
	depends on BR2_USE_WCHAR # glib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
	depends on BR2_USE_MMU # glib2
	depends on BR2_INSTALL_LIBSTDCPP # freetype support
	depends on BR2_ARCH_HAS_ATOMICS # cairo
	select BR2_PACKAGE_LIBGLIB2
	select BR2_PACKAGE_EXPAT
	select BR2_PACKAGE_CAIRO
	select BR2_PACKAGE_FONTCONFIG
	select BR2_PACKAGE_FREETYPE
	select BR2_PACKAGE_HARFBUZZ
	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
	help
	  Pango is a library for laying out and rendering of text, with an
	  emphasis on internationalization. Pango can be used anywhere that
	  text layout is needed, though most of the work on Pango so far has
	  been done in the context of the GTK+ widget toolkit. Pango forms the
	  core of text and font handling for GTK+-2.x.

	  http://www.pango.org/

comment "pango needs a toolchain w/ wchar, threads, C++"
	depends on BR2_USE_MMU
	depends on BR2_ARCH_HAS_ATOMICS
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_INSTALL_LIBSTDCPP
