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 423D0158089 for ; Tue, 7 Nov 2023 21:02:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 731522BC01D; Tue, 7 Nov 2023 21:02:40 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 59A582BC01D for ; Tue, 7 Nov 2023 21:02: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 91E36335D42 for ; Tue, 7 Nov 2023 21:02:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ECF989C5 for ; Tue, 7 Nov 2023 21:02: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: <1699390888.c5b4d3b0ef716f7f52d1e2b8f2182209827a4264.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.11.5.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: c5b4d3b0ef716f7f52d1e2b8f2182209827a4264 X-VCS-Branch: master Date: Tue, 7 Nov 2023 21:02: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: 09231d4e-7754-423e-886b-fedd419c0717 X-Archives-Hash: 9bdab9f6fa594eace505d33a866e7f00 commit: c5b4d3b0ef716f7f52d1e2b8f2182209827a4264 Author: Henning Schild hennsch de> AuthorDate: Tue Nov 7 11:11:30 2023 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue Nov 7 21:01:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5b4d3b0 net-im/telegram-desktop-bin: add 4.11.5 Closes: https://github.com/gentoo/gentoo/pull/33706 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.11.5.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 6103a6c4a17b..b96542154e8f 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,2 +1,4 @@ DIST tdesktop-4.11.3.tar.gz 18254355 BLAKE2B 0f24ca31bc1b0f5eec6c21c00048f6d15c3c1e491eaf387b8506382cafffbc8afb9fa4b14f26985ab093945371e68681ee1e90f0dcbf3835e7547c02885d7586 SHA512 ec17e6f2f3ca59e3697798055b42d4eed02c9f0eb1fd60ea4cf3946be68d1a0a4b720cda5db705a0127902329de96894e6c190842ae6287732ffd02d7ae0b327 +DIST tdesktop-4.11.5.tar.gz 18283215 BLAKE2B 81beb626179162ad005c2dc8335438c47f3b9b215e58fb96e0dc3baf29293c4bd6c7cc5ce7167080998e4ab30e551e1364ee69b119d477a923546f5fc5c60643 SHA512 d38ec10e9d0c3967577f2fa18b40cd8333576ac916b377fcbac8be768cd05774a23039bba6bc063b58214e4ad20eb47875593834725741bc4fe51d133a90e4a9 DIST tsetup.4.11.3.tar.xz 52997540 BLAKE2B fd722374fe18d860eed437f31f0a3c1da696e02a09111f289a801b34071d24da204df52db93eb80e4bb64220e20ca1d0a4915a8993890d4a74253597b143c261 SHA512 6b2ef6a95dde09497249cf09ecd9c3e65764771714e3fed4ace547e56bae5ceb346ff288ad9a51dbae499266d42ee2e549a16c91553a0b6be98cb336dd166a23 +DIST tsetup.4.11.5.tar.xz 53092984 BLAKE2B 6c24678e18ce3485538833ec1b903da97e3be6eb253eabe8bd2913832b94539f13d6f5c27736dc3c2073139f968edc9fe201891f414c21d262db27a6a0377da0 SHA512 8dd2ec33d19bd5ebcbd3ba311bf888f4c248165d42beb9504450cff649623eb929d783657aced8d8adbe0bc80ecc620cbc028a7446e159fc03082e84b15b7454 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.5.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.5.ebuild new file mode 100644 index 000000000000..d81c56fd7260 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.11.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 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 +}