From 5a6497ec70fcdae6e391ffb3cfb0f902518eaf87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Novomesk=C3=BD?= <dnovomesky@gmail.com>
Date: Fri, 13 Dec 2024 14:36:44 +0100
Subject: [PATCH] Upgrade libheif to 1.18.2, upgrade libjxl to 0.11.1

---
 Telegram/build/prepare/prepare.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py
index 142d48f20..7d796d141 100644
--- a/Telegram/build/prepare/prepare.py
+++ b/Telegram/build/prepare/prepare.py
@@ -979,7 +979,7 @@ mac:
 """)
 
 stage('libheif', """
-    git clone -b v1.17.6 https://github.com/strukturag/libheif.git
+    git clone -b v1.18.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
@@ -1031,7 +1031,7 @@ mac:
 """)
 
 stage('libjxl', """
-    git clone -b v0.10.3 --recursive --shallow-submodules https://github.com/libjxl/libjxl.git
+    git clone -b v0.11.1 --recursive --shallow-submodules https://github.com/libjxl/libjxl.git
     cd libjxl
 """ + setVar("cmake_defines", """
     -DBUILD_SHARED_LIBS=OFF