From 35c4be125428bdc2355b758eab4591e387c0c4a4 Mon Sep 17 00:00:00 2001 From: Sergey Kiselev Date: Thu, 9 Nov 2023 16:43:25 +0500 Subject: [PATCH] Version 4.11.5 --- net-im/telegram-desktop/Makefile | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index 625e155..cb33ebf 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -1,6 +1,5 @@ PORTNAME= telegram-desktop -DISTVERSION= 4.10.3 -PORTREVISION= 1 +DISTVERSION= 4.11.5 CATEGORIES= net-im MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ DISTNAME= tdesktop-${DISTVERSION}-full @@ -117,6 +116,32 @@ USES+= llvm:max=15,build USES+= compiler:c++20-lang .endif +post-extract: + # Some of the third-party components already built, and + # can be safely removed + ${RM} -rf \ + ${WRKSRC}/Telegram/ThirdParty/QR \ + ${WRKSRC}/Telegram/ThirdParty/dispatch \ + ${WRKSRC}/Telegram/ThirdParty/expected \ + ${WRKSRC}/Telegram/ThirdParty/fcitx5-qt \ + ${WRKSRC}/Telegram/ThirdParty/hime \ + ${WRKSRC}/Telegram/ThirdParty/hunspell \ + ${WRKSRC}/Telegram/ThirdParty/jemalloc \ + ${WRKSRC}/Telegram/ThirdParty/lz4 \ + ${WRKSRC}/Telegram/ThirdParty/minizip \ + ${WRKSRC}/Telegram/ThirdParty/jimf \ + ${WRKSRC}/Telegram/ThirdParty/plasma-wayland-protocols \ + ${WRKSRC}/Telegram/ThirdParty/range-v3 \ + ${WRKSRC}/Telegram/ThirdParty/wayland \ + ${WRKSRC}/Telegram/ThirdParty/wayland-protocols \ + ${WRKSRC}/Telegram/ThirdParty/xxHash + +.if ${FLAVOR} == qt5 + ${RM} -rf \ + ${WRKSRC}/Telegram/ThirdParty/kcoreaddons \ + ${WRKSRC}/Telegram/ThirdParty/kimageformats +.endif + post-patch: # XXX fix the following on every source file # warning: unknown warning option '-Wno-maybe-uninitialized'