--- ./Makefile 2021-06-19 16:16:08.000000000 -0400 +++ ./Makefile 2021-07-18 17:44:47.682657000 -0400 @@ -1,6 +1,5 @@ PORTNAME= telegram-desktop -DISTVERSION= 2.7.4 -PORTREVISION= 1 +DISTVERSION= 2.8.11 CATEGORIES= net-im MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ DISTNAME= tdesktop-${DISTVERSION}-full @@ -32,6 +31,7 @@ libjpeg.so:graphics/jpeg-turbo \ liblz4.so:archivers/liblz4 \ libminizip.so:archivers/minizip \ + librnnoise.so:audio/rnnoise \ libopenal.so:audio/openal-soft \ libopus.so:audio/opus \ libqrcodegencpp.so:graphics/qr-code-generator \ --- ./distinfo 2021-05-10 12:09:14.000000000 -0400 +++ ./distinfo 2021-07-18 17:34:32.723380000 -0400 @@ -1,3 +1,3 @@ -TIMESTAMP = 1620514737 -SHA256 (tdesktop-2.7.4-full.tar.gz) = 97526f0b4adf04cf86b605ae84f3efaacf58eb8f828bab8f4fe752a4fac62fb2 -SIZE (tdesktop-2.7.4-full.tar.gz) = 36894673 +TIMESTAMP = 1626644072 +SHA256 (tdesktop-2.8.11-full.tar.gz) = 168487a59a8ae6ca1fbd66ccefc9eae19344af61bfb8d4cdde3cf73c115aa9dc +SIZE (tdesktop-2.8.11-full.tar.gz) = 37105468 --- ./files/patch-Telegram_SourceFiles_platform_linux_specific__linux.cpp 1969-12-31 19:00:00.000000000 -0500 +++ ./files/patch-Telegram_SourceFiles_platform_linux_specific__linux.cpp 2021-07-18 19:14:20.125931000 -0400 @@ -0,0 +1,11 @@ +--- Telegram/SourceFiles/platform/linux/specific_linux.cpp.orig 2021-07-17 09:47:10 UTC ++++ Telegram/SourceFiles/platform/linux/specific_linux.cpp +@@ -48,7 +48,7 @@ https://github.com/telegramdesktop/tdesktop/blob/maste + #include + #include + #include +-#include ++#include + + #include + #include --- ./files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.cpp 2021-05-14 14:47:28.000000000 -0400 +++ ./files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.cpp 1969-12-31 19:00:00.000000000 -0500 @@ -1,11 +0,0 @@ ---- Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp.orig 2021-04-14 05:42:51 UTC -+++ Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp -@@ -38,7 +38,7 @@ bool Resolve() { - && LOAD_GTK_SYMBOL(gtk, gtk_window_get_type) - && LOAD_GTK_SYMBOL(gtk, gtk_window_set_decorated) - && LOAD_GTK_SYMBOL(gtk, gdk_x11_window_get_xid) -- && base::Platform::Gtk::LoadLibrary(webkit2gtk, "libwebkit2gtk-4.0.so.37", 0) -+ && base::Platform::Gtk::LoadLibrary(webkit2gtk, "libwebkit2gtk-4.0.so.37", 37) - && LOAD_GTK_SYMBOL(webkit2gtk, webkit_web_view_new) - && LOAD_GTK_SYMBOL(webkit2gtk, webkit_web_view_get_type) - && LOAD_GTK_SYMBOL(webkit2gtk, webkit_web_view_get_user_content_manager) --- ./files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.h 2021-05-12 00:21:02.000000000 -0400 +++ ./files/patch-Telegram_lib__webview_webview_platform_linux_webview__linux__webkit__gtk.h 1969-12-31 19:00:00.000000000 -0500 @@ -1,13 +0,0 @@ ---- Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.h.orig 2021-04-14 05:42:51 UTC -+++ Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.h -@@ -11,9 +11,9 @@ - extern "C" { - #undef signals - #include -+#include - #include - #include --#include - #define signals public - } // extern "C" - --- ./files/patch-cmake_external_CMakeLists.txt 1969-12-31 19:00:00.000000000 -0500 +++ ./files/patch-cmake_external_CMakeLists.txt 2021-07-18 19:14:20.145839000 -0400 @@ -0,0 +1,12 @@ +--- cmake/external/CMakeLists.txt.orig 2021-07-13 19:08:45 UTC ++++ cmake/external/CMakeLists.txt +@@ -37,9 +37,6 @@ if (add_hunspell_library) + add_checked_subdirectory(hunspell) + endif() + add_checked_subdirectory(iconv) +-if (LINUX) +- add_checked_subdirectory(jemalloc) +-endif() + add_checked_subdirectory(jpeg) + if (LINUX AND NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION) + add_checked_subdirectory(kwayland) --- ./files/patch-cmake_options__linux.cmake 1969-12-31 19:00:00.000000000 -0500 +++ ./files/patch-cmake_options__linux.cmake 2021-07-18 19:14:20.148410000 -0400 @@ -0,0 +1,14 @@ +--- cmake/options_linux.cmake.orig 2021-07-13 19:08:45 UTC ++++ cmake/options_linux.cmake +@@ -58,11 +58,6 @@ if (DESKTOP_APP_SPECIAL_TARGET) + endif() + endif() + +-target_link_libraries(common_options +-INTERFACE +- desktop-app::external_jemalloc +-) +- + if (DESKTOP_APP_USE_PACKAGED) + find_library(ATOMIC_LIBRARY atomic) + else()