Skip to content

Commit

Permalink
Upgrade dav1d, libavif, libde265, libheif on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
novomesk authored and john-preston committed Mar 20, 2024
1 parent 893c09c commit d6e4613
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Telegram/build/docker/centos_env/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ RUN git clone -b v1.4 --depth=1 {{ GIT }}/xiph/opus.git \
FROM builder AS dav1d
COPY --link --from=nasm {{ LibrariesPath }}/nasm-cache /

RUN git clone -b 1.2.1 --depth=1 {{ GIT }}/videolan/dav1d.git \
RUN git clone -b 1.4.1 --depth=1 {{ GIT }}/videolan/dav1d.git \
&& cd dav1d \
&& meson build \
--buildtype=plain \
Expand All @@ -184,7 +184,7 @@ RUN git clone -b 1.2.1 --depth=1 {{ GIT }}/videolan/dav1d.git \
&& rm -rf dav1d

FROM builder AS libde265
RUN git clone -b v1.0.12 --depth=1 {{ GIT }}/strukturag/libde265.git \
RUN git clone -b v1.0.15 --depth=1 {{ GIT }}/strukturag/libde265.git \
&& cd libde265 \
&& cmake -GNinja . \
-DCMAKE_BUILD_TYPE=None \
Expand Down Expand Up @@ -238,7 +238,7 @@ RUN git clone -b chrome-m116-5845 --depth=1 {{ GIT }}/webmproject/libwebp.git \
FROM builder AS libavif
COPY --link --from=dav1d {{ LibrariesPath }}/dav1d-cache /

RUN git clone -b v1.0.1 --depth=1 {{ GIT }}/AOMediaCodec/libavif.git \
RUN git clone -b v1.0.4 --depth=1 {{ GIT }}/AOMediaCodec/libavif.git \
&& cd libavif \
&& cmake -GNinja -B build . \
-DCMAKE_BUILD_TYPE=None \
Expand All @@ -252,7 +252,7 @@ RUN git clone -b v1.0.1 --depth=1 {{ GIT }}/AOMediaCodec/libavif.git \
FROM builder AS libheif
COPY --link --from=libde265 {{ LibrariesPath }}/libde265-cache /

RUN git clone -b v1.16.2 --depth=1 {{ GIT }}/strukturag/libheif.git \
RUN git clone -b v1.17.6 --depth=1 {{ GIT }}/strukturag/libheif.git \
&& cd libheif \
&& cmake -GNinja -B build . \
-DCMAKE_BUILD_TYPE=None \
Expand Down

0 comments on commit d6e4613

Please sign in to comment.