diff --git a/network/chat/telegram-desktop/actions.py b/network/chat/telegram-desktop/actions.py index 7cbe1d2a1b..1189c9e077 100644 --- a/network/chat/telegram-desktop/actions.py +++ b/network/chat/telegram-desktop/actions.py @@ -14,7 +14,7 @@ from pisi.actionsapi import get def setup(): shelltools.export("NINJAJOBS", "-j 4") - #shelltools.export("LC_ALL", "en_US.UTF-8") + shelltools.system("patch -p1 < fix-tgcalls-cstdint.patch -d Telegram/ThirdParty/tgcalls") shelltools.system("sed -i 's/DESKTOP_APP_USE_PACKAGED/NO_ONE_WILL_EVER_SET_THIS/' \ cmake/external/rlottie/CMakeLists.txt || die") shelltools.system('echo "target_link_libraries(external_webrtc INTERFACE jpeg Xcomposite Xdamage Xext Xfixes Xrandr Xrender Xtst X11)" | tee -a cmake/external/webrtc/CMakeLists.txt') diff --git a/network/chat/telegram-desktop/files/fix-tgcalls-cstdint.patch b/network/chat/telegram-desktop/files/fix-tgcalls-cstdint.patch new file mode 100644 index 0000000000..88612ebe3a --- /dev/null +++ b/network/chat/telegram-desktop/files/fix-tgcalls-cstdint.patch @@ -0,0 +1,12 @@ +diff --git a/tgcalls/utils/gzip.h b/tgcalls/utils/gzip.h +index a3f3ea2..7ae5cc5 100644 +--- a/tgcalls/utils/gzip.h ++++ b/tgcalls/utils/gzip.h +@@ -3,6 +3,7 @@ + + #include + #include ++#include + + namespace tgcalls { + diff --git a/network/chat/telegram-desktop/pspec.xml b/network/chat/telegram-desktop/pspec.xml index 8e24e2d649..0e20add6fd 100644 --- a/network/chat/telegram-desktop/pspec.xml +++ b/network/chat/telegram-desktop/pspec.xml @@ -12,7 +12,11 @@ app:gui Official Telegram Desktop client Telegram is a messaging app with a focus on speed and security, it is super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers. - https://github.com/telegramdesktop/tdesktop/releases/download/v3.7.1/tdesktop-3.7.1-full.tar.gz + https://github.com/telegramdesktop/tdesktop/releases/download/v4.0.2/tdesktop-4.0.2-full.tar.gz + + + fix-tgcalls-cstdint.patch + cmake ninja @@ -47,7 +51,8 @@ pipewire-devel - tdesktop.patch + + @@ -98,6 +103,13 @@ + + 2022-06-29 + 4.0.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2022-04-22 3.7.1