|
|
@ -1,6 +1,5 @@ |
|
|
|
PORTNAME= telegram-desktop |
|
|
|
DISTVERSION= 4.9.3 |
|
|
|
PORTREVISION= 1 |
|
|
|
DISTVERSION= 4.10.3 |
|
|
|
CATEGORIES= net-im |
|
|
|
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ |
|
|
|
DISTNAME= tdesktop-${DISTVERSION}-full |
|
|
@ -59,7 +58,7 @@ GH_PROJECT= tdesktop |
|
|
|
|
|
|
|
.if ${FLAVOR} == qt5 |
|
|
|
USES+= kde:5 qt:5 |
|
|
|
USE_QT= buildtools:build core dbus gui imageformats network qmake:build \
|
|
|
|
USE_QT= buildtools:build core dbus declarative gui imageformats network qmake:build \
|
|
|
|
svg widgets |
|
|
|
USE_KDE= coreaddons kimageformats |
|
|
|
.else |
|
|
@ -69,7 +68,6 @@ USE_QT= 5compat base imageformats lottie shadertools svg tools:build |
|
|
|
|
|
|
|
USE_GL= gl |
|
|
|
USE_GNOME= glib20 glibmm26 introspection |
|
|
|
#USE_XORG= x11 xcb xcomposite xdamage xext xfixes xrandr xrender xtst
|
|
|
|
|
|
|
|
CMAKE_ARGS= -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} |
|
|
|
CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS |
|
|
@ -113,7 +111,7 @@ TELEGRAM_API_ID= 601761 |
|
|
|
.include <bsd.port.options.mk> |
|
|
|
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000 && ${OSVERSION} < 1400079 |
|
|
|
USES+= llvm:build |
|
|
|
USES+= llvm:max=15,build |
|
|
|
.else |
|
|
|
USES+= compiler:c++20-lang |
|
|
|
.endif |
|
|
|