Update getnative

Simon Bruder 2020-05-09 05:00:45 +02:00
parent 596215dbed
commit eab8769632
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 5 additions and 2 deletions

View File

@ -66,7 +66,7 @@ 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/ \
@ -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/