From 7b809edf98710fe3c74052568945d89a5c814bab Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 9 May 2020 05:00:45 +0200 Subject: [PATCH] Update getnative --- Dockerfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index a6dbe0b..a68d6f4 100644 --- a/Dockerfile +++ b/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/