blob: ecaa5496b513cb374e187cf886bc1f81c8197761 [file] [log] [blame]
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_PACKAGE_XORG7
select BR2_PACKAGE_HOST_SWIG
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_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_PACKAGE_XORG7
comment "python-pymupdf needs a toolchain w/ C++, gcc >= 4.9"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9