mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
net-im/telegram-desktop: Bump to 2.9.3
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
DIST tdesktop-2.8.11-full.tar.gz 37105468 BLAKE2B 1ec5a0003bd1b948b45213509fa0649dfde5ec8e3dff097bf45aa0951c7963930788b0bee853f286d04b008b78704c464b6614b8391350767affebc2623b25af SHA512 a553313b04fbb562745be2381a84117657172952e46e280980a73c9fcfe2a7cf29c0e012e4b1259816d1e6652418e7a1ddfc4e394544fcc3aeb33704cbe80860
|
||||
DIST tdesktop-2.9.0-full.tar.gz 37327425 BLAKE2B f47abfd41e71dbf950e6357417fd2725b145286861f6dfc8edc4101b6b232c43ea7a9987d028e57979588bf44919fef2e89b00adae7a9843e52f8f2566013dd8 SHA512 e9be60cdaeffa4efa95ea1e5d8fe50308bff5612b546fa92c02f824f479b42e098fb8fbe713e652578ee2308e3faadaf82e4c101dee0e58b6f3c70d8dcb0bd8e
|
||||
DIST tdesktop-2.9.3-full.tar.gz 37335782 BLAKE2B 197583ba6568c455218c51f590c1ba1a3f10c390caa4fd03657098f499ce113a4f5f57ca9dd53bc4baba31992d4229768ed35e68ad6b0685010bc335817edcac SHA512 810cfac5d7e6ce9413b1b2406927e89c1383ea5b725233a68b2cb29dd374b4c3386c22186640afde4492c844516c88889a5db8e5b167a09d6d6c1270ac965ac4
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- tdesktop-2.9.0-full.orig/Telegram/lib_ui/ui/platform/linux/ui_linux_wayland_integration_dummy.cpp
|
||||
+++ tdesktop-2.9.0-full/Telegram/lib_ui/ui/platform/linux/ui_linux_wayland_integration_dummy.cpp
|
||||
@@ -18,6 +18,8 @@
|
||||
WaylandIntegration::WaylandIntegration() {
|
||||
}
|
||||
|
||||
+WaylandIntegration::~WaylandIntegration() = default;
|
||||
+
|
||||
WaylandIntegration *WaylandIntegration::Instance() {
|
||||
if (!::Platform::IsWayland()) return nullptr;
|
||||
static WaylandIntegration instance;
|
||||
@@ -0,0 +1,31 @@
|
||||
Only link jemalloc for the Telegram binary
|
||||
|
||||
Some combination of factors is making the different codegen tools hang when
|
||||
jemalloc is linked for those, and they're ran under portage's sandbox. Since
|
||||
this is only used during build-time, and jemalloc is merely necessary to
|
||||
improve runtime memory use, it's unnecessary to use it for anything else.
|
||||
|
||||
--- tdesktop-2.9.3-full.orig/Telegram/CMakeLists.txt
|
||||
+++ tdesktop-2.9.3-full/Telegram/CMakeLists.txt
|
||||
@@ -1264,6 +1264,7 @@
|
||||
PRIVATE
|
||||
desktop-app::external_glibmm
|
||||
desktop-app::external_glib
|
||||
+ desktop-app::external_jemalloc
|
||||
)
|
||||
|
||||
if (NOT DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
|
||||
--- tdesktop-2.9.3-full.orig/cmake/options_linux.cmake
|
||||
+++ tdesktop-2.9.3-full/cmake/options_linux.cmake
|
||||
@@ -45,11 +45,6 @@
|
||||
endif()
|
||||
endif()
|
||||
|
||||
-target_link_libraries(common_options
|
||||
-INTERFACE
|
||||
- desktop-app::external_jemalloc
|
||||
-)
|
||||
-
|
||||
if (DESKTOP_APP_USE_ALLOCATION_TRACER)
|
||||
target_link_options(common_options
|
||||
INTERFACE
|
||||
+4
-4
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/${
|
||||
LICENSE="BSD GPL-3-with-openssl-exception LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64"
|
||||
IUSE="+dbus enchant +gtk +hunspell +spell wayland webkit +X"
|
||||
IUSE="+dbus enchant +gtk +hunspell screencast +spell wayland webkit +X"
|
||||
REQUIRED_USE="
|
||||
spell? (
|
||||
^^ ( enchant hunspell )
|
||||
@@ -24,6 +24,7 @@ REQUIRED_USE="
|
||||
webkit? ( gtk )
|
||||
gtk? ( dbus )
|
||||
"
|
||||
# Future: webkit doesn't depend on gtk anymore (version: >2.9.3)
|
||||
|
||||
RDEPEND="
|
||||
!net-im/telegram-desktop-bin
|
||||
@@ -44,7 +45,7 @@ RDEPEND="
|
||||
media-libs/openal
|
||||
media-libs/opus:=
|
||||
media-libs/rnnoise
|
||||
~media-libs/tg_owt-0_pre20210626
|
||||
~media-libs/tg_owt-0_pre20210626[screencast=,X=]
|
||||
media-video/ffmpeg:=[opus]
|
||||
sys-libs/zlib:=[minizip]
|
||||
dbus? (
|
||||
@@ -71,8 +72,7 @@ BDEPEND="
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/tdesktop-2.8.10-jemalloc-only-telegram.patch"
|
||||
"${FILESDIR}/tdesktop-2.9.0-fix-disable-wayland-integration.patch"
|
||||
"${FILESDIR}/tdesktop-2.9.3-jemalloc-only-telegram.patch"
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
Reference in New Issue
Block a user