Files
buildroot/package/fontconfig/fontconfig.mk
Waldemar Brodkorb 20f31f90ad package/fontconfig: disable doc and tests for host
On Debian 13 doc generation fails. Disable it like for
the target.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2026-01-02 18:07:39 +01:00

37 lines
1.1 KiB
Makefile

################################################################################
#
# fontconfig
#
################################################################################
FONTCONFIG_VERSION = 2.17.1
FONTCONFIG_SITE = https://gitlab.freedesktop.org/api/v4/projects/890/packages/generic/fontconfig/$(FONTCONFIG_VERSION)
FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.xz
FONTCONFIG_INSTALL_STAGING = YES
FONTCONFIG_DEPENDENCIES = freetype expat host-pkgconf host-gperf \
$(TARGET_NLS_DEPENDENCIES)
HOST_FONTCONFIG_DEPENDENCIES = host-freetype host-expat host-pkgconf \
host-gperf host-gettext
FONTCONFIG_LICENSE = fontconfig license
FONTCONFIG_LICENSE_FILES = COPYING
FONTCONFIG_CPE_ID_VALID = YES
HOST_FONTCONFIG_CONF_OPTS = \
-Dtests=disabled \
-Ddoc=disabled
FONTCONFIG_CONF_OPTS = \
-Dcache-dir=/var/cache/fontconfig \
-Dtests=disabled \
-Ddoc=disabled
FONTCONFIG_CFLAGS = $(TARGET_CFLAGS)
# See: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/436
ifeq ($(BR2_DEBUG_3),y)
FONTCONFIG_CFLAGS += -g2
endif
$(eval $(meson-package))
$(eval $(host-meson-package))