git: f675fabbd572 - main - net-im/t*: update Telegram Desktop from 4.5.2 to 4.5.3

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Mon, 09 Jan 2023 20:07:38 UTC
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f675fabbd5727f5d40f0383e16fc37f03f146eb6

commit f675fabbd5727f5d40f0383e16fc37f03f146eb6
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2023-01-09 20:07:00 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2023-01-09 20:07:32 +0000

    net-im/t*: update Telegram Desktop from 4.5.2 to 4.5.3
    
    While I'm here:
    - revert back 7f38c6b7d6302846e806592db36f43e32a785b8b
    - remove NO_CCACHE, builds are fine now
---
 net-im/telegram-desktop/Makefile                   |  8 ++------
 net-im/telegram-desktop/distinfo                   |  6 +++---
 net-im/telegram-desktop/files/patch-CMakeLists.txt | 10 ----------
 net-im/tg_owt/Makefile                             |  4 ++--
 net-im/tg_owt/distinfo                             |  6 +++---
 5 files changed, 10 insertions(+), 24 deletions(-)

diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index 68d21fdffae7..a320a0714af7 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	telegram-desktop
-DISTVERSION=	4.5.2
+DISTVERSION=	4.5.3
 CATEGORIES=	net-im
 MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
 DISTNAME=	tdesktop-${DISTVERSION}-full
@@ -72,8 +72,7 @@ USE_GL=		gl
 USE_GNOME=	glib20 glibmm26
 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} \
-		-DLINUX=1
+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 \
 		DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
 CMAKE_OFF=	DESKTOP_APP_USE_PACKAGED_FONTS
@@ -84,9 +83,6 @@ CMAKE_ARGS+=	-DLINUX=true
 # libdispatch components
 LDFLAGS+=	-lBlocksRuntime
 
-# 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.
diff --git a/net-im/telegram-desktop/distinfo b/net-im/telegram-desktop/distinfo
index 997a9b2fe301..f9bd08b6cfa7 100644
--- a/net-im/telegram-desktop/distinfo
+++ b/net-im/telegram-desktop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1672737775
-SHA256 (tdesktop-4.5.2-full.tar.gz) = b2c77dc4cd3589a60a7eb124233d339d68eb18ff9c1be52c64c048b42bf45bba
-SIZE (tdesktop-4.5.2-full.tar.gz) = 63717775
+TIMESTAMP = 1673200650
+SHA256 (tdesktop-4.5.3-full.tar.gz) = 3e338607708751813df36b677904e2e652f8adfac669da418c8dab4588a4f70f
+SIZE (tdesktop-4.5.3-full.tar.gz) = 63718129
diff --git a/net-im/telegram-desktop/files/patch-CMakeLists.txt b/net-im/telegram-desktop/files/patch-CMakeLists.txt
deleted file mode 100644
index 6a00ae221e94..000000000000
--- a/net-im/telegram-desktop/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
---- CMakeLists.txt.orig	2022-12-25 22:21:34.522573000 +0100
-+++ CMakeLists.txt	2022-12-25 22:21:42.197358000 +0100
-@@ -31,6 +31,7 @@
-     HOMEPAGE_URL "https://desktop.telegram.org"
- )
- set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT Telegram)
-+set(LINUX 1)
- 
- get_filename_component(third_party_loc "Telegram/ThirdParty" REALPATH)
- get_filename_component(submodules_loc "Telegram" REALPATH)
diff --git a/net-im/tg_owt/Makefile b/net-im/tg_owt/Makefile
index 6891b3c2e5b2..66f64d524466 100644
--- a/net-im/tg_owt/Makefile
+++ b/net-im/tg_owt/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	tg_owt
-PORTVERSION=	0.0.20221215
+PORTVERSION=	0.0.20230105
 CATEGORIES=	net-im
 
 MAINTAINER=	ports@FreeBSD.org
@@ -21,7 +21,7 @@ USE_XORG=	x11 xcomposite xdamage xrender xrandr xtst
 USE_GL=		gbm
 USE_GITHUB=	yes
 GH_ACCOUNT=	desktop-app
-GH_TAGNAME=	1512ef6
+GH_TAGNAME=	5098730
 
 # libyuv cloned from https://chromium.googlesource.com/libyuv/libyuv
 # when updating port check if hash tag in the submodule was updated
diff --git a/net-im/tg_owt/distinfo b/net-im/tg_owt/distinfo
index 6fcd9f4894ce..2c5ba95fe0f0 100644
--- a/net-im/tg_owt/distinfo
+++ b/net-im/tg_owt/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1672339563
-SHA256 (desktop-app-tg_owt-0.0.20221215-1512ef6_GH0.tar.gz) = b7e102f803315981b3349c747ac67cbf1035005152b4e1aa70be8f8bdf74d03a
-SIZE (desktop-app-tg_owt-0.0.20221215-1512ef6_GH0.tar.gz) = 13814806
+TIMESTAMP = 1673200627
+SHA256 (desktop-app-tg_owt-0.0.20230105-5098730_GH0.tar.gz) = 6b2187c56a434178ebc6ee4ceab80494f17e176dcfa377a1d36a8288788a531f
+SIZE (desktop-app-tg_owt-0.0.20230105-5098730_GH0.tar.gz) = 13816531
 SHA256 (abseil-abseil-cpp-8c0b94e_GH0.tar.gz) = e995f06ce4fd4a9641e6a8e5d8d2258710eef481a07307a3e727012f1a83c442
 SIZE (abseil-abseil-cpp-8c0b94e_GH0.tar.gz) = 1957422
 SHA256 (google-crc32c-21fc8ef_GH0.tar.gz) = 9cb6093f9a554f9fb8397ce9a1a07eec44f1ae0918d7816b60c7b14ef745e082