Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2021 09:13:25 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567910 - in head/net-im/telegram-desktop: . files
Message-ID:  <202103090913.1299DP6G036369@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Tue Mar  9 09:13:25 2021
New Revision: 567910
URL: https://svnweb.freebsd.org/changeset/ports/567910

Log:
  net-im/telegram-desktop: update to 2.6.1
  
  ChangeLog: https://github.com/telegramdesktop/tdesktop/releases/tag/v2.6.1
  
  While here, pet linters
  
  PR:	254123
  Submitted by:	henry.hu.sh@gmail.com (maintainer)

Deleted:
  head/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__file__utilities__linux.cpp
Modified:
  head/net-im/telegram-desktop/Makefile
  head/net-im/telegram-desktop/distinfo

Modified: head/net-im/telegram-desktop/Makefile
==============================================================================
--- head/net-im/telegram-desktop/Makefile	Tue Mar  9 09:03:54 2021	(r567909)
+++ head/net-im/telegram-desktop/Makefile	Tue Mar  9 09:13:25 2021	(r567910)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	telegram-desktop
-DISTVERSION=	2.5.8
+DISTVERSION=	2.6.1
 CATEGORIES=	net-im
 MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
 DISTNAME=	tdesktop-${DISTVERSION}-full
@@ -13,9 +13,9 @@ COMMENT=	Telegram Desktop messaging app
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BROKEN_i386=	Does not build, webrtc related.
 NOT_FOR_ARCHS=		powerpc powerpc64 powerpcspe
 NOT_FOR_ARCHS_REASON=	Only little endian is supported
-BROKEN_i386=	Does not build, webrtc related.
 
 BUILD_DEPENDS=	alsa-lib>0:audio/alsa-lib \
 		dee>0:devel/dee \
@@ -44,52 +44,50 @@ LIB_DEPENDS=	libavformat.so:multimedia/ffmpeg \
 USES=		cmake compiler:c++17-lang desktop-file-utils gl \
 		gnome pkgconfig python:3.7,build qt:5 ssl xorg
 
-# see Bugzilla #245452 for details
-NO_CCACHE=	yes
-
 USE_GITHUB=	nodefault
 GH_ACCOUNT=	telegramdesktop
 GH_PROJECT=	tdesktop
+USE_GL=		gl
 USE_GNOME=	glib20
+INSTALLS_ICONS=	yes
 USE_QT=		core dbus gui imageformats network widgets buildtools_build \
 		qmake_build wayland
 USE_XORG=	x11 xcb
-USE_GL=		gl
 
+CMAKE_ARGS=	-DDESKTOP_APP_SPECIAL_TARGET="" -DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
+		-DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} \
+		-Ddisable_autoupdate=1
 CMAKE_ON=	DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \
 		TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION \
 		DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
 CMAKE_OFF=	DESKTOP_APP_USE_PACKAGED_RLOTTIE DESKTOP_APP_USE_PACKAGED_VARIANT \
 		DESKTOP_APP_USE_GLIBC_WRAPS TDESKTOP_USE_PACKAGED_TGVOIP \
 		DESKTOP_APP_USE_PACKAGED_FONTS
-CMAKE_ARGS=	-DDESKTOP_APP_SPECIAL_TARGET="" -DTDESKTOP_LAUNCHER_BASENAME="telegramdesktop" \
-		-DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} \
-		-Ddisable_autoupdate=1
 
 # Disable DCHECKs, otherwise video calls will crash.
 CXXFLAGS+=	-DNDEBUG
 
-# Telegram asks each custom build to have its own API ID and hash.
-TELEGRAM_API_ID=	601761
-TELEGRAM_API_HASH=	20a3432aab43f24bb4460fceac5ba38d
+# see Bugzilla #245452 for details
+NO_CCACHE=	yes
 
 # Telegram uses OpenAL for its audio, but libtgvoip (for voice calls) can use PulseAudio or ALSA.
 # It dynamically loads PulseAudio, and if this fails, it loads ALSA.
 # If both of them are not installed, then voice calls do not work, but other functionalities still work.
-OPTIONS_MULTI=		AUDIO
-OPTIONS_MULTI_AUDIO=	ALSA PULSEAUDIO
 OPTIONS_DEFINE=		GTK
 OPTIONS_DEFAULT=	ALSA
+OPTIONS_MULTI=		AUDIO
+OPTIONS_MULTI_AUDIO=	ALSA PULSEAUDIO
 
 AUDIO_DESC=	Audio backend for voice calls
 GTK_DESC=	Gtk integration (Use Gtk dialogs, etc.)
 
 ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
+GTK_CMAKE_BOOL_OFF=	DESKTOP_APP_DISABLE_GTK_INTEGRATION
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 
-GTK_CMAKE_BOOL_OFF=	TDESKTOP_DISABLE_GTK_INTEGRATION
-
-INSTALLS_ICONS=	yes
+# Telegram asks each custom build to have its own API ID and hash.
+TELEGRAM_API_HASH=	20a3432aab43f24bb4460fceac5ba38d
+TELEGRAM_API_ID=	601761
 
 .include <bsd.port.options.mk>
 

Modified: head/net-im/telegram-desktop/distinfo
==============================================================================
--- head/net-im/telegram-desktop/distinfo	Tue Mar  9 09:03:54 2021	(r567909)
+++ head/net-im/telegram-desktop/distinfo	Tue Mar  9 09:13:25 2021	(r567910)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1612728578
-SHA256 (tdesktop-2.5.8-full.tar.gz) = 9c89cb31f8ba8a26821fe3c2769b04162e8d7629d327f9cd25a892e88878417e
-SIZE (tdesktop-2.5.8-full.tar.gz) = 36685925
+TIMESTAMP = 1615175171
+SHA256 (tdesktop-2.6.1-full.tar.gz) = c7878c4d7c621a175b3b27895b3fb8c20a56319214d5030d734b2768390a8b73
+SIZE (tdesktop-2.6.1-full.tar.gz) = 36726422



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103090913.1299DP6G036369>