| config BR2_PACKAGE_POPPLER | |
| bool "poppler" | |
| depends on BR2_USE_WCHAR | |
| depends on BR2_INSTALL_LIBSTDCPP | |
| depends on BR2_TOOLCHAIN_HAS_THREADS | |
| depends on !BR2_STATIC_LIBS | |
| depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 | |
| select BR2_PACKAGE_FONTCONFIG | |
| select BR2_PACKAGE_ZLIB | |
| help | |
| Poppler is a PDF rendering library based on the xpdf-3.0 | |
| code base. | |
| https://poppler.freedesktop.org/ | |
| if BR2_PACKAGE_POPPLER | |
| config BR2_PACKAGE_POPPLER_QT5 | |
| bool "Qt5 support" | |
| depends on BR2_PACKAGE_QT5 | |
| select BR2_PACKAGE_QT5BASE_GUI | |
| select BR2_PACKAGE_QT5BASE_WIDGETS | |
| select BR2_PACKAGE_QT5BASE_XML | |
| help | |
| Build Qt support into the Poppler library | |
| config BR2_PACKAGE_POPPLER_UTILS | |
| bool "command line utils" | |
| help | |
| Compile poppler command line utils. | |
| endif | |
| comment "poppler needs a toolchain w/ wchar, C++, threads, dynamic library, gcc >= 7" | |
| depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ | |
| !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ | |
| !BR2_TOOLCHAIN_GCC_AT_LEAST_5 |