From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1729104-garchives=archives.gentoo.org@lists.gentoo.org> 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 E2BD51584F2 for <garchives@archives.gentoo.org>; Tue, 18 Mar 2025 11:55:44 +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 CC384343157 for <garchives@archives.gentoo.org>; Tue, 18 Mar 2025 11:55:44 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C3AE01103C7; Tue, 18 Mar 2025 11:55:43 +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 B744D11037F for <gentoo-commits@lists.gentoo.org>; Tue, 18 Mar 2025 11:55:43 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6034C343152 for <gentoo-commits@lists.gentoo.org>; Tue, 18 Mar 2025 11:55:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAC7520CF for <gentoo-commits@lists.gentoo.org>; Tue, 18 Mar 2025 11:55:41 +0000 (UTC) From: "Yixun Lan" <dlan@gentoo.org> 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" <dlan@gentoo.org> Message-ID: <1742298910.d200deb0cdcebfe50f799e86fe96d71cb64e0cee.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.12.3.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: d200deb0cdcebfe50f799e86fe96d71cb64e0cee X-VCS-Branch: master Date: Tue, 18 Mar 2025 11:55:41 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 124b087f-7480-47d9-96fe-f05976c908a8 X-Archives-Hash: 9b7f0b93782ea61d2b3f4cadb381acc2 commit: d200deb0cdcebfe50f799e86fe96d71cb64e0cee Author: Henning Schild <henning <AT> hennsch <DOT> de> AuthorDate: Tue Mar 18 10:18:46 2025 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Tue Mar 18 11:55:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d200deb0 net-im/telegram-desktop-bin: add 5.12.3 Closes: https://github.com/gentoo/gentoo/pull/41150 Signed-off-by: Henning Schild <henning <AT> hennsch.de> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> net-im/telegram-desktop-bin/Manifest | 2 + .../telegram-desktop-bin-5.12.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 4500d4119e2d..e3cd083b4cd0 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,6 @@ DIST tdesktop-5.11.1.tar.gz 22382598 BLAKE2B 6c92b54884237ecba0608e6d9c056edccd3c08118211aab8a53fa68897edfe85b6a465e2084813cdcf9bdb5878c1bc7ebdb109295064500c74b0e5f52f70f0b0 SHA512 db3fce4ec28bbacdec42baae26f7f34f6569da85f1f7df66913c297a17b7c0c45ad0a7a03e745d45adbb15de5c9ac0d1539e8a2ffa7ab11d05b422c9b46d55c2 DIST tdesktop-5.12.2.tar.gz 22416370 BLAKE2B 2f5b58d1f06c5a6a24f0007644affa7a9028f1d5e29b3e124f7c07ba26fa3f5e3deacd5e69aaf8ab18982a46eaa01060d61bc9258cac816d29f210824008ce5d SHA512 4f255d8b6999bea2f1a0c6426776607f447edf0e5b7ecda56eb83db2e16cb1ef81867e7cda636afae270de782b142cc82c19c3012f84cdbadd8465ce6019872c +DIST tdesktop-5.12.3.tar.gz 22417911 BLAKE2B 159a2d54977476c7be253698c3bdf66ea8652e0c0de62c8e1d372d59594573758a70b90954e82f87d71980ed8fa977a47198438fa90ed389d4cf8685aa0b8b08 SHA512 1500d6c1a2bfdfb1fde4ac8ea9268e096d6297024a76cbde618877253b8a2c2f2e570f93af5e3835924e32aab197f2c0c1c44a0965fc3a6df9e2c56f2c65744f DIST tsetup.5.11.1.tar.xz 58998468 BLAKE2B 6eccdc64ed86e4a8aec9591bb0506d4e55c0c2350d6abf37c5cc1be8be33e2e98278aaf86b96fd1ad23bc4bbef50a54d47e14bc160ab982dddd11c0c444bb04c SHA512 e30acfc9119cd2efe77426b9d8d92c47901fafb3fe315dadd0bdc11414f3b427132016abdde20b8752713b061b35a1ab7747fa150c3eaa26f07f0936ed0595d3 DIST tsetup.5.12.2.tar.xz 59154520 BLAKE2B a78a188a8b826ca45128531d564c0886f7c546c9cfa54d309f89e94d3b28042e8e92d547347ca57b3d68db7200fee034c03f8f8e8a58a9588058faa60e7591c1 SHA512 ea9d2cee589bbef6358c86d008375a3790c1afbf676eccb136dfc5af3d179324b9278da11984e6b437a43c1eb70d53d9313d730781692d1d64fd8de76c0be37b +DIST tsetup.5.12.3.tar.xz 59171596 BLAKE2B ef5aea382304f017661839dcbb56dfd9395be27c39c529a159164440662be32840d4268262981036119039c8be71484675628c1a709b44eafa8b65872ce0a211 SHA512 766f921c77d3be6e89cd5885afffef4779f59e95aed165c57d3ebbb394909c4092e88589a18f96509cb3adac9836eaea5ae5525ce631d31fe8105a1a9a30a0e1 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.12.3.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.12.3.ebuild new file mode 100644 index 000000000000..590a50fa0310 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.12.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" \ + 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 +}