1config BR2_PACKAGE_QPDF
2	bool "qpdf"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
5	depends on BR2_TOOLCHAIN_HAS_ATOMIC
6	select BR2_PACKAGE_ZLIB
7	select BR2_PACKAGE_JPEG
8	select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL
9	help
10	  QPDF is a command-line program that does structural,
11	  content- preserving transformations on PDF files. It could
12	  have been called something like pdf-to-pdf. It also provides
13	  many useful capabilities to developers of PDF-producing
14	  software or for people who just want to look at the innards
15	  of a PDF file to learn more about how they work.
16
17	  http://qpdf.sourceforge.net/
18
19comment "qpdf needs a toolchain w/ C++, gcc >= 5"
20	depends on BR2_TOOLCHAIN_HAS_ATOMIC
21	depends on !BR2_INSTALL_LIBSTDCPP || \
22		!BR2_TOOLCHAIN_GCC_AT_LEAST_5
23