Update dependencies

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
nyanmisaka 2023-08-05 02:12:35 +08:00
parent 53d3b7d86b
commit 0773ee3aa7
34 changed files with 50 additions and 56 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/meganz/mingw-std-threads.git"
SCRIPT_COMMIT="6c2061b7da41d6aa1b2162ff4383ec3ece864bc6"
SCRIPT_COMMIT="c931bac289dd431f1dd30fc4a5d1a7be36668073"
ffbuild_enabled() {
[[ $TARGET == win* ]] || return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/GNOME/libxml2.git"
SCRIPT_COMMIT="884474477284474e0151280aaa275a18e3d7a036"
SCRIPT_COMMIT="58de9d31da4d0e8cb6bcf7f5e99714f9df2c4411"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/FFTW/fftw3.git"
SCRIPT_COMMIT="0842f00ae6b6e1f3aade155bc0edd17a7313fa6a"
SCRIPT_COMMIT="69f6c1a6ebd7ac5af33e7074134fb79fbc729c3d"
ffbuild_enabled() {
# Dependency of GPL-Only librubberband

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.freedesktop.org/freetype/freetype.git"
SCRIPT_COMMIT="e4586d960f339cf75e2e0b34aee30a0ed8353c0d"
SCRIPT_COMMIT="95a872085e5a79cf710acf6389dbd55b6e728aac"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_VERSION="6.2.1"
SCRIPT_SHA512="c99be0950a1d05a0297d65641dd35b75b74466f7bf03c9e8a99895a3b2f9a0856cd17887738fa51cf7499781b65c049769271cbcb77d057d2e9f1ec52e07dd84"
SCRIPT_VERSION="6.3.0"
SCRIPT_SHA512="e85a0dab5195889948a3462189f0e0598d331d3457612e2d3350799dba2e244316d256f8161df5219538eb003e4b5343f989aaa00f96321559063ed8c8f29fd2"
SCRIPT_URL="https://ftp.gnu.org/gnu/gmp/gmp-${SCRIPT_VERSION}.tar.xz"
ffbuild_enabled() {

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/openssl/openssl.git"
SCRIPT_COMMIT="OpenSSL_1_1_1u"
SCRIPT_COMMIT="OpenSSL_1_1_1v"
SCRIPT_TAGFILTER="OpenSSL_1_1_1*"
ffbuild_enabled() {

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/xz-mirror/xz.git"
SCRIPT_COMMIT="dbb3a536ed9873ffa0870321f6873e564c6a9da8"
SCRIPT_COMMIT="16068f6c30b888cdb873f6285af941d00f95741d"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.freedesktop.org/fontconfig/fontconfig.git"
SCRIPT_COMMIT="7e2a1b2577e8d90ea5be3f14091e809ac7742438"
SCRIPT_COMMIT="2fb3419a92156569bc1ec707401258c922cd0d99"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/harfbuzz/harfbuzz.git"
SCRIPT_COMMIT="d4bbe3f48663944385f25f608438e1eb678fc4b7"
SCRIPT_COMMIT="1d665c2b521512cdd56964138fc601debd1f1177"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.freedesktop.org/xorg/proto/xcbproto.git"
SCRIPT_COMMIT="cfcc51836c1f2c174b67073cc8bed92e7e9c9569"
SCRIPT_COMMIT="b016df100111b56d7c1a2c63ea6791b2287a83e4"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.freedesktop.org/xorg/proto/xorgproto.git"
SCRIPT_COMMIT="766967322209f2dcb72e6a8edea0c651f586201d"
SCRIPT_COMMIT="704a75eecdf177a8b18ad7e35813f2f979b0c277"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.freedesktop.org/xorg/lib/libxau.git"
SCRIPT_COMMIT="df1bf4fe528a5a9eef420f78efb225e4696ac467"
SCRIPT_COMMIT="68e74d37b99f56bbd1a5f2fb8cb4ad6116f27bd3"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.freedesktop.org/xorg/lib/libxcb.git"
SCRIPT_COMMIT="8935793f1f3751a6aa9d78955c7d6236177986de"
SCRIPT_COMMIT="038636786ad1914f3daf3503ae9611f40dffbb8f"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.freedesktop.org/xorg/lib/libx11.git"
SCRIPT_COMMIT="ab0442d3fa835ce16559b29532ac7f674f8557f4"
SCRIPT_COMMIT="b2c3fb7b4dd4c4c7b9d28c7af7776cccc8e0a98b"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.freedesktop.org/xorg/lib/libxcursor.git"
SCRIPT_COMMIT="a353f02a7ac4504ad5edb5407278c7a03c507aef"
SCRIPT_COMMIT="9c1b50ed98d354488329c99bc8bf77d1c6df657c"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git"
SCRIPT_COMMIT="bd5db31d3d8ea1fae7002dd903898599bdb7d97a"
SCRIPT_COMMIT="68f2396f1a55a5b12767f5433411bb4093ea65ed"
ffbuild_enabled() {
[[ $TARGET == *arm64 ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://code.videolan.org/videolan/dav1d.git"
SCRIPT_COMMIT="2373fda303d46489c1ec269dc66369a31663cb25"
SCRIPT_COMMIT="e58afe4dd9057591882a01c31382c203e8a61c92"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/libass/libass.git"
SCRIPT_COMMIT="1a599b1db748dfc07df98cd37d8603edb87da2fd"
SCRIPT_COMMIT="91422bdb9497e8484b3248f5ae7eb50d41e2555d"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://chromium.googlesource.com/webm/libvpx"
SCRIPT_COMMIT="14e52008edbf2e91386423fdd53310fe49654991"
SCRIPT_COMMIT="5556ebd894a9a9b07908c3c7fd0a7a87732a7635"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://chromium.googlesource.com/webm/libwebp"
SCRIPT_COMMIT="08d60d60066eb30ab8e0e3ccfa0cd0b68f8cccc6"
SCRIPT_COMMIT="dd7364c3cefe0f5c0b3c18c3b1887d353f90fc1f"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/oneapi-src/oneVPL.git"
SCRIPT_COMMIT="e12ace9761bb52786409e830f619916b86e87fc5"
SCRIPT_COMMIT="ca5bbbb057a6e84b103aca807612afb693ad046c"
ffbuild_enabled() {
[[ $TARGET == *arm64 ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://source.openmpt.org/svn/openmpt/trunk/OpenMPT"
SCRIPT_REV="19439"
SCRIPT_REV="19561"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/Haivision/srt.git"
SCRIPT_COMMIT="9448e26fcd7602098b4bf9cd7fe535136e89e10b"
SCRIPT_COMMIT="88ca9ccca4984dbf61a5e1a06ac551b4dead5304"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.com/AOMediaCodec/SVT-AV1.git"
SCRIPT_COMMIT="08c18ba0768ed3dbbff0903adc326fb3a7549bd9"
SCRIPT_COMMIT="903ff3add82744d586295c37ec1241dc51dab16e"
ffbuild_enabled() {
[[ $TARGET == win32 ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.freedesktop.org/xorg/lib/libpciaccess.git"
SCRIPT_COMMIT="8980a39004b10298a7db1f1b0b711a19e8b73aee"
SCRIPT_COMMIT="03d0b467804bf033c2be259be3f091231f74cff9"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.freedesktop.org/mesa/drm.git"
SCRIPT_COMMIT="98e1db501173303e58ef6a1def94ab7a2d84afc1"
SCRIPT_COMMIT="c6013245ce9ce287bb86d327f9b6420a320a08e6"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/intel/libva.git"
SCRIPT_COMMIT="1c58941b93ba5013c68e8370a408efd630275c9c"
SCRIPT_COMMIT="7d6c7d482b9d2330b1f3a8bac13a6a3205f33382"
ffbuild_enabled() {
[[ $TARGET != linux* ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/KhronosGroup/Vulkan-Headers.git"
SCRIPT_COMMIT="v1.3.246"
SCRIPT_COMMIT="v1.3.260"
SCRIPT_TAGFILTER="v?.*.*"
ffbuild_enabled() {

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/google/shaderc.git"
SCRIPT_COMMIT="e31c4c2e41544d63d90be28c46e4a4793a624240"
SCRIPT_COMMIT="4d98dac61ee4857ea0691a2b9a48aee44eb409db"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/KhronosGroup/SPIRV-Cross.git"
SCRIPT_COMMIT="2d3a152081ca6e6bea7093940d0f81088fe4d01c"
SCRIPT_COMMIT="bccaa94db814af33d8ef05c153e7c34d8bd4d685"
ffbuild_enabled() {
return 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://bitbucket.org/multicoreware/x265_git.git"
SCRIPT_COMMIT="34532bda12a3a3141880582aa186a59cd4538ae6"
SCRIPT_COMMIT="8f18e3ad32684eee95e885e718655f93951128c3"
ffbuild_enabled() {
[[ $VARIANT == lgpl* ]] && return -1

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/sekrit-twc/zimg.git"
SCRIPT_COMMIT="939a78cae6a8207ef778375dfcaa75511162a186"
SCRIPT_COMMIT="71431815950664f1e11b9ee4e5d4ba23d6d997f1"
ffbuild_enabled() {
return 0

View File

@ -100,7 +100,7 @@ popd
# GMP
mkdir gmp
pushd gmp
gmp_ver="6.2.1"
gmp_ver="6.3.0"
gmp_link="https://ftp.gnu.org/gnu/gmp/gmp-${gmp_ver}.tar.xz"
wget ${gmp_link} -O gmp.tar.gz
tar xaf gmp.tar.gz
@ -159,7 +159,7 @@ popd
popd
# LZMA
git clone -b v5.4.3 --depth=1 https://github.com/xz-mirror/xz.git
git clone -b v5.4.4 --depth=1 https://github.com/xz-mirror/xz.git
pushd xz
./autogen.sh --no-po4a --no-doxygen
./configure \
@ -339,7 +339,7 @@ popd
popd
# LIBWEBP
git clone -b v1.3.0 --depth=1 https://chromium.googlesource.com/webm/libwebp
git clone -b v1.3.1 --depth=1 https://chromium.googlesource.com/webm/libwebp
pushd libwebp
./autogen.sh
./configure \
@ -557,7 +557,7 @@ mv * ${FF_DEPS_PREFIX}/include/AMF
popd
# VPL
git clone -b v2023.3.0 --depth=1 https://github.com/oneapi-src/oneVPL.git
git clone -b v2023.3.1 --depth=1 https://github.com/oneapi-src/oneVPL.git
pushd oneVPL
mkdir build && pushd build
cmake \

View File

@ -196,10 +196,10 @@ prepare_extra_amd64() {
# LIBVA
pushd ${SOURCE_DIR}
git clone -b 2.18.0 --depth=1 https://github.com/intel/libva.git
git clone -b 2.19.0 --depth=1 https://github.com/intel/libva.git
pushd libva
sed -i 's|getenv("LIBVA_DRIVERS_PATH")|"/usr/lib/jellyfin-ffmpeg/lib/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/dri:/usr/local/lib/dri"|g' va/va.c
sed -i 's|getenv("LIBVA_DRIVER_NAME")|getenv("LIBVA_DRIVER_NAME_JELLYFIN")|g' va/va.c
sed -i 's|secure_getenv("LIBVA_DRIVERS_PATH")|"/usr/lib/jellyfin-ffmpeg/lib/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/dri:/usr/local/lib/dri"|g' va/va.c
sed -i 's|secure_getenv("LIBVA_DRIVER_NAME")|secure_getenv("LIBVA_DRIVER_NAME_JELLYFIN")|g' va/va.c
./autogen.sh
./configure \
--prefix=${TARGET_DIR} \
@ -213,7 +213,7 @@ prepare_extra_amd64() {
# LIBVA-UTILS
pushd ${SOURCE_DIR}
git clone -b 2.18.2 --depth=1 https://github.com/intel/libva-utils.git
git clone -b 2.19.0 --depth=1 https://github.com/intel/libva-utils.git
pushd libva-utils
./autogen.sh
./configure --prefix=${TARGET_DIR}
@ -237,7 +237,7 @@ prepare_extra_amd64() {
# GMMLIB
pushd ${SOURCE_DIR}
git clone -b intel-gmmlib-22.3.7 --depth=1 https://github.com/intel/gmmlib.git
git clone -b intel-gmmlib-22.3.9 --depth=1 https://github.com/intel/gmmlib.git
pushd gmmlib
mkdir build && pushd build
cmake -DCMAKE_INSTALL_PREFIX=${TARGET_DIR} ..
@ -249,7 +249,6 @@ prepare_extra_amd64() {
# MediaSDK (RT only)
# Provides MSDK runtime (libmfxhw64.so.1) for 11th Gen Rocket Lake and older
# Provides MFX dispatcher (libmfx.so.1) for FFmpeg
pushd ${SOURCE_DIR}
git clone -b intel-mediasdk-23.2.2 --depth=1 https://github.com/Intel-Media-SDK/MediaSDK.git
pushd MediaSDK
@ -267,8 +266,10 @@ prepare_extra_amd64() {
popd
# ONEVPL (dispatcher + header)
# Provides VPL header and dispatcher (libvpl.so.2) for FFmpeg
# Both MSDK and VPL runtime can be loaded by VPL dispatcher
pushd ${SOURCE_DIR}
git clone -b v2023.3.0 --depth=1 https://github.com/oneapi-src/oneVPL.git
git clone -b v2023.3.1 --depth=1 https://github.com/oneapi-src/oneVPL.git
pushd oneVPL
sed -i 's|ParseEnvSearchPaths(ONEVPL_PRIORITY_PATH_VAR, searchDirList)|searchDirList.push_back("/usr/lib/jellyfin-ffmpeg/lib")|g' dispatcher/vpl/mfx_dispatcher_vpl_loader.cpp
mkdir build && pushd build
@ -290,9 +291,8 @@ prepare_extra_amd64() {
# ONEVPL-INTEL-GPU (RT only)
# Provides VPL runtime (libmfx-gen.so.1.2) for 11th Gen Tiger Lake and newer
# Both MSDK and VPL runtime can be loaded by MFX dispatcher (libmfx.so.1)
pushd ${SOURCE_DIR}
git clone -b intel-onevpl-23.2.3 --depth=1 https://github.com/oneapi-src/oneVPL-intel-gpu.git
git clone -b intel-onevpl-23.3.0 --depth=1 https://github.com/oneapi-src/oneVPL-intel-gpu.git
pushd oneVPL-intel-gpu
mkdir build && pushd build
cmake -DCMAKE_INSTALL_PREFIX=${TARGET_DIR} \
@ -312,14 +312,8 @@ prepare_extra_amd64() {
# Full Feature Build: ENABLE_KERNELS=ON(Default) ENABLE_NONFREE_KERNELS=ON(Default)
# Free Kernel Build: ENABLE_KERNELS=ON ENABLE_NONFREE_KERNELS=OFF
pushd ${SOURCE_DIR}
git clone -b intel-media-23.2.3 --depth=1 https://github.com/intel/media-driver.git
git clone -b intel-media-23.3.0 --depth=1 https://github.com/intel/media-driver.git
pushd media-driver
# Possible fix for TGLx timeout caused by 'HCP Scalability Decode' under heavy load
wget -q -O - https://github.com/intel/media-driver/commit/cbbd676f.patch | git apply
# Correct AV1 supported tx mode caps for the AV1 VA-API encoder
wget -q -O - https://github.com/intel/media-driver/commit/89201eaa.patch | git apply
# Fix the slow VPP tone-mapping on ADL-S and ADL-N
wget -q -O - https://github.com/intel/media-driver/commit/1097e39b.patch | git apply
mkdir build && pushd build
cmake -DCMAKE_INSTALL_PREFIX=${TARGET_DIR} \
-DENABLE_KERNELS=ON \
@ -337,7 +331,7 @@ prepare_extra_amd64() {
# Vulkan Headers
pushd ${SOURCE_DIR}
git clone -b v1.3.246 --depth=1 https://github.com/KhronosGroup/Vulkan-Headers.git
git clone -b v1.3.260 --depth=1 https://github.com/KhronosGroup/Vulkan-Headers.git
pushd Vulkan-Headers
mkdir build && pushd build
cmake \
@ -350,7 +344,7 @@ prepare_extra_amd64() {
# Vulkan ICD Loader
pushd ${SOURCE_DIR}
git clone -b v1.3.246 --depth=1 https://github.com/KhronosGroup/Vulkan-Loader.git
git clone -b v1.3.260 --depth=1 https://github.com/KhronosGroup/Vulkan-Loader.git
pushd Vulkan-Loader
mkdir build && pushd build
cmake \
@ -371,7 +365,7 @@ prepare_extra_amd64() {
# SHADERC
pushd ${SOURCE_DIR}
git clone -b v2023.3 --depth=1 https://github.com/google/shaderc.git
git clone -b v2023.5 --depth=1 https://github.com/google/shaderc.git
pushd shaderc
./utils/git-sync-deps
mkdir build && pushd build