package/mupdf: drop MUPDF_PKG_CONFIG_PACKAGES

This variable might have been needed in the very distant past to help
mupdf find libraries, but mupdf's Makefile now properly uses
pkg-config to find the 5 libraries freetype2, gumbo, harfbuzz, libjpeg
and zlib, so our code has become redundant: drop it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f7deaa1330baad303afb76a7711faeeb1ddfee5d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni 2024-07-13 18:25:42 +02:00 committed by Peter Korsgaard
parent 0f8fc92755
commit 126b7ffee7

View File

@ -22,22 +22,12 @@ MUPDF_DEPENDENCIES = \
xlib_libX11 \ xlib_libX11 \
zlib zlib
# The pkg-config name for gumbo-parser is `gumbo`.
MUPDF_PKG_CONFIG_PACKAGES = \
freetype2 \
gumbo \
harfbuzz \
libjpeg \
zlib
MUPDF_CFLAGS = \ MUPDF_CFLAGS = \
$(TARGET_CFLAGS) \ $(TARGET_CFLAGS) \
`$(PKG_CONFIG_HOST_BINARY) --cflags $(MUPDF_PKG_CONFIG_PACKAGES)` \
-fPIC # -fPIC is needed because the Makefile doesn't append it. -fPIC # -fPIC is needed because the Makefile doesn't append it.
MUPDF_LDFLAGS = \ MUPDF_LDFLAGS = \
$(TARGET_LDFLAGS) \ $(TARGET_LDFLAGS)
`$(PKG_CONFIG_HOST_BINARY) --libs $(MUPDF_PKG_CONFIG_PACKAGES)`
# mupdf doesn't use CFLAGS and LIBS but XCFLAGS and XLIBS instead. # mupdf doesn't use CFLAGS and LIBS but XCFLAGS and XLIBS instead.
# with USE_SYSTEM_LIBS it will try to use system libraries instead of the bundled ones. # with USE_SYSTEM_LIBS it will try to use system libraries instead of the bundled ones.