From 37528b98ca5a4fb6a07dfb1d40f9ae08ff13bfa4 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 17 Sep 2026 17:03:40 +0100 Subject: [PATCH] lcms: add PACKAGECONFIGs for the optional JPEG and TIFF libraries These optional libraries are used by the tools. JPEG was implicitly enabled previously, as our tiff recipe by default pulls in libjpeg. Signed-off-by: Ross Burton Signed-off-by: Khem Raj --- meta-oe/recipes-support/lcms/lcms_2.19.1.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-support/lcms/lcms_2.19.1.bb b/meta-oe/recipes-support/lcms/lcms_2.19.1.bb index ffa40ea9a4..cc68cccbba 100644 --- a/meta-oe/recipes-support/lcms/lcms_2.19.1.bb +++ b/meta-oe/recipes-support/lcms/lcms_2.19.1.bb @@ -8,14 +8,16 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lcms/lcms2-${PV}.tar.gz \ " SRC_URI[sha256sum] = "bfc54f7bab59fbc921012014a8032e4cba4abd46db47d46b76416a8c0b2815c8" -DEPENDS = "tiff" - BBCLASSEXTEND = "native nativesdk" S = "${UNPACKDIR}/lcms2-${PV}" inherit autotools sourceforge-releases lib_package ptest +PACKAGECONFIG ??= "jpeg tiff" +PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,jpeg" +PACKAGECONFIG[tiff] = "--with-tiff,--without-tiff,tiff" + do_compile_ptest() { oe_runmake -C ${B}/testbed testcms }