mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Update vdpau to latest version
This commit is contained in:
parent
73018ff958
commit
1008774aef
1 changed files with 11 additions and 4 deletions
|
@ -264,12 +264,19 @@ WORKDIR ..
|
||||||
RUN rm -rf libva
|
RUN rm -rf libva
|
||||||
|
|
||||||
FROM builder AS libvdpau
|
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
|
WORKDIR libvdpau
|
||||||
RUN ./autogen.sh --enable-static
|
RUN sed -i 's/shared_library/library/g' src/meson.build
|
||||||
RUN make -j$(nproc)
|
|
||||||
RUN make DESTDIR="$LibrariesPath/libvdpau-cache" install
|
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 ..
|
WORKDIR ..
|
||||||
RUN rm -rf libvdpau
|
RUN rm -rf libvdpau
|
||||||
|
|
Loading…
Add table
Reference in a new issue