From: Mikko Rapeli Date: Wed, 24 Sep 2025 11:32:14 +0000 (+0300) Subject: fontconfig: disable tests X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d039d959c51f3402631014139c4d6208416b1b7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git fontconfig: disable tests The tests require json-c library which is not explicit in build dependencies: ../sources/fontconfig-2.17.1/test/test-conf.c:27:10: fatal error: json.h: No such file or directory 27 | #include The tests are not used so just disable them. Signed-off-by: Mikko Rapeli Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.17.1.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.17.1.bb index 22bdfb139c..de2642bdd1 100644 --- a/meta/recipes-graphics/fontconfig/fontconfig_2.17.1.bb +++ b/meta/recipes-graphics/fontconfig/fontconfig_2.17.1.bb @@ -65,6 +65,12 @@ FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig" # /usr/share/fonts is already included by default (you can change it with --with-default-fonts) FONTCONFIG_FONT_DIRS ?= "no" -EXTRA_OEMESON = " -Ddoc=disabled -Ddefault-fonts-dirs=${datadir}/fonts -Dcache-dir=${FONTCONFIG_CACHE_DIR} -Dadditional-fonts-dirs=${FONTCONFIG_FONT_DIRS}" +EXTRA_OEMESON = "\ + -Dadditional-fonts-dirs=${FONTCONFIG_FONT_DIRS} \ + -Dcache-dir=${FONTCONFIG_CACHE_DIR} \ + -Ddefault-fonts-dirs=${datadir}/fonts \ + -Ddoc=disabled \ + -Dtests=disabled \ +" BBCLASSEXTEND = "native nativesdk"