Skip to contentSkip to conversation

libheif: upgrade 1.20.2 -> 1.21.2

PATCH New Gyorgy Sarvari 1 participant 2 messages Mar 9

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libheif: upgrade 1.20.2 -> 1.21.2

Changelog:

1.21.2:
- build script for JS/WASM now supports building with JPEG2000 and "ISO23001-17 Uncompressed" support.
- image sequence SAI data now works when using the OpenH264 decoder plugin

1.21.1:
- This patch release only fixes a build error with some GCC versions because of a missing #include.

1.21.0:
- CVE-2025-68431 fixed
- This release adds full support for reading and writing HEIF image sequences.
- libheif will now encode HEIF image sequences with all included codecs.
- Since HEIF image sequences are very similar to MP4 videos, this new version is also capable of decoding most MP4 videos (without audio, of course).
- Support for image sequences with alpha channels. For most codecs, the alpha channel will be stored in a separate, auxiliary, monochrome track. For ISO/IEC 23001-17 (uncompressed) streams, the alpha channel is stored in the main video track.
- Support for sequence track edit lists to define the number of sequence repetitions (without actually repeating the video data).
- New encoder plugin using x264 to write H.264-compressed video streams and images.
- The FFmpeg decoder plugin will now decode both H.265 and H.264.
- Support for HEIF text items and language properties

---
 .../libheif/{libheif_1.20.2.bb => libheif_1.21.2.bb}          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-multimedia/recipes-multimedia/libheif/{libheif_1.20.2.bb => libheif_1.21.2.bb} (94%)
meta-multimedia/recipes-multimedia/libheif/libheif_1.21.2.bb renamed from meta-multimedia/recipes-multimedia/libheif/libheif_1.20.2.bb +2 -2
similarity index 94%
rename from meta-multimedia/recipes-multimedia/libheif/libheif_1.20.2.bb
rename to meta-multimedia/recipes-multimedia/libheif/libheif_1.21.2.bb
index b268b37d8e..7ccac771dc 100644
@@ -6,9 +6,9 @@ LICENSE_FLAGS = "commercial"
 
 COMPATIBLE_MACHINE:powerpc64le = "null"
 
-SRC_URI = "git://github.com/strukturag/libheif.git;protocol=https;branch=v1.20.x-releases"
+SRC_URI = "git://github.com/strukturag/libheif.git;protocol=https;branch=master;tag=v${PV}"
 
-SRCREV = "35dad50a9145332a7bfdf1ff6aef6801fb613d68"
+SRCREV = "62f1b8c76ed4d8305071fdacbe74ef9717bacac5"
 
 inherit cmake pkgconfig
 
#1 lore raw

PATCH 2/2 aom: add bindir to SYSROOT

The cmake files files installed by this recipe check the existence of the binaries in ${bindir}, and throw a fatal error in case it cannot find the expexted files.

Due to this, it is not possible to include aom in other cmake project, because it errors out:

The imported target "AOM::aomdec" references the file

|
|      ".../recipe-sysroot/usr/bin/aomdec"
|
|   but this file does not exist.  Possible reasons include: ...

To avoid this error, incldue the content of bindir in the sysroot.

---
 meta-multimedia/recipes-multimedia/aom/aom_3.13.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-multimedia/recipes-multimedia/aom/aom_3.13.1.bb +2 -0
index 141b02306d..b157dc79ec 100644
@@ -25,3 +25,5 @@ EXTRA_OECMAKE:append:riscv32 = " -DENABLE_RVV=OFF"
 do_generate_toolchain_file:append() {
     echo "set(AOM_AS_FLAGS --debug-prefix-map ${S}=${TARGET_DBGSRC_DIR})" >> ${WORKDIR}/toolchain.cmake
 }
+
+SYSROOT_DIRS += "${bindir}"