From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 43D3B1580E0 for ; Sun, 26 Jan 2025 12:13:46 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 28FA83434E1 for ; Sun, 26 Jan 2025 12:13:46 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 60B8A110470; Sun, 26 Jan 2025 12:13:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5192911046F for ; Sun, 26 Jan 2025 12:13:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D023E343499 for ; Sun, 26 Jan 2025 12:13:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3948EEE8 for ; Sun, 26 Jan 2025 12:13:40 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1737893502.da34fadbbe47fcd50e4bcb7845e27d41052d3dc2.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/telegram-desktop-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/telegram-desktop-bin/Manifest net-im/telegram-desktop-bin/telegram-desktop-bin-5.10.5.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: da34fadbbe47fcd50e4bcb7845e27d41052d3dc2 X-VCS-Branch: master Date: Sun, 26 Jan 2025 12:13:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fa4efa21-cbd6-430d-a9b5-94518b135c7d X-Archives-Hash: 6732fa097b7bc798c5e695ff5b3e61e3 commit: da34fadbbe47fcd50e4bcb7845e27d41052d3dc2 Author: Henning Schild hennsch de> AuthorDate: Sun Jan 26 07:34:13 2025 +0000 Commit: Yixun Lan gentoo org> CommitDate: Sun Jan 26 12:11:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da34fadb net-im/telegram-desktop-bin: add 5.10.5 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Yixun Lan gentoo.org> net-im/telegram-desktop-bin/Manifest | 2 + .../telegram-desktop-bin-5.10.5.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index f6182603cfa7..16cb3e029227 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,6 @@ DIST tdesktop-5.10.2.tar.gz 22323788 BLAKE2B 7bfa2f29fb8d72b3feb5af5733c5dc0e62c4983b3d2e7f6ae7d1c028b86232d6fcedcf5833d51cc8f348aa8c78947d6a288d0b2bbeca82feac53f9c5094527fb SHA512 b717c612c42f43a93a40f38d797ec7d8b977542a91eb1686d7a4b14c428e800f205ec9a7cfb18196e2051d9e6721c3858ad6c32a42bf01bbf8818e92cc4a9dc5 DIST tdesktop-5.10.3.tar.gz 22323592 BLAKE2B f851c59b2247cc3b2483a28a69a262cc2bf4b643bc18b065657f190718166a2943c0e2648a5093e1ba532e45fe6bf1de9448a1fd823e18056800ce47c212b7df SHA512 e8b3dd9ab806647e95d54dbf94798e0b3e1b2268f3103fc2db71de4a0e0354bb04dc0394e3a4513633fe111c3ea0d94666a51e44dd1e98d4e9cb8fbc15ddabf6 +DIST tdesktop-5.10.5.tar.gz 22357673 BLAKE2B 4d76c5fde0ee901cc8f4db74dcea1d1fe73fda1fa36812f94a02a7892864675d43f1c9c63e14ee719c8c9e8e4845821786889360fcd4644cbab832852f0ba912 SHA512 3b930ad55554d974c49c1f87f950c2feaaedddfca9c2d439ae65595ee2e35c229eaa7408d1cf3313543d917cdb622da6fb1c2af7534a0e9546f06e55f6f57b01 DIST tsetup.5.10.2.tar.xz 58696464 BLAKE2B ca5dce741a3369b40cfd1953dd83d2003f8485a24f6afa821887e565f1fba41962b41a7c0e82f211d9e18e35615840fa4870e3128d150c6ec0843b1d1cc5c8c1 SHA512 0bfaa063c80c468e25ae316dac7fea0d0fa1177cacb3d135f62d8f71b9c0206a576e08bef98a279d0076a2437f6dde31727674290db102d8484fa851b5a0e53e DIST tsetup.5.10.3.tar.xz 58701288 BLAKE2B 00446ea9e6fb61ac41c29c925b5062d9113da81145fb2fd754b6de860239e3c917c607bcc5be6b73ddf54733bae273de26664b9fe552f7bd6e31dd69bf213af7 SHA512 ee54bec2bbb093c4a4684dc15681818e4e94f33b92a41939f3d082c21b20abb7e1cbbedd18ce0d1e80fa8b223e505b2b0bf2194a70e65ba30f1b8876f5147388 +DIST tsetup.5.10.5.tar.xz 58847384 BLAKE2B 1c1b9f051703cef78f34e2154ecfdb9d0d6ef3f5443bf2bbbb146b17125dc5313fe7281b8970edecc230251feda0fa3817314ac8f7871a04991bca05053d2ee2 SHA512 3bfe3592f5e9df02c286d92bc87cf55d8f8a1164837f36cde66ff0ebdc0e8c685913e50531ca2571e8dca867fab56a8b1323f1ea40bf4884c65eeb203f0c936e diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.10.5.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.10.5.ebuild new file mode 100644 index 000000000000..590a50fa0310 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.10.5.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop optfeature xdg + +DESCRIPTION="Official desktop client for Telegram (binary package)" +HOMEPAGE="https://desktop.telegram.org" +SRC_URI=" + https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz + amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz ) +" + +S="${WORKDIR}/Telegram" + +LICENSE="GPL-3-with-openssl-exception" +SLOT="0" +KEYWORDS="-* ~amd64" + +QA_PREBUILT="usr/bin/telegram-desktop" + +RDEPEND=" + !net-im/telegram-desktop + sys-libs/glibc + dev-libs/glib:2 + >=media-libs/fontconfig-2.13 + media-libs/freetype:2 + virtual/opengl + x11-libs/gtk+:3[X,wayland] + x11-libs/libX11 + >=x11-libs/libxcb-1.10 +" + +src_prepare() { + default + + sed -i -e \ + 's/^Exec=@CMAKE_INSTALL_FULL_BINDIR@\/telegram-desktop/Exec=\/usr\/bin\/telegram-desktop/' \ + "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service || die +} + +src_install() { + newbin Telegram telegram-desktop + + insinto /usr/share/TelegramDesktop/externalupdater.d/ + newins - externalupdater <<<"${EPREFIX}/usr/bin/telegram-desktop" + + local icon_size + for icon_size in 16 32 48 64 128 256 512; do + newicon -s "${icon_size}" \ + "${WORKDIR}/tdesktop-${PV}/Telegram/Resources/art/icon${icon_size}.png" \ + telegram.png + done + + domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.desktop + insinto /usr/share/dbus-1/services + doins "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "spell checker support" app-text/enchant +}