|
@ -1,6 +1,5 @@ |
|
|
PORTNAME= telegram-desktop |
|
|
PORTNAME= telegram-desktop |
|
|
DISTVERSION= 4.10.3 |
|
|
DISTVERSION= 4.11.5 |
|
|
PORTREVISION= 1 |
|
|
|
|
|
CATEGORIES= net-im |
|
|
CATEGORIES= net-im |
|
|
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ |
|
|
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ |
|
|
DISTNAME= tdesktop-${DISTVERSION}-full |
|
|
DISTNAME= tdesktop-${DISTVERSION}-full |
|
@ -117,6 +116,32 @@ USES+= llvm:max=15,build |
|
|
USES+= compiler:c++20-lang |
|
|
USES+= compiler:c++20-lang |
|
|
.endif |
|
|
.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: |
|
|
post-patch: |
|
|
# XXX fix the following on every source file |
|
|
# XXX fix the following on every source file |
|
|
# warning: unknown warning option '-Wno-maybe-uninitialized' |
|
|
# warning: unknown warning option '-Wno-maybe-uninitialized' |
|
|