]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
tiff: Add PACKAGECONFIG for liblerc
authorZoltán Böszörményi <zboszor@gmail.com>
Tue, 2 Sep 2025 07:19:13 +0000 (09:19 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Sep 2025 10:40:07 +0000 (11:40 +0100)
tiff-native may pick up liblerc from the host using the .so
symlink, in which case it's added as a private requirement
in libtiff-4.pc. That in turn causes a build error in
gtk4-native in Yocto because Lerc.pc does not exist.

This was observed on Fedora 42 with gdk-pixbuf2-devel installed
on the host where libtiff is a dependency of gdk-pixbuf2 and
libtiff 4.7.0 is built with liblerc enabled.

Add a new PACKAGECONFIG setting for liblerc but keep it disabled
since liblerc does not exist in Yocto at the moment.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Backport-to: walnascar
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/libtiff/tiff_4.7.0.bb

index 2155ac8df45a497ad831610453efb5e99c924d42..4fb74f387eba106e94b8537510a2b29579dc8bbb 100644 (file)
@@ -39,6 +39,7 @@ PACKAGECONFIG ?= "cxx jpeg zlib lzma \
 PACKAGECONFIG[cxx] = "--enable-cxx,--disable-cxx,,"
 PACKAGECONFIG[jbig] = "--enable-jbig,--disable-jbig,jbig,"
 PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg,"
+PACKAGECONFIG[lerc] = "--enable-lerc,--disable-lerc,liblerc,"
 PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib,"
 PACKAGECONFIG[lzma] = "--enable-lzma,--disable-lzma,xz,"
 PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp,"