Fix DFTTest

This commit is contained in:
Simon Bruder 2020-10-23 18:13:22 +02:00
parent c2aa4e2dfe
commit a7c4566bea
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
2 changed files with 28 additions and 0 deletions

View file

@ -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 \

5
dfttest-dummy Normal file
View file

@ -0,0 +1,5 @@
Section: video
Priority: optional
Package: vapoursynth-dfttest
Version: 1000
Description: Dummy