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 ACB1B15803E for ; Sat, 6 Jan 2024 10:13:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E90CC2BC01D; Sat, 6 Jan 2024 10:13:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 C93DF2BC01D for ; Sat, 6 Jan 2024 10:13:12 +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 0DE87343100 for ; Sat, 6 Jan 2024 10:13:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FB471082 for ; Sat, 6 Jan 2024 10:13:10 +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: <1704535897.e103a83cf76108c4107fa5840e8e5e8aa34e8afa.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-4.14.2.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: e103a83cf76108c4107fa5840e8e5e8aa34e8afa X-VCS-Branch: master Date: Sat, 6 Jan 2024 10:13:10 +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: 46fbc74a-07a3-478a-9f54-45f9c890a4b2 X-Archives-Hash: 90e5a683ef53ef5796fe2b12aaeff2b2 commit: e103a83cf76108c4107fa5840e8e5e8aa34e8afa Author: germ outlook com> AuthorDate: Sat Jan 6 09:57:01 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Sat Jan 6 10:11:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e103a83c net-im/telegram-desktop-bin: version bump 4.14.2 Closes: https://github.com/gentoo/gentoo/pull/34633 Signed-off-by: germ outlook.com> Signed-off-by: Yixun Lan gentoo.org> net-im/telegram-desktop-bin/Manifest | 2 + .../telegram-desktop-bin-4.14.2.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 2adf38e5223c..8dbdd1de4a37 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,2 +1,4 @@ DIST tdesktop-4.11.7.tar.gz 18321400 BLAKE2B 5e7a22f7b20e9a14f15cc9d0e054bb303eca96777c47c0a4d9aaa4de3840049f0b2901d16b7f794d523db452eef2846454523424adcb7c7f02949ed33777c241 SHA512 a3f689181e54eea3278ec9b84861e416b51702464f9cb848a12365ad610dc5cc5846be9494aa0dfe7c626dbacc1b9e1271ba23bcd8fa97ae26884b0f0506e882 +DIST tdesktop-4.14.2.tar.gz 18605135 BLAKE2B 864145f499d9a7682964c3281851f274aa401d4a770f61f4c2f15d2b3fb96a1be9b1d242f38ea12ef0821c00fb913f1d3b4a726e1e255e2721b7c305944d7939 SHA512 975a32fdda9e32e5c13882f736b0f495fd7294bd7b8c4c6108c6bdff09c2df21248f5abe673158b9ac8ba6b3f699a5b9bdb600a70b0be37dfee991c99cfe107a DIST tsetup.4.11.7.tar.xz 53219368 BLAKE2B 704c12bced7c7d229f00828488c3a5426a85c9cf49a9883a46f642ebe4f280d78e143443495d98a12e68c6d1e9c4dcde67c7e53c08dbc03616352d0f7de88046 SHA512 adf023e3b4fbff87156fc1e15748ffc29b2d7007d04aecd64b60f66c05db4b325cd0f53cd1256ee7bd002906946bef0e702024a8113a143c591cc81933d93d9e +DIST tsetup.4.14.2.tar.xz 52969644 BLAKE2B 677e534301f0d677622c008b11b65ed610dc4c897cb01ec9236aecb2edf1d66306c38e1cd3f8fd36e867ba1bbb95024cdd3825f0647b82fff2a4efc6c4effd02 SHA512 eeaeaac9835c144ba2b06f231ea223a1a096cd53d9c1e0765f7c33afddc7f067c6c2bc6ede279ef2ed850809fa28a5a73d4f314bba803195acd25fb4b7729291 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.2.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.2.ebuild new file mode 100644 index 000000000000..f42ba6d6aee0 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.2.ebuild @@ -0,0 +1,62 @@ +# 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 ) +" + +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 +" + +S="${WORKDIR}/Telegram" + +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 +}