Update dependencies

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
nyanmisaka 2024-11-11 02:09:52 +08:00
parent 8dc6acd192
commit 30e7ff1c20
5 changed files with 10 additions and 17 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://github.com/nyanmisaka/mpp.git"
SCRIPT_COMMIT="ba5c98ac8dbf485de9f03e625e1dd024afdc2eb9"
SCRIPT_COMMIT="110d2660a18855656205cdda8f40527c8a9cc3c1"
SCRIPT_BRANCH="jellyfin-mpp"
ffbuild_enabled() {

View File

@ -1,7 +1,7 @@
#!/bin/bash
SCRIPT_REPO="https://gitlab.com/AOMediaCodec/SVT-AV1.git"
SCRIPT_COMMIT="34d4d591d87aeba6d347f09bfb5a7429fe58bd46"
SCRIPT_COMMIT="6e69def4ec283fe0b71195671245c3b768bebdef"
ffbuild_enabled() {
[[ $TARGET == win32 ]] && return -1
@ -16,10 +16,10 @@ ffbuild_dockerbuild() {
mkdir -p build && cd build
if [[ $TARGET == mac* ]]; then
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DBUILD_APPS=OFF -DENABLE_AVX512=ON ..
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DBUILD_APPS=OFF ..
else
cmake -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DBUILD_APPS=OFF -DENABLE_AVX512=ON ..
cmake -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DBUILD_APPS=OFF ..
fi
make -j$(nproc)
make install

View File

@ -456,7 +456,7 @@ popd
popd
# SVT-AV1
git clone -b v2.2.1 --depth=1 https://gitlab.com/AOMediaCodec/SVT-AV1.git
git clone -b v2.3.0 --depth=1 https://gitlab.com/AOMediaCodec/SVT-AV1.git
pushd SVT-AV1
mkdir build
pushd build
@ -464,7 +464,6 @@ cmake \
-DCMAKE_TOOLCHAIN_FILE=${FF_CMAKE_TOOLCHAIN} \
-DCMAKE_INSTALL_PREFIX=${FF_DEPS_PREFIX} \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_AVX512=ON \
-DBUILD_{SHARED_LIBS,TESTING,APPS,DEC}=OFF \
..
make -j$(nproc)

View File

@ -253,20 +253,14 @@ prepare_extra_common() {
# SVT-AV1
pushd ${SOURCE_DIR}
git clone -b v2.2.1 --depth=1 https://gitlab.com/AOMediaCodec/SVT-AV1.git
git clone -b v2.3.0 --depth=1 https://gitlab.com/AOMediaCodec/SVT-AV1.git
pushd SVT-AV1
mkdir build
pushd build
if [ "${ARCH}" = "amd64" ]; then
svtav1_avx512="-DENABLE_AVX512=ON"
else
svtav1_avx512="-DENABLE_AVX512=OFF"
fi
cmake \
${CMAKE_TOOLCHAIN_OPT} \
-DCMAKE_INSTALL_PREFIX=${TARGET_DIR} \
-DCMAKE_BUILD_TYPE=Release \
$svtav1_avx512 \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_{TESTING,APPS,DEC}=OFF \
..
@ -382,7 +376,7 @@ prepare_extra_amd64() {
# GMMLIB
pushd ${SOURCE_DIR}
git clone -b intel-gmmlib-22.5.2 --depth=1 https://github.com/intel/gmmlib.git
git clone -b intel-gmmlib-22.5.3 --depth=1 https://github.com/intel/gmmlib.git
pushd gmmlib
mkdir build && pushd build
cmake -DCMAKE_INSTALL_PREFIX=${TARGET_DIR} ..
@ -439,7 +433,7 @@ prepare_extra_amd64() {
# VPL-GPU-RT (RT only)
# Provides VPL runtime (libmfx-gen.so.1.2) for 11th Gen Tiger Lake and newer
pushd ${SOURCE_DIR}
git clone -b intel-onevpl-24.4.1 --depth=1 https://github.com/intel/vpl-gpu-rt.git
git clone -b intel-onevpl-24.4.2 --depth=1 https://github.com/intel/vpl-gpu-rt.git
pushd vpl-gpu-rt
mkdir build && pushd build
cmake -DCMAKE_INSTALL_PREFIX=${TARGET_DIR} \
@ -459,7 +453,7 @@ 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-24.4.1 --depth=1 https://github.com/intel/media-driver.git
git clone -b intel-media-24.4.2 --depth=1 https://github.com/intel/media-driver.git
pushd media-driver
# enable vc1 decode on dg2 (note that mtl+ is not supported)
wget -q -O - https://github.com/intel/media-driver/commit/d5dd47b.patch | git apply

View File

@ -3,7 +3,7 @@
_realname=SVT-AV1
pkgbase=mingw-w64-jellyfin-svt-av1
pkgname=("${MINGW_PACKAGE_PREFIX}-jellyfin-svt-av1")
pkgver=2.2.1
pkgver=2.3.0
pkgrel=1
pkgdesc="Scalable Video Technology AV1 encoder and decoder (mingw-w64)"
arch=('any')