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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3D601580F6 for ; Tue, 20 May 2025 00:12:41 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DA9A63430AB for ; Tue, 20 May 2025 00:12:41 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3CB3A1103DD; Tue, 20 May 2025 00:12:40 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 37D1D1103DD for ; Tue, 20 May 2025 00:12:40 +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 D82AA34352C for ; Tue, 20 May 2025 00:12:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EA29FB9 for ; Tue, 20 May 2025 00:12:38 +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: <1747699735.c4c5a0d165acfcd886d06a308d25a67a2b7836f9.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.14.3.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: c4c5a0d165acfcd886d06a308d25a67a2b7836f9 X-VCS-Branch: master Date: Tue, 20 May 2025 00:12:38 +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: 27fa1a86-701d-41cd-89c1-b2bc49d6dd88 X-Archives-Hash: 4ec0c51402efb2b9108c797d059adf4b commit: c4c5a0d165acfcd886d06a308d25a67a2b7836f9 Author: Henning Schild hennsch de> AuthorDate: Mon May 19 14:21:53 2025 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue May 20 00:08:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4c5a0d1 net-im/telegram-desktop-bin: add 5.14.3 Closes: https://github.com/gentoo/gentoo/pull/42152 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.14.3.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index ed79b4275379..b8318b23958f 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,6 @@ DIST tdesktop-5.13.1.tar.gz 22485479 BLAKE2B 026d57bb5fb2f237befe13f78e5f137123ff889d2120e72ad64fd51f7cb1a2d597edce83377c8875fe748f925a5ac71c5cc5d9112dafacc0deea21bd39262165 SHA512 9749a125e78f5660f90f533b6bf68bf989711296b894cde835d967ae141d771a6ed35449eaebcfc955ec3a44aec08d21604872b9a296b7ec894423de332e55a1 DIST tdesktop-5.14.2.tar.gz 22601961 BLAKE2B 9d5e8390cc907079972c1157df949f8e30693a4ceaef5eb91bbff73bbfe4765234c037900819c00183cf2b6ab4cb2e25f00992cc71584091b7f7f6711735b3d5 SHA512 49e627951f0287e6b8f25121ea72abc8412f01c2f10cd0b15b8927ad82a84823dc08ed29f9d944fa98f1f74ae3554460dfde61bceef23b32e3f9cd8f8733c19d +DIST tdesktop-5.14.3.tar.gz 22606412 BLAKE2B 27a0b60db8b96d593bd70c4871ef3b6cc933e4d7edda89ff46914c4ba3bc871d7befe053086237adc1c022fb62d9012575b7129198b0f65106821f009f8f5e1e SHA512 8e4dd41b7409e6df605b2b9612aea624f5a836a16438f23ea8c1a7ac9b4d6ed4efff7efe35c0eab1d50d900c8e8c411aa4a5e76c01970ada832acba889f93d18 DIST tsetup.5.13.1.tar.xz 59335960 BLAKE2B 43b143e22d81959f48b20d6f01a93602384b0e27a49fcd718cf3c2a204a60359615241d25de083108c33215d09c2c3a2f81206d93406862941b64a6dd1a651d2 SHA512 95fcd473698bab742879c2bec09db4e54d45f41e123cb1859adf0427e727103b6979e76ee9cc88231563867d3218c06554052039abf02aab0e936251faa5588e DIST tsetup.5.14.2.tar.xz 60710588 BLAKE2B d1522367da3c870117294f12a03ee01d0f6ac200feb6b03f977df393da391d189d239ae91f657612b066619d4b4c2ed63896c76461c319cec24e25e89b260171 SHA512 9d3a6d90b42927dea4a9bd5d5bc1398a3732344525447f044ec4331524e8ea4e8e227f78a32c6126e061494cda68ea26a10335ce37e13c8262b8c6d3db6d6c9d +DIST tsetup.5.14.3.tar.xz 60706488 BLAKE2B 178f6c2e6c6d51590bce2a448004abc447f4705660c09269e15688ab585c1f7681f719461f6ab6b21a422c234b89e7457fe4064352897568e91721b9063eea91 SHA512 26f4c9d994b76a5b79103d724820715e767693400a29a4bfc2e503007712a079a4421eb430c3c560319c4b921461402416b830a62199a514700d26137142722c diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.14.3.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.14.3.ebuild new file mode 100644 index 000000000000..2955c9c44e6b --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.14.3.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" \ + org.telegram.desktop.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 +}