From a7c4566bea66413461cba3505af21b2f9a235c91 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 23 Oct 2020 18:13:22 +0200 Subject: [PATCH] Fix DFTTest --- Dockerfile | 23 +++++++++++++++++++++++ dfttest-dummy | 5 +++++ 2 files changed, 28 insertions(+) create mode 100644 dfttest-dummy diff --git a/Dockerfile b/Dockerfile index 803037a..f69306d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,6 +69,29 @@ 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 \ diff --git a/dfttest-dummy b/dfttest-dummy new file mode 100644 index 0000000..f6349ea --- /dev/null +++ b/dfttest-dummy @@ -0,0 +1,5 @@ +Section: video +Priority: optional +Package: vapoursynth-dfttest +Version: 1000 +Description: Dummy