|
|
|
@ -24,11 +24,19 @@ RUN apt-get -y install \
|
|
|
|
|
cargo \
|
|
|
|
|
git \
|
|
|
|
|
libfftw3-dev \
|
|
|
|
|
libplacebo-dev \
|
|
|
|
|
libtool \
|
|
|
|
|
meson \
|
|
|
|
|
vapoursynth-dev
|
|
|
|
|
|
|
|
|
|
RUN cd /tmp \
|
|
|
|
|
&& git clone --depth=1 --recursive https://git.kageru.moe/kageru/adaptivegrain \
|
|
|
|
|
&& cd adaptivegrain \
|
|
|
|
|
&& cargo build --release \
|
|
|
|
|
&& cp target/release/libadaptivegrain_rs.so /usr/lib/x86_64-linux-gnu/vapoursynth/ \
|
|
|
|
|
&& cd .. \
|
|
|
|
|
&& rm -rf adaptivegrain \
|
|
|
|
|
&& rm -rf ~/.cargo
|
|
|
|
|
|
|
|
|
|
# required by hvf.Deblock_QED (required by fvf.AutoDeblock)
|
|
|
|
|
RUN cd /tmp \
|
|
|
|
|
&& git clone --depth=1 https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DCTFilter \
|
|
|
|
@ -61,6 +69,43 @@ RUN cd /tmp \
|
|
|
|
|
&& cd .. \
|
|
|
|
|
&& rm -rf vapoursynth-descale
|
|
|
|
|
|
|
|
|
|
# TODO: Remove when working version is in deb-multimedia (current one crashes
|
|
|
|
|
# with symbol lookup error:
|
|
|
|
|
# /usr/lib/x86_64-linux-gnu/vapoursynth/libdfttest.so: undefined symbol:
|
|
|
|
|
# fftwf_make_planner_thread_safe
|
|
|
|
|
COPY dfttest-dummy /tmp/
|
|
|
|
|
|
|
|
|
|
RUN cd /tmp/ \
|
|
|
|
|
&& apt-get -y install equivs \
|
|
|
|
|
&& equivs-build dfttest-dummy \
|
|
|
|
|
&& dpkg -i vapoursynth-dfttest_7-dmo2_all.deb \
|
|
|
|
|
&& apt-get purge -y equivs \
|
|
|
|
|
&& apt-get autoremove --purge -y \
|
|
|
|
|
&& rm dfttest-dummy vapoursynth-dfttest_7-dmo2_all.deb
|
|
|
|
|
|
|
|
|
|
RUN cd /tmp \
|
|
|
|
|
&& git clone --depth=1 https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DFTTest \
|
|
|
|
|
&& cd VapourSynth-DFTTest \
|
|
|
|
|
&& meson build --prefix /usr/local \
|
|
|
|
|
&& ninja -C build \
|
|
|
|
|
&& ninja -C build install \
|
|
|
|
|
&& cd .. \
|
|
|
|
|
&& rm -rf VapourSynth-DFTTest
|
|
|
|
|
|
|
|
|
|
# TODO: Remove once debian has compatible libplacebo version
|
|
|
|
|
RUN echo "deb-src" http://deb.debian.org/debian testing main >> /etc/apt/sources.list.d/src.list \
|
|
|
|
|
&& apt-get update \
|
|
|
|
|
&& apt-get -y build-dep libplacebo \
|
|
|
|
|
&& cd /tmp/ \
|
|
|
|
|
&& git clone --depth=1 https://code.videolan.org/videolan/libplacebo.git \
|
|
|
|
|
&& cd libplacebo \
|
|
|
|
|
&& meson build \
|
|
|
|
|
&& ninja -C build \
|
|
|
|
|
&& ninja -C build install \
|
|
|
|
|
&& cd .. \
|
|
|
|
|
&& rm -rf libplacebo \
|
|
|
|
|
&& rm /etc/apt/sources.list.d/src.list
|
|
|
|
|
|
|
|
|
|
RUN cd /tmp \
|
|
|
|
|
&& git clone --depth=1 --recursive https://github.com/Lypheo/vs-placebo \
|
|
|
|
|
&& cd vs-placebo \
|
|
|
|
@ -71,15 +116,6 @@ RUN cd /tmp \
|
|
|
|
|
&& cd /tmp/ \
|
|
|
|
|
&& rm -rf vs-placebo
|
|
|
|
|
|
|
|
|
|
RUN cd /tmp \
|
|
|
|
|
&& git clone --depth=1 --recursive https://git.kageru.moe/kageru/adaptivegrain \
|
|
|
|
|
&& cd adaptivegrain \
|
|
|
|
|
&& cargo build --release \
|
|
|
|
|
&& cp target/release/libadaptivegrain_rs.so /usr/lib/x86_64-linux-gnu/vapoursynth/ \
|
|
|
|
|
&& cd .. \
|
|
|
|
|
&& rm -rf adaptivegrain \
|
|
|
|
|
&& rm -rf ~/.cargo
|
|
|
|
|
|
|
|
|
|
# Runtime dependencies
|
|
|
|
|
RUN apt-get -y install \
|
|
|
|
|
beignet-opencl-icd \
|
|
|
|
|