From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1545692-garchives=archives.gentoo.org@lists.gentoo.org> 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 14B7215800A for <garchives@archives.gentoo.org>; Mon, 14 Aug 2023 11:38:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76E3A2BC01B; Mon, 14 Aug 2023 11:38:15 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 5C22A2BC01B for <gentoo-commits@lists.gentoo.org>; Mon, 14 Aug 2023 11:38:15 +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 4D9FB340DD5 for <gentoo-commits@lists.gentoo.org>; Mon, 14 Aug 2023 11:38:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77F5CF85 for <gentoo-commits@lists.gentoo.org>; Mon, 14 Aug 2023 11:38:12 +0000 (UTC) From: "Joonas Niilola" <juippis@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, "Joonas Niilola" <juippis@gentoo.org> Message-ID: <1692013040.b24a98b2be5dae922daaf77898af4b6a0412dcbb.juippis@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.8.9.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: b24a98b2be5dae922daaf77898af4b6a0412dcbb X-VCS-Branch: master Date: Mon, 14 Aug 2023 11:38:12 +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: e704f1a7-3a65-4940-95e7-c09845ea1dbe X-Archives-Hash: 4b6f1c5d8010bd9dfcabc9697e75459b commit: b24a98b2be5dae922daaf77898af4b6a0412dcbb Author: Henning Schild <henning <AT> hennsch <DOT> de> AuthorDate: Fri Jul 21 07:34:59 2023 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Mon Aug 14 11:37:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24a98b2 net-im/telegram-desktop-bin: add 4.8.9 Signed-off-by: Henning Schild <henning <AT> hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/31992 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> net-im/telegram-desktop-bin/Manifest | 2 + .../telegram-desktop-bin-4.8.9.ebuild | 61 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index a44900c1eb3b..120a42ae61bc 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,2 +1,4 @@ DIST tdesktop-4.8.4.tar.gz 17647686 BLAKE2B 73ae16a588574671c20ff0f5469040136caee1ea726dd6bd239f56f8a1a12618263febdefd7c036de7bfae90163d1a37563d1f419b396848b6accabf71a25440 SHA512 971de6b8a5991d60aa35d7e082d9069291730f1e730a2e57fdb2c12456fa7e820b7750f6546bf643ce9c8b156f8c151ee28f1dabad389cbe0b37876fc10d058c +DIST tdesktop-4.8.9.tar.gz 17838522 BLAKE2B 57f6090f59181e3bb87729f94493be248ea34b4e96d3f339d0697188b278cdfba3798cf75ad27e3b6e99a2538a30f22eb80d52ce36f4090e5678274c4a837bdf SHA512 9814a56aba844349f23a07ee1972987acff6a38c62755bc6efc80b468c4bc4e0b44c73eef0ff462dcb71a74d96b60c973eefd5e8fd0f9e684cd2cfb52676396c DIST tsetup.4.8.4.tar.xz 51480560 BLAKE2B 5d32921986e0c241d62442235679285a60ff241b6a3729ea0f9dca407c8794cc463d4ed0d0a8f472294f8ac781483ff0a12b03fa2e86b26e8c8aad90c5131259 SHA512 698a31a81f535428d1e672c1d2b6f8dcdf3ed145f413ada404af00caea762df4935005c5a2ea5a5469949b49c9cd40ab0670049f0618b4f273d70349147df5c8 +DIST tsetup.4.8.9.tar.xz 50837700 BLAKE2B 1161ec689c003c725dad0a98de0e5a2d5fc1f4ad57739147e26413c6cce637a9b6e4dbff332b8d6a6115c41dfb5c8270ba4c44520324efc8d365b6a16f5d5242 SHA512 6d72e79f747aec6c32d68379dbb05fba1bdc2b8639a146184e1b3e11713380de9aa6b7a44f8d33497b9d1820013808b08d88cea799d8291e69987170355f7f25 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.9.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.9.ebuild new file mode 100644 index 000000000000..5ef463d54b8f --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.9.ebuild @@ -0,0 +1,61 @@ +# 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/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 /etc/tdesktop + 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 +}