config BR2_PACKAGE_POPPLER
	bool "poppler"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	select BR2_PACKAGE_FONTCONFIG
	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
	select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
	help
	  Poppler is a PDF rendering library based on the xpdf-3.0 code base.

	  http://poppler.freedesktop.org/

if BR2_PACKAGE_POPPLER

config BR2_PACKAGE_POPPLER_QT
	bool "Qt support"
	depends on BR2_PACKAGE_QT
	select BR2_PACKAGE_QT_GUI_MODULE
	select BR2_PACKAGE_QT_XML
	help
	  Build Qt support into the Poppler library

endif

comment "poppler needs a toolchain w/ C++, threads"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
