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 9908A15806E for ; Thu, 18 May 2023 08:48:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2335E07DB; Thu, 18 May 2023 08:47:59 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8878E07DB for ; Thu, 18 May 2023 08:47:59 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E26C7335D27 for ; Thu, 18 May 2023 08:47:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 45463A65 for ; Thu, 18 May 2023 08:47:57 +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: <1684399674.317cd4cafdb5082229b23f2a96c8ae0293ad6a4e.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.1.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 317cd4cafdb5082229b23f2a96c8ae0293ad6a4e X-VCS-Branch: master Date: Thu, 18 May 2023 08:47:57 +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: 55da6254-7ffc-4dfc-b51a-833869424d85 X-Archives-Hash: 56c8e09d817aa3a9431cba96cb659be3 commit: 317cd4cafdb5082229b23f2a96c8ae0293ad6a4e Author: Henning Schild hennsch de> AuthorDate: Thu Apr 27 19:44:59 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu May 18 08:47:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=317cd4ca net-im/telegram-desktop-bin: add 4.8.1 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Joonas Niilola gentoo.org> net-im/telegram-desktop-bin/Manifest | 2 + .../telegram-desktop-bin-4.8.1.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index c704a9c9969e..294df2115eec 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,6 +1,8 @@ DIST tdesktop-4.6.0.tar.gz 17368321 BLAKE2B 511071683c2f9a43b077f5cd84f67137e86c8483d69d9fd53238b3ce1ef0be045fb81fed37be1b78b0df06f25ac4e0f592b9047ca33f8d97bf98b69809a4c3b2 SHA512 0a6ade8f2e9f74cedbae20410b607a61c20e6349b77a064b7f8eae8f4bbbdfd3b58e0d6353a74ebf0a135af3bfa34e2af9232bfb1278b57bc2c73c571a633842 DIST tdesktop-4.6.5.tar.gz 17391978 BLAKE2B 6c3b576e1f88eaea1a3e36c2c545c9b1ed11db8e857bb4fd880a21ee7b139daececda867a9244610290ea36e788e0167b39c9aa989b0b0761f3cd07bb8679998 SHA512 28a46fe759bf26f2eb590a9f8cec548c2e242f00d8f90a2fb73dbda2f4956fd0afaecc3f5eec638af82272a072955b547404e98113df56700b9d4f02f49c1950 DIST tdesktop-4.7.1.tar.gz 17579419 BLAKE2B b1db92e645d605a8aa73bb479044bff1481e7e0dd9b957f5c7cbf3ea1b26a32128024149e337f6219cdf75b1eb52fdbbebfc25f1665cdc61b656cabbdc7a6a66 SHA512 62e9a8731928e03f5d7151f6c49baa2f8afef3f2678a33ef67dafac9e2950a1f5b94e9bc34ce6cb40775774301a41315357a61ef83a8a04644226d66be62dba9 +DIST tdesktop-4.8.1.tar.gz 17647125 BLAKE2B 154bce8111532f583cb27eb92d59a8218840fb65a2be479ece9f79824ed9ec364a76d97989513d9850a61c1a763b90c55cefbe9216a690a7bbffd8f85cca2bd9 SHA512 5a84eb49408e6e345cde330f4d969f1d22bc3849812b88a2199f1ac551198f58d21395150d64f86460d3e79682cbe41978495948caea66801e895c2b80257ff0 DIST tsetup.4.6.0.tar.xz 50550076 BLAKE2B e96f34ce72559244430f4316b214d12f2bda7c990e6205e26c5be296a3043ae2a2948974eea7d2fe6c449b3c6bdd9b78dc83509a32f32c44e55aa2d17a9504e4 SHA512 036aec474c359a7d2d714a505835a4a6bbb3204e94294532f39574f4c12551b158fe6022fe5455da910e7686a27c7eaf9d83f8231efbedb8e639a0e8f9f2ee49 DIST tsetup.4.6.5.tar.xz 50721036 BLAKE2B 8b26f63e73493aff0d312b0bd2cc160b595b0f8c0899a2dd22ededa22ab5b761d81b4ed4ef097c86bafc436a9f5f31982d6b25550794500f8bfd7342751c49c2 SHA512 d8cdbc18d93bfd9ff35f1268bc8933e4ab658ead632bfd3b5d712cbd11795922b247bb6063f16ec66d6b6c83703f6c377d25521c7ce9f06cbb2888a913f711e7 DIST tsetup.4.7.1.tar.xz 51176468 BLAKE2B 73fefb01036ae16ab6bc203acea777bd8e173ae07bdcc773c81803081e9307274b9040f0e37d5054374b3a5f489b2e91848918c2d4edc83f85d59d81314ca8f6 SHA512 601f7ffc4aa1f779acec807ec40f9cb6b714dc25b4e9003e628dba94b242fc6351cad6d0b139a8688b7887a8eb18e386b400e769b402dce5bf23b608fa0205eb +DIST tsetup.4.8.1.tar.xz 51573568 BLAKE2B 257c8547954ab1d4b6aa22f935ba6af2af80094f78055eeb51a1363ddf8a8fea77edcb70ace240061e6681f2035fd8464750827c0c5a8306e6dad0fd2bd0ba50 SHA512 f3a66076dc285eb95c74eebef0fe5ab79dfeb21ebda8031623e5168c9ab9528f1cc09267a203bf41cd23aecf3683a0f007e413da318d24bc065b522eb7fcc244 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.1.ebuild new file mode 100644 index 000000000000..0fe79450766d --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.1.ebuild @@ -0,0 +1,58 @@ +# 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/@CMAKE_INSTALL_FULL_BINDIR@\///g' "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.desktop || 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 +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "spell checker support" app-text/enchant +}