config BR2_PACKAGE_QPDF
	bool "qpdf"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
	select BR2_PACKAGE_ZLIB
	select BR2_PACKAGE_JPEG
	help
	  QPDF is a command-line program that does structural,
	  content- preserving transformations on PDF files. It could
	  have been called something like pdf-to-pdf. It also provides
	  many useful capabilities to developers of PDF-producing
	  software or for people who just want to look at the innards
	  of a PDF file to learn more about how they work.

	  http://qpdf.sourceforge.net/

comment "qpdf needs a toolchain w/ C++, wchar, gcc >= 4.7"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7