From b1514a950eb0187046672940e5e2eb857a4d3226 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 8 Mar 2026 12:49:58 +0200 Subject: [PATCH] Update package version to 1.4.0 --- pkg.info | 6 +++--- source-files/svt-av1-4.0-fix.patch | 25 ------------------------- source.sh | 7 ------- 3 files changed, 3 insertions(+), 35 deletions(-) delete mode 100644 source-files/svt-av1-4.0-fix.patch diff --git a/pkg.info b/pkg.info index 3b3bfa0..8408ba7 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: libavif description: Library for encoding and decoding .avif files -version: 1.3.0 -revision: 3 +version: 1.4.0 +revision: 1 url: https://github.com/AOMediaCodec/libavif license: LicenseRef-libavif maintainers: @@ -25,4 +25,4 @@ downloads: - url: https://github.com/AOMediaCodec/libavif/archive/v${BPM_PKG_VERSION}/libavif-${BPM_PKG_VERSION}.tar.gz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: 0a545e953cc049bf5bcf4ee467306a2f113a75110edf59e61248873101cd26c1 + checksum: 713e2b998ca0bf5473fe4624afdbc7fa9f6e4799dd414020fe67d56f6997bf4e diff --git a/source-files/svt-av1-4.0-fix.patch b/source-files/svt-av1-4.0-fix.patch deleted file mode 100644 index e72eba6..0000000 --- a/source-files/svt-av1-4.0-fix.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 34a14decb6732c8abf01e6135a9a1dd55b58e33a Mon Sep 17 00:00:00 2001 -From: Brad Smith -Date: Sat, 24 Jan 2026 22:05:01 -0500 -Subject: [PATCH] fix(svt): Fix building with SVT-AV1 4.0 - ---- - src/codec_svt.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/codec_svt.c b/src/codec_svt.c -index 3c7751333a..e81b30cf3c 100644 ---- a/src/codec_svt.c -+++ b/src/codec_svt.c -@@ -170,7 +170,11 @@ static avifResult svtCodecEncodeImage(avifCodec * codec, - #else - svt_config->logical_processors = encoder->maxThreads; - #endif -+#if SVT_AV1_CHECK_VERSION(4, 0, 0) -+ svt_config->aq_mode = 2; -+#else - svt_config->enable_adaptive_quantization = 2; -+#endif - // disable 2-pass - #if SVT_AV1_CHECK_VERSION(0, 9, 0) - svt_config->rc_stats_buffer = (SvtAv1FixedBuf) { NULL, 0 }; diff --git a/source.sh b/source.sh index b210012..acbe84b 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-4.0-fix.patch -} - # The build function is executed in the source directory # This function is used to compile the source code build() {