|
|
@ -1,6 +1,6 @@ |
|
|
|
PORTNAME= telegram-desktop |
|
|
|
DISTVERSION= 4.8.4 |
|
|
|
PORTREVISION= 4 |
|
|
|
DISTVERSION= 4.9.3 |
|
|
|
PORTREVISION= 1 |
|
|
|
CATEGORIES= net-im |
|
|
|
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ |
|
|
|
DISTNAME= tdesktop-${DISTVERSION}-full |
|
|
@ -14,8 +14,8 @@ LICENSE= GPLv3 |
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE |
|
|
|
|
|
|
|
BROKEN_i386= does not build, webrtc related |
|
|
|
BROKEN_SSL= openssl30 openssl31 |
|
|
|
BROKEN_SSL_REASON= undefined symbol: ERR_load_BIO_strings |
|
|
|
BROKEN_SSL= openssl30 openssl31 |
|
|
|
BROKEN_SSL_REASON= undefined symbol: ERR_load_BIO_strings |
|
|
|
NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe |
|
|
|
NOT_FOR_ARCHS_REASON= Only little endian is supported |
|
|
|
|
|
|
@ -52,9 +52,8 @@ qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 |
|
|
|
qt6_CONFLICTS_INSTALL= ${PORTNAME} |
|
|
|
|
|
|
|
USES= cmake desktop-file-utils gl gnome jpeg localbase \
|
|
|
|
minizip openal pkgconfig python:,build ssl xorg |
|
|
|
minizip openal pkgconfig python:build ssl xorg |
|
|
|
|
|
|
|
USE_CXXSTD= c++17 |
|
|
|
USE_GITHUB= nodefault |
|
|
|
GH_ACCOUNT= telegramdesktop |
|
|
|
GH_PROJECT= tdesktop |
|
|
@ -107,14 +106,10 @@ TELEGRAM_API_ID= 601761 |
|
|
|
|
|
|
|
.include <bsd.port.options.mk> |
|
|
|
|
|
|
|
.if ${OSVERSION} > 1400000 |
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000 && ${OSVERSION} < 1400079 |
|
|
|
USES+= llvm:build |
|
|
|
CC= ${_LLVM_MK_PREFIX}/bin/clang |
|
|
|
CPP= ${_LLVM_MK_PREFIX}/bin/clang-cpp |
|
|
|
CXX= ${_LLVM_MK_PREFIX}/bin/clang++ |
|
|
|
#LD?= ${_LLVM_MK_PREFIX}/bin/ld
|
|
|
|
.else |
|
|
|
USES+= compiler:c++17-lang |
|
|
|
USES+= compiler:c++20-lang |
|
|
|
.endif |
|
|
|
|
|
|
|
post-patch: |
|
|
|