f00da714a2
It turns out the patch version of python-pymupdf doesn't have to match mupdf's version (i.e. python-pymupdf 1.18.14 is compatible with mupdf 1.18.*) so remove the word "exactly" from the comment. mupdf now has a new dependency: gumbo-parser. gumbo-parser is included when downloading the sources for mupdf, but instead we use the version provided by Buildroot. While at it, take the chance to (based on previous review comments): - Fix indentation in the hash file (two spaces). - Switch to using the ".xz" archive. - Add a conditional on freeglut. Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
736 B
Plaintext
25 lines
736 B
Plaintext
config BR2_PACKAGE_MUPDF
|
|
bool "mupdf"
|
|
depends on BR2_INSTALL_LIBSTDCPP # harfbuzz
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # harfbuzz
|
|
depends on BR2_PACKAGE_XORG7
|
|
select BR2_PACKAGE_FREETYPE
|
|
select BR2_PACKAGE_GUMBO_PARSER
|
|
select BR2_PACKAGE_HARFBUZZ
|
|
select BR2_PACKAGE_JBIG2DEC
|
|
select BR2_PACKAGE_JPEG
|
|
select BR2_PACKAGE_LCMS2
|
|
select BR2_PACKAGE_OPENJPEG
|
|
select BR2_PACKAGE_XLIB_LIBX11
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
MuPDF is a lightweight PDF, XPS, and E-book viewer.
|
|
|
|
https://www.mupdf.com/index.html
|
|
|
|
comment "mupdf needs a toolchain w/ C++, gcc >= 4.8"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|