From 6f16014232174dfe38130691749447c1474f89d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Novomesk=C3=BD?= Date: Fri, 3 Mar 2023 10:13:17 +0100 Subject: [PATCH] Upgrade libheif in Windows build --- Telegram/build/prepare/prepare.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index 97bbcb72e..64377fe0f 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -734,7 +734,7 @@ release: stage('libheif', """ win: - git clone --depth 1 -b v1.14.2 https://github.com/strukturag/libheif.git + git clone --depth 1 -b v1.15.1 https://github.com/strukturag/libheif.git cd libheif %THIRDPARTY_DIR%\\msys64\\usr\\bin\\sed.exe -i 's/LIBHEIF_EXPORTS/LIBDE265_STATIC_BUILD/g' libheif/CMakeLists.txt %THIRDPARTY_DIR%\\msys64\\usr\\bin\\sed.exe -i 's/HAVE_VISIBILITY/LIBHEIF_STATIC_BUILD/g' libheif/CMakeLists.txt @@ -749,7 +749,9 @@ win: -DENABLE_PLUGIN_LOADING=OFF ^ -DWITH_LIBDE265=ON ^ -DWITH_SvtEnc=OFF ^ + -DWITH_SvtEnc_PLUGIN=OFF ^ -DWITH_RAV1E=OFF ^ + -DWITH_RAV1E_PLUGIN=OFF ^ -DWITH_EXAMPLES=OFF cmake --build . --config Debug cmake --install . --config Debug