From b09d902ba893bade499e2e86c466e0602ecb8858 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 2 Jan 2026 13:50:37 +0200 Subject: [PATCH] Update package version to 1.21.1 --- pkg.info | 6 +++--- source-files/svt-av1-fix.patch | 22 ---------------------- source.sh | 9 ++------- 3 files changed, 5 insertions(+), 32 deletions(-) delete mode 100644 source-files/svt-av1-fix.patch diff --git a/pkg.info b/pkg.info index 782a185..1af0b84 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: libheif description: HEIF and AVIF file format decoder and encoder -version: 1.20.2 -revision: 2 +version: 1.21.1 +revision: 1 url: https://github.com/strukturag/libheif license: LGPL3-or-later architecture: any @@ -35,4 +35,4 @@ downloads: - url: https://github.com/strukturag/libheif/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: b70340395d84184bb8dfc833dd51c95ae049435f7ff9abc7b505a08b5ee2bd2a + checksum: 6e6b780031947f34ac7f9713196d18832700a74648e518d5b1d451ba5da04cdb diff --git a/source-files/svt-av1-fix.patch b/source-files/svt-av1-fix.patch deleted file mode 100644 index fc8bbc2..0000000 --- a/source-files/svt-av1-fix.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 6c3fb973c5d9f954899839f6f4aaa6a173cab098 Mon Sep 17 00:00:00 2001 -From: Joachim Bauch -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) diff --git a/source.sh b/source.sh index ba9cc1a..91ef196 100644 --- a/source.sh +++ b/source.sh @@ -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 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 # This function is used to compile the source code build() { @@ -16,10 +9,12 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DWITH_DAV1D=ON \ -DWITH_RAV1E=ON \ + -DIWTH_OPENH264=ON \ -DWITH_FFMPEG_DECODER=ON \ -DWITH_FFMPEG_DECODER_PLUGIN=ON \ -DWITH_SvtEnc=ON \ -DWITH_OpenJPEG_DECODER=ON \ + -DWITH_X264=OFF \ -DWITH_GDK_PIXBUF=OFF \ -DWITH_EXAMPLE_HEIF_THUMB=OFF cmake --build build