Browse Source

Version 4.12.2

master
Sergey Kiselev 1 year ago
parent
commit
15bec0502a
  1. 5
      net-im/telegram-desktop/Makefile
  2. 6
      net-im/telegram-desktop/distinfo
  3. 11
      net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_notifications__manager__linux.cpp
  4. 2
      net-im/telegram-desktop/pkg-plist

5
net-im/telegram-desktop/Makefile

@ -1,5 +1,5 @@
PORTNAME= telegram-desktop
DISTVERSION= 4.11.7
DISTVERSION= 4.12.2
CATEGORIES= net-im
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTNAME= tdesktop-${DISTVERSION}-full
@ -70,7 +70,8 @@ USE_GL= gl
USE_GNOME= glib20 glibmm26 introspection
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
CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \
DESKTOP_APP_DISABLE_SCUDO
# Since cmake 3.25.0, BSDs are no longer recognised as Linux (in this port).
CMAKE_ARGS+= -DLINUX=true

6
net-im/telegram-desktop/distinfo

@ -1,3 +1,3 @@
TIMESTAMP = 1695876952
SHA256 (tdesktop-4.9.3-full.tar.gz) = 2ef462651d397d807576f5df3a5d3de2764accf8d155a0b4d576a354a614d107
SIZE (tdesktop-4.9.3-full.tar.gz) = 69517868
TIMESTAMP = 1701706520
SHA256 (tdesktop-4.12.2-full.tar.gz) = 7e9e51ae9c40d5b8c964bcfe0e252e35980c6668327934d2270144405c519914
SIZE (tdesktop-4.12.2-full.tar.gz) = 67796891

11
net-im/telegram-desktop/files/patch-Telegram_SourceFiles_platform_linux_notifications__manager__linux.cpp

@ -1,11 +0,0 @@
--- Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp.orig 2023-10-02 20:31:34 UTC
+++ Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp
@@ -814,7 +814,7 @@ bool ByDefault() {
// A list of capabilities that offer feature parity
// with custom notifications
- return ranges::all_of(std::initializer_list{
+ return ranges::all_of(std::array{
// To show message content
"body",
// To have buttons on notifications

2
net-im/telegram-desktop/pkg-plist

@ -1,5 +1,6 @@
bin/telegram-desktop
share/applications/org.telegram.desktop.desktop
share/dbus-1/services/org.telegram.desktop.service
share/icons/hicolor/128x128/apps/telegram.png
share/icons/hicolor/16x16/apps/telegram.png
share/icons/hicolor/256x256/apps/telegram.png
@ -7,4 +8,5 @@ share/icons/hicolor/32x32/apps/telegram.png
share/icons/hicolor/48x48/apps/telegram.png
share/icons/hicolor/512x512/apps/telegram.png
share/icons/hicolor/64x64/apps/telegram.png
share/icons/hicolor/symbolic/apps/telegram-symbolic.svg
share/metainfo/org.telegram.desktop.metainfo.xml

Loading…
Cancel
Save