From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1470600-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 345FE158020
	for <garchives@archives.gentoo.org>; Sat, 24 Dec 2022 07:03:22 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 755CDE08BB;
	Sat, 24 Dec 2022 07:03:18 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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 8E485E08BB
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Dec 2022 07:03:17 +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 49A6E340E13
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Dec 2022 07:03:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7006E7F9
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Dec 2022 07:03:13 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1671865155.26bb975e8ee400f286193cbb60623d9f896e8712.sam@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.4.1.ebuild
X-VCS-Directories: net-im/telegram-desktop-bin/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 26bb975e8ee400f286193cbb60623d9f896e8712
X-VCS-Branch: master
Date: Sat, 24 Dec 2022 07:03:13 +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: 9732f20f-ee2a-4a3f-b8c9-f81dcca1ba06
X-Archives-Hash: a695a2fcfdab7f20db5ea9e68d9c12fe

commit:     26bb975e8ee400f286193cbb60623d9f896e8712
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Thu Dec  8 13:29:42 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 06:59:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26bb975e

net-im/telegram-desktop-bin: bump version to 4.4.1

Closes: https://bugs.gentoo.org/886359
Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/28601
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-im/telegram-desktop-bin/Manifest               |  2 +
 .../telegram-desktop-bin-4.4.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 d43cd25639ba..e1d3f4b07338 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,6 +1,8 @@
 DIST tdesktop-4.2.4.tar.gz 17065673 BLAKE2B d2fd5db5d216b369902f697f8b2613fbb62ae7b788e08dc33f410a62547c335a8c20f2099989bb8eaaf92a81320e4fc24a3aaf266c6632b2264271e95c8b01ec SHA512 cc4cc3be490de750cb3a048a861d492bea1d2484160ee70b102979b8b446349333effe29f1b51fa014c7a65a4901779fa58f6b0d86ae12864f85d014e8f36d20
 DIST tdesktop-4.3.1.tar.gz 17160532 BLAKE2B a7bdfc0bc74772ed206ab20663837c6245723b1dc7e934bc722079f22adee5474380b2d1ca518154ad1ebda4da7c61e2f8013c024541c5ebc4b3549bc083e0c5 SHA512 7032d5ba176e740279304fa91e74ab780f2bb102f29041bde4a2a8fa53a698f85410a6822bf95747b870476a608dfab7aafb5512f21820727b86151346960662
 DIST tdesktop-4.3.4.tar.gz 17191105 BLAKE2B 4cf1fa520a38316b94939d495a87e0dffd61d2adad1ff56910855064a86e9e1b380ee1dfcaee43ab13ac2acfa82e283ac985b73d659344299586bb1653d95503 SHA512 707e1eeff49777bae1f386be4aefd8510b0d18e78f1b98fa3357e1d0be73c65558a1ab2d59fe0259ffdc7760f1f4debf598ef62555e9d13a42e843eb7c76a6bd
+DIST tdesktop-4.4.1.tar.gz 17238891 BLAKE2B da7620a5d5ee28dfbbcba098cd4493c346a0c4a558d64835337d2ca722a91e9385e5d42a3b99b24f8aaf5b97291e3432b73e2880162c539bc6424de6e3e00b9a SHA512 f45cc3b788fdd50f8caf9aff43dccfd250c0586cae5c54e27e943c24b472f059cea8017ecf9a7b0061fd02d49113ab33b5288daeaa6b40fb7282b8b09abd0459
 DIST tsetup.4.2.4.tar.xz 46792948 BLAKE2B 20ebef199dc526de1e786ebd76dfd40d557f4211ae4c37d080f010738a710efe4ed2e5100c81249d49efb4902f7333f4548bff00a50eb284269dbd2aaff1bd21 SHA512 3397e480334605ebe7a8a3f3c6211adea8be0b759749e4beb579a6c4a75cb13accc3be5fa62c1d784fd6f0b92c66be15e986ed83c4fde29a38766b48a013b104
 DIST tsetup.4.3.1.tar.xz 49562348 BLAKE2B 7e6d390e76f0ffe25896faf57d8c1e6a8b9f405e9af9f9493c586b2aefb0d244cb4aaf77b2a1da3f226b6954abb4e376d0c09500abc212767b29813f3303b58a SHA512 c9d2f8124dcb5e1709d79e29f0f13eb9491a81aa642c34e32dd1a9a57cc980fdd3f5f5d7095ccc843af2300b27abe1fa5bb874a7a43f97b8861a47ab369c4844
 DIST tsetup.4.3.4.tar.xz 50082244 BLAKE2B 71a69b0cb32d70b381ea210f01259874e69003d7fa19dfb435a4059410523ae97de2e0497c348e54f7799ee9221db4e41307653b750fff4c9e8658bfe3cdf589 SHA512 ef723331cb7e54c95b46aa05553d8e9c18e3782ad6abdb948a99b66a7806d99a06d07a6d9233a902d7becfda0070135e423a21468c71ce22a39f434f476a489d
+DIST tsetup.4.4.1.tar.xz 50194196 BLAKE2B 05ff4bc66b77e4b26a802c766f65b7f1690376371681f0ed474d5b8edd0bdc0eae04e78c7539b05f9e7ea3a37dc4250c3761bf0ef23386b5033ce0a52caea5ec SHA512 d13892b0923b4dc9c565002ff54f41382aaba75de532b25b940c1e0cbff49784e15ff9aba5dfdf7b86c996c7502c44c7cfe9df865095d513277a5b553d4e00ea

diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.4.1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.4.1.ebuild
new file mode 100644
index 000000000000..b960357fb781
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.4.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 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
+}