From 131a54dfaf89a92e7a22361bdea719ef27437452 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 23 Oct 2020 18:12:35 +0200 Subject: [PATCH] Build libplacebo from source --- Dockerfile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d97bd98..c2c53c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,6 @@ RUN apt-get -y install \ cargo \ git \ libfftw3-dev \ - libplacebo-dev \ libtool \ meson \ vapoursynth-dev @@ -61,6 +60,20 @@ RUN cd /tmp \ && cd .. \ && rm -rf vapoursynth-descale +# 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 \