From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 132F615817D for ; Thu, 13 Jun 2024 07:00:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1864CE2AA1; Thu, 13 Jun 2024 07:00:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 pigeon.gentoo.org (Postfix) with ESMTPS id 0053BE2AA1 for ; Thu, 13 Jun 2024 07:00:39 +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 B68BE335DEB for ; Thu, 13 Jun 2024 07:00:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 010A81C9E for ; Thu, 13 Jun 2024 07:00:37 +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: <1718262018.4a152a8621f3f963f55833c134d18e938b257fa8.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.1.4.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 4a152a8621f3f963f55833c134d18e938b257fa8 X-VCS-Branch: master Date: Thu, 13 Jun 2024 07:00:37 +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: 1023abcd-939d-424b-9ded-54afe0b26a1f X-Archives-Hash: 019602d318e6b3e3bf2e8872767dd8af commit: 4a152a8621f3f963f55833c134d18e938b257fa8 Author: Henning Schild hennsch de> AuthorDate: Sun Jun 9 14:55:32 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Thu Jun 13 07:00:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a152a86 net-im/telegram-desktop-bin: add 5.1.4 Closes: https://github.com/gentoo/gentoo/pull/37097 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.1.4.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 11619de6e991..ba199146da88 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,6 @@ DIST tdesktop-5.0.1.tar.gz 19444120 BLAKE2B 8ffc7605d834b9453f3fad4bec71f1e7942b313719df38d433813497d8ef534c79cae19e6decf1c3a911492df7f2808446e0e5113d0b6e041e4b424d7cbae0aa SHA512 703518a2b364d958737b20617fc7be678d413b2f87c9fd9de11ad98b557a7892df4446e4453e5cdc836b2815e99c3c531d6fb905461feb7772ca4d3aec35727c DIST tdesktop-5.1.2.tar.gz 19517612 BLAKE2B ee6102bb31c8b5187de788ed81218a07044463cfdd77a7924325434e6a246bccc68a195e79e5cbd0f788b9a864aded82791737be301e2d68105df0a21d6eda54 SHA512 343cde52df1bde4eb978ad5b7bdaa5754f3a5b58ce56b19f01394abfbaf4a8edf1c0869db11bc83edd161bcb4835a1930fd5aee6bc9a9f366947ca2b4d93dfa7 +DIST tdesktop-5.1.4.tar.gz 19524673 BLAKE2B b52478e32ecf36ff6d7eb86bb3901d95c01d390c1c904a6f09cb51c238d53c8c90d72d171d1bcf43e8e36752c5f58367ac3458c4b13bef6d2f1e82917061beec SHA512 2d5f4af71037505a9830d930b35cc9e12e1d79342ac2695213ca71102be40ca501a0254b51d259b31e6ff69cc7272b63d3787e87a025e06ceb7f9a0bef0becb9 DIST tsetup.5.0.1.tar.xz 57003088 BLAKE2B 1d39eb3dc9de1a17a419f64d397b945e643f28efe3a979e16d48ee79b66db893a7bbc502c0a910db7ef95800e584b58af76f89f775e48506cc16c952b0744cc0 SHA512 1b6de1d515777f6c7ba2a8e8bb876c4c78a49822f968fb6c4a68ad0d2992827131eac00b596ed82e7933377762a67d7a84530d8ddcd7c77df68d7be88bd18025 DIST tsetup.5.1.2.tar.xz 57360928 BLAKE2B f9751c1658bb700a2cc272c06fb58d77541e5c779b3f026fa3835c664f008a72244e108b76f13e0930285e68764b6e9e60ce135176ecaa35b0f4980923ce5d1c SHA512 f8306997d21161cf10ec9312cb2008d54c312dbcb29aa1d6ce7d791699c38d561ce057ece5405b505a76018b7948aaefc80b45c2d7ae9354649e9ec2bb288ec9 +DIST tsetup.5.1.4.tar.xz 57386184 BLAKE2B 78c87be77b8a0e5402e90d719c5b26222183031b1259ec91e89da945f6d86d01fe891665c7e94ffa52f8153e72208ab107c1bf0555e86ca87febc0bb211c95ab SHA512 4f617ec2e31fce2812812c989656e933024267695fabb564cf19f92f570b9027a96dc34d873a41a4316fc3ba51977933f811ead98fd1d23c7c36a7355d046d18 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.4.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.4.ebuild new file mode 100644 index 000000000000..24722ca70535 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 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 +}