| 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_9 # mupdf -> harfbuzz | |
| depends on !BR2_STATIC_LIBS # runtime failure | |
| select BR2_PACKAGE_HOST_SWIG | |
| select BR2_PACKAGE_FREETYPE | |
| select BR2_PACKAGE_MUPDF | |
| select BR2_PACKAGE_PYTHON3_ZLIB # runtime | |
| help | |
| Python bindings for the PDF rendering library MuPDF. | |
| https://github.com/pymupdf/PyMuPDF | |
| comment "python-pymupdf needs a toolchain w/ C++, gcc >= 4.9, dynamic library" | |
| depends on BR2_TOOLCHAIN_HAS_SYNC_4 | |
| depends on !BR2_INSTALL_LIBSTDCPP || \ | |
| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ | |
| BR2_STATIC_LIBS |