100 lines
3.5 KiB
Bash
Executable file
100 lines
3.5 KiB
Bash
Executable file
#!/bin/bash
|
|
#set -e
|
|
#set -o pipefail
|
|
|
|
curl https://raw.githubusercontent.com/dubhater/vapoursynth-fieldhint/v3/src/fieldhint.c | gcc -x c -I /usr/include/vapoursynth \
|
|
-shared -o /usr/lib/vapoursynth/fieldhint.so \
|
|
-O3 -fPIC \
|
|
-
|
|
|
|
git-shallow-clone "r10.1" https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TDeintMod.git /src/VapourSynth-TDeintMod
|
|
pushd /src/VapourSynth-TDeintMod
|
|
./autogen.sh
|
|
./configure
|
|
make -j$(nproc)
|
|
cp .libs/libtdeintmod.so /usr/lib/vapoursynth/
|
|
|
|
git-shallow-clone "r28" https://github.com/EleonoreMizo/fmtconv.git /src/fmtconv
|
|
pushd /src/fmtconv
|
|
cd build/unix
|
|
./autogen.sh
|
|
./configure --prefix=/usr
|
|
make -j$(nproc)
|
|
cp .libs/libfmtconv.so /usr/lib/vapoursynth/
|
|
|
|
git-shallow-clone "v23" https://github.com/dubhater/vapoursynth-mvtools.git /src/vapoursynth-mvtools
|
|
pushd /src/vapoursynth-mvtools
|
|
./autogen.sh
|
|
./configure --prefix=/usr
|
|
make -j$(nproc)
|
|
cp .libs/libmvtools.so /usr/lib/vapoursynth/
|
|
|
|
git-shallow-clone "64323f0fdee4dd4fe429ee6287906dbae8e7571c" https://github.com/myrsloik/VapourSynth-FFT3DFilter.git /src/VapourSynth-FFT3DFilter
|
|
pushd /src/VapourSynth-FFT3DFilter
|
|
mkdir b
|
|
pushd b
|
|
meson ..
|
|
ninja
|
|
cp libfft3dfilter.so /usr/lib/vapoursynth/
|
|
|
|
git-shallow-clone "r2.1" https://github.com/sekrit-twc/znedi3.git /src/znedi3
|
|
pushd /src/znedi3
|
|
#TODO: remove X86 hardcode
|
|
make X86=1 -j$(nproc)
|
|
cp vsznedi3.so /usr/lib/vapoursynth/
|
|
cp nnedi3_weights.bin /usr/lib/vapoursynth/
|
|
|
|
git-shallow-clone "r7" https://github.com/Irrational-Encoding-Wizardry/descale.git /src/descale
|
|
pushd /src/descale
|
|
mkdir b
|
|
pushd b
|
|
meson ..
|
|
ninja
|
|
cp libdescale.so /usr/lib/vapoursynth/
|
|
cp ../descale.py /usr/lib/vapoursynth/
|
|
|
|
git-shallow-clone "8fe5aec894a3b90224a2014619af8b8c6cf372ad" https://github.com/jackb992/flash3kyuu_deband.git /src/flash3kyuu_deband
|
|
pushd /src/flash3kyuu_deband
|
|
sed -i 's/env python/env python3/' ./waf
|
|
chmod +x waf
|
|
./waf configure
|
|
./waf build
|
|
cp build/libf3kdb.so /usr/lib/vapoursynth/
|
|
|
|
git-shallow-clone "r9" https://github.com/HomeOfVapourSynthEvolution/VapourSynth-BM3D.git /src/VapourSynth-BM3D
|
|
pushd /src/VapourSynth-BM3D
|
|
mkdir b
|
|
pushd b
|
|
LDFLAGS=-lfftw3f_threads meson ..
|
|
ninja
|
|
cp libbm3d.so /usr/lib/vapoursynth/
|
|
|
|
git-shallow-clone "r7" https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DFTTest.git /src/VapourSynth-DFTTest
|
|
pushd /src/VapourSynth-DFTTest
|
|
mkdir b
|
|
pushd b
|
|
LDFLAGS=-lfftw3f_threads meson ..
|
|
ninja
|
|
cp libdfttest.so /usr/lib/vapoursynth/
|
|
|
|
git-shallow-clone "r10.1" https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Yadifmod.git /src/VapourSynth-Yadifmod
|
|
pushd /src/VapourSynth-Yadifmod
|
|
./autogen.sh
|
|
./configure --prefix=/usr
|
|
make -j$(nproc)
|
|
cp .libs/libyadifmod.so /usr/lib/vapoursynth/
|
|
|
|
git-shallow-clone "ef243ab40b8d4b6d18874c6cef0da1a2f55a6a45" https://github.com/FFMS/ffms2.git /src/ffms2
|
|
pushd /src/ffms2
|
|
./autogen.sh
|
|
./configure --prefix=/usr
|
|
make -j$(nproc)
|
|
make install
|
|
|
|
curl https://raw.githubusercontent.com/HomeOfVapourSynthEvolution/havsfunc/3b6a80ce502e6775c70df6bb2d19124de149073f/havsfunc.py > /usr/lib/vapoursynth/havsfunc.py
|
|
curl https://raw.githubusercontent.com/HomeOfVapourSynthEvolution/mvsfunc/90e185220901402b974d7364345e0f25e71ab8fe/mvsfunc.py > /usr/lib/vapoursynth/mvsfunc.py
|
|
curl https://raw.githubusercontent.com/Irrational-Encoding-Wizardry/fvsfunc/29ced90a3f620844dea0efa8666542298f68f421/fvsfunc.py > /usr/lib/vapoursynth/fvsfunc.py
|
|
curl https://raw.githubusercontent.com/WolframRhodium/muvsfunc/6158bf2af1cb85fd9ba44024c52ef3666a2834c1/muvsfunc.py > /usr/lib/vapoursynth/muvsfunc.py
|
|
|
|
|
|
sed -i 's/core\.nnedi3/core\.znedi3/' /usr/lib/vapoursynth/fvsfunc.py |