aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Hu <henry.hu.sh@gmail.com>2021-05-10 16:09:14 +0000
committerNeel Chauhan <nc@FreeBSD.org>2021-05-10 16:15:48 +0000
commitc463b7d6bf5219f4a5c3cb87d4f4c505905582b4 (patch)
treec7ab6febf2716c49959f1a339b4f80147bf175cb
parentd9515bd59c37d7096351d31e133f75df8fa4e417 (diff)
downloadports-c463b7d6bf5219f4a5c3cb87d4f4c505905582b4.tar.gz
ports-c463b7d6bf5219f4a5c3cb87d4f4c505905582b4.zip
net-im/telegram-desktop: Update to 2.7.4
PR: 255719
-rw-r--r--net-im/telegram-desktop/Makefile4
-rw-r--r--net-im/telegram-desktop/distinfo6
-rw-r--r--net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__info__linux.cpp41
3 files changed, 5 insertions, 46 deletions
diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index 27c85cba6288..ddbc4ec6c8e9 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -1,5 +1,5 @@
PORTNAME= telegram-desktop
-DISTVERSION= 2.6.1
+DISTVERSION= 2.7.4
CATEGORIES= net-im
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTNAME= tdesktop-${DISTVERSION}-full
@@ -46,7 +46,7 @@ USE_GITHUB= nodefault
GH_ACCOUNT= telegramdesktop
GH_PROJECT= tdesktop
USE_GL= gl
-USE_GNOME= glib20
+USE_GNOME= glib20 glibmm
INSTALLS_ICONS= yes
USE_QT= core dbus gui imageformats network widgets buildtools_build \
qmake_build wayland
diff --git a/net-im/telegram-desktop/distinfo b/net-im/telegram-desktop/distinfo
index fb740d566b31..c8b0bb5b5e05 100644
--- a/net-im/telegram-desktop/distinfo
+++ b/net-im/telegram-desktop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1615175171
-SHA256 (tdesktop-2.6.1-full.tar.gz) = c7878c4d7c621a175b3b27895b3fb8c20a56319214d5030d734b2768390a8b73
-SIZE (tdesktop-2.6.1-full.tar.gz) = 36726422
+TIMESTAMP = 1620514737
+SHA256 (tdesktop-2.7.4-full.tar.gz) = 97526f0b4adf04cf86b605ae84f3efaacf58eb8f828bab8f4fe752a4fac62fb2
+SIZE (tdesktop-2.7.4-full.tar.gz) = 36894673
diff --git a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__info__linux.cpp b/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__info__linux.cpp
deleted file mode 100644
index e5bf3f9b34ee..000000000000
--- a/net-im/telegram-desktop/files/patch-Telegram_lib__base_base_platform_linux_base__info__linux.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
---- Telegram/lib_base/base/platform/linux/base_info_linux.cpp.orig 2021-01-28 15:30:24 UTC
-+++ Telegram/lib_base/base/platform/linux/base_info_linux.cpp
-@@ -14,11 +14,6 @@
- #include <QtCore/QDate>
- #include <QtGui/QGuiApplication>
-
--// this file is used on both Linux & BSD
--#ifdef Q_OS_LINUX
--#include <gnu/libc-version.h>
--#endif // Q_OS_LINUX
--
- namespace Platform {
- namespace {
-
-@@ -103,7 +98,7 @@ QString SystemVersionPretty() {
- static const auto result = [&] {
- QStringList resultList{};
-
--#ifdef Q_OS_LINUX
-+#if 0
- resultList << "Linux";
- #else // Q_OS_LINUX
- resultList << QSysInfo::kernelType();
-@@ -186,7 +181,7 @@ QString AutoUpdateKey() {
- }
-
- QString GetLibcName() {
--#ifdef Q_OS_LINUX
-+#if 0
- return "glibc";
- #endif // Q_OS_LINUX
-
-@@ -194,7 +189,7 @@ QString GetLibcName() {
- }
-
- QString GetLibcVersion() {
--#ifdef Q_OS_LINUX
-+#if 0
- static const auto result = [&] {
- const auto version = QString::fromLatin1(gnu_get_libc_version());
- return QVersionNumber::fromString(version).isNull() ? QString() : version;