mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-20 08:03:45 +08:00
Update dav1d, libwebp, libheif, libjxl
This commit is contained in:
committed by
John Preston
parent
87caf0e2c4
commit
d804a327aa
@@ -174,7 +174,7 @@ RUN git clone -b v1.5.2 --depth=1 https://github.com/xiph/opus.git \
|
||||
&& rm -rf opus
|
||||
|
||||
FROM builder AS dav1d
|
||||
RUN git clone -b 1.5.1 --depth=1 https://github.com/videolan/dav1d.git \
|
||||
RUN git clone -b 1.5.3 --depth=1 https://github.com/videolan/dav1d.git \
|
||||
&& cd dav1d \
|
||||
&& meson build \
|
||||
--buildtype=plain \
|
||||
@@ -231,7 +231,7 @@ RUN git init libvpx \
|
||||
&& rm -rf libvpx
|
||||
|
||||
FROM builder AS webp
|
||||
RUN git clone -b v1.5.0 --depth=1 https://github.com/webmproject/libwebp.git \
|
||||
RUN git clone -b v1.6.0 --depth=1 https://github.com/webmproject/libwebp.git \
|
||||
&& cd libwebp \
|
||||
&& cmake -B build . \
|
||||
-DWEBP_BUILD_ANIM_UTILS=OFF \
|
||||
@@ -265,7 +265,7 @@ RUN git clone -b v1.3.0 --depth=1 https://github.com/AOMediaCodec/libavif.git \
|
||||
FROM builder AS heif
|
||||
COPY --link --from=de265 /usr/src/de265-cache /
|
||||
|
||||
RUN git clone -b v1.19.8 --depth=1 https://github.com/strukturag/libheif.git \
|
||||
RUN git clone -b v1.21.2 --depth=1 https://github.com/strukturag/libheif.git \
|
||||
&& cd libheif \
|
||||
&& cmake -B build . \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
@@ -275,6 +275,7 @@ RUN git clone -b v1.19.8 --depth=1 https://github.com/strukturag/libheif.git \
|
||||
-DWITH_X265=OFF \
|
||||
-DWITH_AOM_DECODER=OFF \
|
||||
-DWITH_AOM_ENCODER=OFF \
|
||||
-DWITH_X264=OFF \
|
||||
-DWITH_OpenH264_DECODER=OFF \
|
||||
-DWITH_RAV1E=OFF \
|
||||
-DWITH_RAV1E_PLUGIN=OFF \
|
||||
@@ -293,7 +294,7 @@ COPY --link --from=lcms2 /usr/src/lcms2-cache /
|
||||
COPY --link --from=brotli /usr/src/brotli-cache /
|
||||
COPY --link --from=highway /usr/src/highway-cache /
|
||||
|
||||
RUN git clone -b v0.11.1 --depth=1 https://github.com/libjxl/libjxl.git \
|
||||
RUN git clone -b v0.11.2 --depth=1 https://github.com/libjxl/libjxl.git \
|
||||
&& cd libjxl \
|
||||
&& git submodule update --init --recursive --depth=1 third_party/libjpeg-turbo \
|
||||
&& curl -sSL https://github.com/libjxl/libjxl/commit/ee3955b1553bcc10304d45b85dfef9afa9349d72.patch | sed 's/offset + t/offset + i/' | git apply \
|
||||
|
||||
@@ -715,7 +715,7 @@ win:
|
||||
|
||||
# Somehow in x86 Debug build dav1d crashes on AV1 10bpc videos.
|
||||
stage('dav1d', """
|
||||
git clone -b 1.5.1 https://code.videolan.org/videolan/dav1d.git
|
||||
git clone -b 1.5.3 https://code.videolan.org/videolan/dav1d.git
|
||||
cd dav1d
|
||||
win32:
|
||||
SET "TARGET=x86"
|
||||
@@ -899,7 +899,7 @@ mac:
|
||||
""")
|
||||
|
||||
stage('libwebp', """
|
||||
git clone -b v1.5.0 https://github.com/webmproject/libwebp.git
|
||||
git clone -b v1.6.0 https://github.com/webmproject/libwebp.git
|
||||
cd libwebp
|
||||
win:
|
||||
nmake /f Makefile.vc CFG=debug-static OBJDIR=out RTLIBCFG=static all
|
||||
@@ -938,7 +938,7 @@ mac:
|
||||
""")
|
||||
|
||||
stage('libheif', """
|
||||
git clone -b v1.19.8 https://github.com/strukturag/libheif.git
|
||||
git clone -b v1.21.2 https://github.com/strukturag/libheif.git
|
||||
cd libheif
|
||||
win:
|
||||
%THIRDPARTY_DIR%\\msys64\\usr\\bin\\sed.exe -i 's/LIBHEIF_EXPORTS/LIBDE265_STATIC_BUILD/g' libheif/CMakeLists.txt
|
||||
@@ -953,6 +953,7 @@ win:
|
||||
-DBUILD_TESTING=OFF ^
|
||||
-DENABLE_PLUGIN_LOADING=OFF ^
|
||||
-DWITH_LIBDE265=ON ^
|
||||
-DWITH_X264=OFF ^
|
||||
-DWITH_OpenH264_DECODER=OFF ^
|
||||
-DWITH_SvtEnc=OFF ^
|
||||
-DWITH_SvtEnc_PLUGIN=OFF ^
|
||||
@@ -979,6 +980,7 @@ mac:
|
||||
-D WITH_AOM_ENCODER=OFF \\
|
||||
-D WITH_AOM_DECODER=OFF \\
|
||||
-D WITH_X265=OFF \\
|
||||
-D WITH_X264=OFF \\
|
||||
-D WITH_OpenH264_DECODER=OFF \\
|
||||
-D WITH_SvtEnc=OFF \\
|
||||
-D WITH_RAV1E=OFF \\
|
||||
@@ -996,7 +998,7 @@ mac:
|
||||
""")
|
||||
|
||||
stage('libjxl', """
|
||||
git clone -b v0.11.1 --recursive --shallow-submodules https://github.com/libjxl/libjxl.git
|
||||
git clone -b v0.11.2 --recursive --shallow-submodules https://github.com/libjxl/libjxl.git
|
||||
cd libjxl
|
||||
""" + setVar("cmake_defines", """
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
|
||||
@@ -320,7 +320,7 @@ parts:
|
||||
jpegli:
|
||||
source: https://github.com/libjxl/libjxl.git
|
||||
source-depth: 1
|
||||
source-tag: v0.11.1
|
||||
source-tag: v0.11.2
|
||||
plugin: cmake
|
||||
build-packages:
|
||||
- curl
|
||||
|
||||
Reference in New Issue
Block a user