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 751E415838C for ; Tue, 23 Jan 2024 03:45:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7DF0E2A27; Tue, 23 Jan 2024 03:45:47 +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 605B2E2A27 for ; Tue, 23 Jan 2024 03:45:47 +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 810053432BE for ; Tue, 23 Jan 2024 03:45:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD62F13AA for ; Tue, 23 Jan 2024 03:45:44 +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: <1705981524.4609e698e7d0100c446b2608566d581ee2e8ed57.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.9.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 4609e698e7d0100c446b2608566d581ee2e8ed57 X-VCS-Branch: master Date: Tue, 23 Jan 2024 03:45:44 +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: 3d268b26-2fb6-4550-b9a9-92056173af41 X-Archives-Hash: 2cd5889058803d000e977847ceda8d79 commit: 4609e698e7d0100c446b2608566d581ee2e8ed57 Author: Henning Schild hennsch de> AuthorDate: Mon Jan 22 09:23:52 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue Jan 23 03:45:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4609e698 net-im/telegram-desktop-bin: add 4.14.9 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Yixun Lan gentoo.org> net-im/telegram-desktop-bin/Manifest | 2 + .../telegram-desktop-bin-4.14.9.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 8dbdd1de4a37..caf11bb2756c 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,6 @@ 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 tdesktop-4.14.9.tar.gz 18681186 BLAKE2B 12e3f0d0aed62c76f2b0976ce25ff10d50e1e0040e302bb2d2d93c948caee78d69e256cb6f015b23304de556fcca98e0e91ab705d693edab0fba869c76b4f1a3 SHA512 0a1adcb816f8d7d483853e9467554d097ef849b7e55ff677314b776fc524d17ba56bf6d16f9485be895b47834841916208f1d70d22db6f2661e09099e077e291 DIST tsetup.4.11.7.tar.xz 53219368 BLAKE2B 704c12bced7c7d229f00828488c3a5426a85c9cf49a9883a46f642ebe4f280d78e143443495d98a12e68c6d1e9c4dcde67c7e53c08dbc03616352d0f7de88046 SHA512 adf023e3b4fbff87156fc1e15748ffc29b2d7007d04aecd64b60f66c05db4b325cd0f53cd1256ee7bd002906946bef0e702024a8113a143c591cc81933d93d9e DIST tsetup.4.14.2.tar.xz 52969644 BLAKE2B 677e534301f0d677622c008b11b65ed610dc4c897cb01ec9236aecb2edf1d66306c38e1cd3f8fd36e867ba1bbb95024cdd3825f0647b82fff2a4efc6c4effd02 SHA512 eeaeaac9835c144ba2b06f231ea223a1a096cd53d9c1e0765f7c33afddc7f067c6c2bc6ede279ef2ed850809fa28a5a73d4f314bba803195acd25fb4b7729291 +DIST tsetup.4.14.9.tar.xz 53134928 BLAKE2B fc1984011418863c174cb32706751889baa8255968a4f008e0a97e6119d4f8ab65f80d9ff4d71c676bf35b4eab233d6b7021aad272638456ca91a8d7e606b847 SHA512 47cb89485bcf0b72a857f7597f3027848a94006e339e7f66c27426dc516dc31d40cf0d91dc61f18889bda78a24387127df2c17942f215942ae5452f057237d38 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.9.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.9.ebuild new file mode 100644 index 000000000000..f42ba6d6aee0 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.14.9.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 +}