|
@ -1,5 +1,5 @@ |
|
|
PORTNAME= telegram-desktop |
|
|
PORTNAME= telegram-desktop |
|
|
DISTVERSION= 4.12.2 |
|
|
DISTVERSION= 4.14.4 |
|
|
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 |
|
@ -63,7 +63,7 @@ USE_QT= buildtools:build core dbus declarative gui imageformats network qmake:b |
|
|
USE_KDE= coreaddons kimageformats |
|
|
USE_KDE= coreaddons kimageformats |
|
|
.else |
|
|
.else |
|
|
USES+= qt:6 |
|
|
USES+= qt:6 |
|
|
USE_QT= 5compat base imageformats lottie shadertools svg tools:build |
|
|
USE_QT= 5compat base declarative imageformats lottie shadertools svg tools:build |
|
|
.endif |
|
|
.endif |
|
|
|
|
|
|
|
|
USE_GL= gl |
|
|
USE_GL= gl |
|
@ -111,8 +111,8 @@ TELEGRAM_API_ID= 601761 |
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk> |
|
|
.include <bsd.port.options.mk> |
|
|
|
|
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000 && ${OSVERSION} < 1400079 |
|
|
.if ${OPSYS} == FreeBSD && ((${OSVERSION} >= 1400000 && ${OSVERSION} < 1400091) || ${OSVERSION} < 1302507) |
|
|
USES+= llvm:max=15,build |
|
|
USES+= llvm:min=16,build |
|
|
.else |
|
|
.else |
|
|
USES+= compiler:c++20-lang |
|
|
USES+= compiler:c++20-lang |
|
|
.endif |
|
|
.endif |
|
@ -131,10 +131,7 @@ post-extract: |
|
|
${WRKSRC}/Telegram/ThirdParty/lz4 \
|
|
|
${WRKSRC}/Telegram/ThirdParty/lz4 \
|
|
|
${WRKSRC}/Telegram/ThirdParty/minizip \
|
|
|
${WRKSRC}/Telegram/ThirdParty/minizip \
|
|
|
${WRKSRC}/Telegram/ThirdParty/jimf \
|
|
|
${WRKSRC}/Telegram/ThirdParty/jimf \
|
|
|
${WRKSRC}/Telegram/ThirdParty/plasma-wayland-protocols \
|
|
|
|
|
|
${WRKSRC}/Telegram/ThirdParty/range-v3 \
|
|
|
${WRKSRC}/Telegram/ThirdParty/range-v3 \
|
|
|
${WRKSRC}/Telegram/ThirdParty/wayland \
|
|
|
|
|
|
${WRKSRC}/Telegram/ThirdParty/wayland-protocols \
|
|
|
|
|
|
${WRKSRC}/Telegram/ThirdParty/xxHash |
|
|
${WRKSRC}/Telegram/ThirdParty/xxHash |
|
|
|
|
|
|
|
|
.if ${FLAVOR} == qt5 |
|
|
.if ${FLAVOR} == qt5 |
|
|