Update package version to 1.21.1

This commit is contained in:
2026-01-02 13:50:37 +02:00
parent 0a2d138f99
commit b09d902ba8
3 changed files with 5 additions and 32 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
name: libheif name: libheif
description: HEIF and AVIF file format decoder and encoder description: HEIF and AVIF file format decoder and encoder
version: 1.20.2 version: 1.21.1
revision: 2 revision: 1
url: https://github.com/strukturag/libheif url: https://github.com/strukturag/libheif
license: LGPL3-or-later license: LGPL3-or-later
architecture: any architecture: any
@@ -35,4 +35,4 @@ downloads:
- url: https://github.com/strukturag/libheif/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz - url: https://github.com/strukturag/libheif/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
extract_strip_components: 1 extract_strip_components: 1
checksum: b70340395d84184bb8dfc833dd51c95ae049435f7ff9abc7b505a08b5ee2bd2a checksum: 6e6b780031947f34ac7f9713196d18832700a74648e518d5b1d451ba5da04cdb
-22
View File
@@ -1,22 +0,0 @@
From 6c3fb973c5d9f954899839f6f4aaa6a173cab098 Mon Sep 17 00:00:00 2001
From: Joachim Bauch <[email protected]>
Date: Mon, 28 Jul 2025 09:21:22 +0200
Subject: [PATCH] Fix undefined symbol "Error::Ok" in svtenc plugin.
---
libheif/plugins/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libheif/plugins/CMakeLists.txt b/libheif/plugins/CMakeLists.txt
index f7379c09da..643f413a1c 100644
--- a/libheif/plugins/CMakeLists.txt
+++ b/libheif/plugins/CMakeLists.txt
@@ -66,7 +66,7 @@ set(AOM_ENCODER_extra_plugin_sources ../error.cc ../common_utils.cc ../common_ut
plugin_compilation(aomenc AOM AOM_ENCODER_FOUND AOM_ENCODER AOM_ENCODER)
set(SvtEnc_sources encoder_svt.cc encoder_svt.h)
-set(SvtEnc_extra_plugin_sources ../common_utils.cc ../common_utils.h)
+set(SvtEnc_extra_plugin_sources ../error.cc ../common_utils.cc ../common_utils.h)
plugin_compilation(svtenc SvtEnc SvtEnc_FOUND SvtEnc SvtEnc)
set(RAV1E_sources encoder_rav1e.cc encoder_rav1e.h)
+2 -7
View File
@@ -2,13 +2,6 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The prepare function is executed in the root of the temp directory
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
patch -Np1 -i "$BPM_WORKDIR"/svt-av1-fix.patch
}
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
@@ -16,10 +9,12 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_DAV1D=ON \ -DWITH_DAV1D=ON \
-DWITH_RAV1E=ON \ -DWITH_RAV1E=ON \
-DIWTH_OPENH264=ON \
-DWITH_FFMPEG_DECODER=ON \ -DWITH_FFMPEG_DECODER=ON \
-DWITH_FFMPEG_DECODER_PLUGIN=ON \ -DWITH_FFMPEG_DECODER_PLUGIN=ON \
-DWITH_SvtEnc=ON \ -DWITH_SvtEnc=ON \
-DWITH_OpenJPEG_DECODER=ON \ -DWITH_OpenJPEG_DECODER=ON \
-DWITH_X264=OFF \
-DWITH_GDK_PIXBUF=OFF \ -DWITH_GDK_PIXBUF=OFF \
-DWITH_EXAMPLE_HEIF_THUMB=OFF -DWITH_EXAMPLE_HEIF_THUMB=OFF
cmake --build build cmake --build build