From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1525164-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 6337D15810F
	for <garchives@archives.gentoo.org>; Sat,  3 Jun 2023 16:24:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9A9B2E0819;
	Sat,  3 Jun 2023 16:24:53 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7E414E0819
	for <gentoo-commits@lists.gentoo.org>; Sat,  3 Jun 2023 16:24:53 +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 783F23411B1
	for <gentoo-commits@lists.gentoo.org>; Sat,  3 Jun 2023 16:24:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B7480A85
	for <gentoo-commits@lists.gentoo.org>; Sat,  3 Jun 2023 16:24:50 +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: <1685809488.6b6435da1c559ec321858b8ddfbb92dcf31622c4.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.3.ebuild
X-VCS-Directories: net-im/telegram-desktop-bin/
X-VCS-Committer: juippis
X-VCS-Committer-Name: Joonas Niilola
X-VCS-Revision: 6b6435da1c559ec321858b8ddfbb92dcf31622c4
X-VCS-Branch: master
Date: Sat,  3 Jun 2023 16:24:50 +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: 58c67074-5a8e-4ce5-945a-f5ae74f6043c
X-Archives-Hash: 3cceeffe68a15d9f9db0fe9fd5aafbe7

commit:     6b6435da1c559ec321858b8ddfbb92dcf31622c4
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Sat Jun  3 08:16:57 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Jun  3 16:24:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b6435da

net-im/telegram-desktop-bin: add 4.8.3

Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/31281
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-im/telegram-desktop-bin/Manifest               |  2 +
 .../telegram-desktop-bin-4.8.3.ebuild              | 53 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 8de1ca61845c..1a544048d9c2 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,4 +1,6 @@
 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 tdesktop-4.8.3.tar.gz 17647574 BLAKE2B e3884fc4c3f73200b34aafae2fca84abeb1d36afe19f73e924d6dd4c91754d411ae3e8cbcff8e2b8423333c3b7a808a77bff9c2e0ea08923c382e90ba88b36aa SHA512 4e42e30d69c02af35481cd1c9431bad159b47d56acdb25a7b20ad36cc7d4cad9fef3214dc2a512002fed8cf20f1c462f9e553fb3177bc324defb4da5a1d2af69
 DIST tsetup.4.7.1.tar.xz 51176468 BLAKE2B 73fefb01036ae16ab6bc203acea777bd8e173ae07bdcc773c81803081e9307274b9040f0e37d5054374b3a5f489b2e91848918c2d4edc83f85d59d81314ca8f6 SHA512 601f7ffc4aa1f779acec807ec40f9cb6b714dc25b4e9003e628dba94b242fc6351cad6d0b139a8688b7887a8eb18e386b400e769b402dce5bf23b608fa0205eb
 DIST tsetup.4.8.1.tar.xz 51573568 BLAKE2B 257c8547954ab1d4b6aa22f935ba6af2af80094f78055eeb51a1363ddf8a8fea77edcb70ace240061e6681f2035fd8464750827c0c5a8306e6dad0fd2bd0ba50 SHA512 f3a66076dc285eb95c74eebef0fe5ab79dfeb21ebda8031623e5168c9ab9528f1cc09267a203bf41cd23aecf3683a0f007e413da318d24bc065b522eb7fcc244
+DIST tsetup.4.8.3.tar.xz 51381144 BLAKE2B a1e6754873ce89f878522625f86fac846eb118d3e2574a4239c7d46d016a646c0f47c21a891c06b42d8fd3de4fe0dd23fcfdd5d031b16f7fb236c49abecfbb17 SHA512 8d690d8bd05b04ee2fc1261494f164671a884c5edab93c68ed1bdfbb30fa41679942c72005c7df57d8c669df37ad001b1866dc00f0d8fb672e2e6ffb61414b56

diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.3.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.3.ebuild
new file mode 100644
index 000000000000..9b65f32181e0
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.8.3.ebuild
@@ -0,0 +1,53 @@
+# 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_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
+}