Update vdpau to latest version

This commit is contained in:
Ilya Fedin 2021-01-13 05:56:50 +04:00 committed by John Preston
parent 73018ff958
commit 1008774aef

View file

@ -264,12 +264,19 @@ WORKDIR ..
RUN rm -rf libva
FROM builder AS libvdpau
RUN git clone -b libvdpau-1.2 --depth=1 https://gitlab.freedesktop.org/vdpau/libvdpau.git
RUN git clone -b 1.4 --depth=1 https://gitlab.freedesktop.org/vdpau/libvdpau.git
WORKDIR libvdpau
RUN ./autogen.sh --enable-static
RUN make -j$(nproc)
RUN make DESTDIR="$LibrariesPath/libvdpau-cache" install
RUN sed -i 's/shared_library/library/g' src/meson.build
RUN meson build \
--default-library=both \
--sysconfdir=/etc \
-Ddocumentation=false \
-Dmoduledir=/usr/lib/vdpau
RUN meson compile -C build -j$(nproc)
RUN DESTDIR="$LibrariesPath/libvdpau-cache" meson install -C build
WORKDIR ..
RUN rm -rf libvdpau