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 <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Ross Burton authored and Khem Raj committed 2026-09-21 08:13:56 -07:00
1 parent ad38a7f3a1
commit 37528b98ca
1 file changed
+4 -2
+4 -2
View File
@@ -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
}