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 006F8158089 for ; Wed, 4 Oct 2023 07:56:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4983D2BC024; Wed, 4 Oct 2023 07:56:13 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 342132BC024 for ; Wed, 4 Oct 2023 07:56:13 +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 3D88E335C2A for ; Wed, 4 Oct 2023 07:56:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA06097C for ; Wed, 4 Oct 2023 07:56:10 +0000 (UTC) From: "Joonas Niilola" 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" Message-ID: <1696406098.66741ef95e3ce823147c57cbd0d19420353946ba.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.10.3.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 66741ef95e3ce823147c57cbd0d19420353946ba X-VCS-Branch: master Date: Wed, 4 Oct 2023 07:56: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: 374f09e7-dd1b-4955-9a1d-d95a142d6dff X-Archives-Hash: 9e61bbb6e857d2e8a129574a7d858000 commit: 66741ef95e3ce823147c57cbd0d19420353946ba Author: Joe Kappus wt gd> AuthorDate: Tue Oct 3 05:55:05 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Oct 4 07:54:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66741ef9 net-im/telegram-desktop-bin: add 4.10.3 Signed-off-by: Joe Kappus wt.gd> Closes: https://github.com/gentoo/gentoo/pull/33028 Signed-off-by: Joonas Niilola gentoo.org> net-im/telegram-desktop-bin/Manifest | 2 + .../telegram-desktop-bin-4.10.3.ebuild | 61 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 120a42ae61bc..41dccab0fab1 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,6 @@ +DIST tdesktop-4.10.3.tar.gz 18112345 BLAKE2B d64e9bd897295917ee9875565c571de954d7b57b40fd37c542e5d27b4799c4c55b1c9e7afe27bcadc3a7d2012188f9e95eed9a39073b758ee46b4f8b35de416c SHA512 60d819208cb003f4b1716bbf279e3cb29c8925af9c21e149b611dbb66f06ed8638a4113db4cd603708c53afe67e6bf3649fa9044195885fbf46e34e306afce0e 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.10.3.tar.xz 52239308 BLAKE2B 8d028c964e5d60788dcf35c370d942a5bc4c5f1682b7edf9787ce6ca60b363d58267cc71d1916092d90d0a4b8baf8d4ac09cede8651db8b5786292a1f8060b66 SHA512 27260d01c5b1bf1ae7120b9d4f95168b4335c8f803b21637af967d534cb9e538484b7c6e2782e79fa0a50b209ce489143546fd648cbc6d209a144ab5bd3f2ca1 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.10.3.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.10.3.ebuild new file mode 100644 index 000000000000..5ef463d54b8f --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.10.3.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 +}