| config BR2_PACKAGE_PYTHON_PYMUPDF | |
| bool "python-pymupdf" | |
| depends on BR2_INSTALL_LIBSTDCPP # mupdf -> harfbuzz | |
| depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mupdf -> harfbuzz | |
| depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # mupdf -> harfbuzz | |
| depends on BR2_PACKAGE_XORG7 | |
| depends on BR2_PACKAGE_PYTHON3 | |
| select BR2_PACKAGE_FREETYPE | |
| select BR2_PACKAGE_MUPDF | |
| select BR2_PACKAGE_ZLIB | |
| help | |
| Python bindings for the PDF rendering library MuPDF. | |
| https://github.com/pymupdf/PyMuPDF | |
| comment "python-pymupdf needs Xorg" | |
| depends on BR2_PACKAGE_PYTHON3 | |
| depends on BR2_TOOLCHAIN_HAS_SYNC_4 | |
| depends on !BR2_PACKAGE_XORG7 | |
| comment "python-pymupdf needs a toolchain w/ C++, gcc >= 4.8" | |
| depends on BR2_PACKAGE_PYTHON3 | |
| depends on BR2_TOOLCHAIN_HAS_SYNC_4 | |
| depends on !BR2_INSTALL_LIBSTDCPP || \ | |
| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 |