From: Good Guy <good1.2guy@gmail.com>
Date: Mon, 4 Nov 2024 16:43:11 +0000 (-0700)
Subject: update SVT-AV1 to latest version of 2.3.0 from 2.2.1
X-Git-Tag: 2024-12~4
X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=3952e37723865afdeab828f744dc3fc781c8672e;p=goodguy%2Fcinelerra.git

update SVT-AV1 to latest version of 2.3.0 from 2.2.1
---

diff --git a/cinelerra-5.1/configure.ac b/cinelerra-5.1/configure.ac
index 35b414f3..93e34b6d 100644
--- a/cinelerra-5.1/configure.ac
+++ b/cinelerra-5.1/configure.ac
@@ -468,7 +468,7 @@ PKG_3RD([libaom],[auto],
   [ usr/local/include ])
 
 PKG_3RD([libsvtav1],[no],
-  [libsvtav1-v2.2.1],
+  [libsvtav1-v2.3.0],
   [ usr/local/lib*/libSvtAv1Enc.a ],
   [ usr/local/include/svt-av1 ])
 
diff --git a/cinelerra-5.1/thirdparty/downloads.txt b/cinelerra-5.1/thirdparty/downloads.txt
index 11e25c5d..64d8ef0d 100644
--- a/cinelerra-5.1/thirdparty/downloads.txt
+++ b/cinelerra-5.1/thirdparty/downloads.txt
@@ -15,7 +15,7 @@ https://sourceforge.net/projects/libdv/files/latest/download?source=directory =
 https://sourceforge.net/projects/giflib/files/latest/download = 5.2.2
 https://github.com/xiph/flac/releases/tag/1.4.3
 https://github.com/uclouvain/openjpeg/ = Releases=sourcefiles openjpeg-2.5.2.tar.gz
-https://sourceforge.net/projects/libjpeg-turbo/ = Code (GitHub)=sourcefiles/2.1.2/libjpeg-turbo-3.0.4.tar.gz
+https://github.com/libjpeg-turbo/libjpeg-turbo/tags
 https://sourceforge.net/projects/mjpeg/files/mjpegtools/2.2.1/
 http://www.fftw.org/fftw-3.3.10.tar.gz
 # Not sure why festival is in here but it is now at 2.5 since 25-Dec-2017
@@ -40,7 +40,7 @@ https://bitbucket.org/multicoreware/x265_git/downloads/x265_4.0.tar.gz (Sept. 20
 https://ffmpeg.org/releases/ffmpeg-7.0.tar.xz
 https://github.com/webmproject/libvpx/tags (v1.14.1.tar.gz)
 https://code.videolan.org/videolan/dav1d/-/archive/0.5.1/dav1d-0.5.1.tar.gz
-https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases  (2.2.1)
+https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases  (2.3.0)
 https://github.com/swh/ladspa/releases/tag/v0.4.17, plugin.org.uk
 https://archive.mozilla.org/pub/opus/opus-1.3.1.tar.gz
 #https://github.com/webmproject/libwebp = libwebp-1.3.2
diff --git a/cinelerra-5.1/thirdparty/src/libsvtav1-v2.3.0.patch0 b/cinelerra-5.1/thirdparty/src/libsvtav1-v2.3.0.patch0
new file mode 100644
index 00000000..286d33c8
--- /dev/null
+++ b/cinelerra-5.1/thirdparty/src/libsvtav1-v2.3.0.patch0
@@ -0,0 +1,11 @@
+--- libsvtav1-v2.2.1/CMakeLists.txt
++++ libsvtav1-v2.2.1/CMakeLists.txt
+@@ -9,7 +9,7 @@
+ # PATENTS file, you can obtain it at https://www.aomedia.org/license/patent-license.
+ #
+ 
+-cmake_minimum_required(VERSION 3.16)
++cmake_minimum_required(VERSION 3.12)
+ 
+ if("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
+     message(WARNING "Building in-source is highly not recommended\n"
diff --git a/cinelerra-5.1/thirdparty/src/libsvtav1-v2.3.0.tar.xz b/cinelerra-5.1/thirdparty/src/libsvtav1-v2.3.0.tar.xz
new file mode 100644
index 00000000..6a5d5774
Binary files /dev/null and b/cinelerra-5.1/thirdparty/src/libsvtav1-v2.3.0.tar.xz differ