summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/telegram-desktop')
-rw-r--r--net-im/telegram-desktop/Makefile11
-rw-r--r--net-im/telegram-desktop/distinfo6
-rw-r--r--net-im/telegram-desktop/files/patch-Telegram_lib__webview_webview_webview__data__stream__memory.cpp10
3 files changed, 6 insertions, 21 deletions
diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index d3f68c246e88..1d8867d40271 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -1,5 +1,5 @@
PORTNAME= telegram-desktop
-DISTVERSION= 5.15.4
+DISTVERSION= 6.1.1
CATEGORIES= net-im
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTNAME= tdesktop-${DISTVERSION}-full
@@ -67,9 +67,7 @@ CMAKE_ARGS= -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_
# The order of the variables is important here due to complex combination validation
CMAKE_ON= DESKTOP_APP_USE_PACKAGED \
DESKTOP_APP_DISABLE_CRASH_REPORTS \
- DESKTOP_APP_DISABLE_JEMALLOC \
- DESKTOP_APP_DISABLE_QT_PLUGINS \
- DESKTOP_APP_DISABLE_SCUDO
+ DESKTOP_APP_DISABLE_QT_PLUGINS
# Since cmake 3.25.0, BSDs are no longer recognised as Linux (in this port).
CMAKE_ARGS+= -DLINUX=true
@@ -93,14 +91,11 @@ SYSTEM_FONTS_DESC= Use system fonts instead of bundled patched ones
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
-ALSA_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_ALSA
-PULSEAUDIO_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_PULSEAUDIO
SYSTEM_FONTS_CMAKE_BOOL_OFF= DESKTOP_APP_USE_PACKAGED_FONTS
-WAYLAND_CMAKE_BOOL_OFF= DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
WAYLAND_USE= qt=wayland
X11_CMAKE_BOOL_OFF= DESKTOP_APP_DISABLE_X11_INTEGRATION
X11_USES= xorg
-X11_USE= xorg=x11,xcb,xcomposite,xdamage,xext,xfixes,xrandr,xrender,xtst
+X11_USE= xorg=x11,xcb,xcomposite,xdamage,xext,xfixes,xrandr,xtst
X11_LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms \
libxkbcommon.so:x11/libxkbcommon
diff --git a/net-im/telegram-desktop/distinfo b/net-im/telegram-desktop/distinfo
index c0a80c6f5808..389036e58202 100644
--- a/net-im/telegram-desktop/distinfo
+++ b/net-im/telegram-desktop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1749848341
-SHA256 (tdesktop-5.15.4-full.tar.gz) = 3705dc2ecf51e9290a565b7a06dcdfc5ecbac13ec536afe582f3411653ad50d9
-SIZE (tdesktop-5.15.4-full.tar.gz) = 76872146
+TIMESTAMP = 1756811881
+SHA256 (tdesktop-6.1.1-full.tar.gz) = 07274d7b0038e5e6d127fb6568283594d8a735ea086c662eeee73713bd73ca04
+SIZE (tdesktop-6.1.1-full.tar.gz) = 75255431
diff --git a/net-im/telegram-desktop/files/patch-Telegram_lib__webview_webview_webview__data__stream__memory.cpp b/net-im/telegram-desktop/files/patch-Telegram_lib__webview_webview_webview__data__stream__memory.cpp
deleted file mode 100644
index 4fb6549d2bce..000000000000
--- a/net-im/telegram-desktop/files/patch-Telegram_lib__webview_webview_webview__data__stream__memory.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- Telegram/lib_webview/webview/webview_data_stream_memory.cpp.orig 2025-02-13 17:00:08 UTC
-+++ Telegram/lib_webview/webview/webview_data_stream_memory.cpp
-@@ -8,6 +8,7 @@
-
- #if !defined Q_OS_WIN && !defined Q_OS_MAC
- #include <sys/mman.h>
-+#include <unistd.h>
- #endif // !Q_OS_WIN && !Q_OS_MAC
-
- namespace Webview {