Update getnative
This commit is contained in:
parent
596215dbed
commit
7b809edf98
13
Dockerfile
13
Dockerfile
|
@ -66,11 +66,11 @@ RUN cd /tmp \
|
|||
|
||||
# double speed for getnative
|
||||
RUN cd /tmp/ \
|
||||
&& git clone --depth=1 https://github.com/BluBb-mADe/vapoursynth-descale \
|
||||
&& git clone --depth=1 https://github.com/OrangeChannel/vapoursynth-descale \
|
||||
&& cd vapoursynth-descale \
|
||||
&& g++ -std=c++17 -shared -fPIC -O2 descale.cpp -o libdescale.so \
|
||||
&& cp descale.py /usr/lib/python3/dist-packages/ \
|
||||
&& cp libdescale.so /usr/lib/x86_64-linux-gnu/vapoursynth/ \
|
||||
&& g++ -std=c++17 -shared -fPIC -O2 descale.cpp -o libdescale_getnative.so \
|
||||
&& cp descale.py /usr/lib/python3/dist-packages/descale_getnative.py \
|
||||
&& cp libdescale_getnative.so /usr/lib/x86_64-linux-gnu/vapoursynth/ \
|
||||
&& cd .. \
|
||||
&& rm -rf vapoursynth-descale
|
||||
|
||||
|
@ -103,7 +103,6 @@ RUN mkdir /usr/local/lib/vapoursynth-scripts/ \
|
|||
https://github.com/HomeOfVapourSynthEvolution/vsTAAmbk/raw/master/vsTAAmbk.py \
|
||||
https://github.com/IFeelBloated/Oyster/raw/master/Oyster.py \
|
||||
https://github.com/IFeelBloated/vapoursynth-mvtools-sf/raw/5dfa8756092daa7dcc635eef799c6964bd40c259/src/mvmulti.py \
|
||||
https://github.com/Infiziert90/getnative/raw/master/getnative.py \
|
||||
https://github.com/Irrational-Encoding-Wizardry/fvsfunc/raw/master/fvsfunc.py \
|
||||
https://github.com/Irrational-Encoding-Wizardry/kagefunc/raw/master/kagefunc.py \
|
||||
https://github.com/Irrational-Encoding-Wizardry/vsutil/raw/master/vsutil.py \
|
||||
|
@ -113,6 +112,10 @@ RUN mkdir /usr/local/lib/vapoursynth-scripts/ \
|
|||
https://github.com/theChaosCoder/lostfunc/raw/master/lostfunc.py \
|
||||
&& chmod 755 /usr/local/lib/vapoursynth-scripts/*
|
||||
|
||||
RUN git clone --depth=1 https://github.com/Infiziert90/getnative /usr/local/lib/vapoursynth-scripts/getnative \
|
||||
&& echo "#!/bin/sh\npython3 /usr/local/lib/vapoursynth-scripts/getnative/getnative.py \$@" >> /usr/local/bin/getnative \
|
||||
&& chmod +x /usr/local/bin/getnative
|
||||
|
||||
# models are at wrong location (whyever the package installs it there)
|
||||
RUN cp -r /usr/share/vapoursynth-waifu2x-models/ /usr/lib/x86_64-linux-gnu/vapoursynth/models/
|
||||
|
||||
|
|
Reference in a new issue