From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-972746-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E0A371396D0
	for <garchives@archives.gentoo.org>; Thu, 14 Sep 2017 11:21:38 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3834E1FC03B;
	Thu, 14 Sep 2017 11:21:38 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 0BACA1FC03B
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Sep 2017 11:21:37 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id CF56933BEC7
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Sep 2017 11:21:35 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 454889063
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Sep 2017 11:21:34 +0000 (UTC)
From: "Amy Liffey" <amynka@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, "Amy Liffey" <amynka@gentoo.org>
Message-ID: <1505388075.545200fd1313c39d7382e3790d2fb8e527e0f1d7.amynka@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-1.1.23.ebuild
X-VCS-Directories: net-im/telegram-desktop-bin/
X-VCS-Committer: amynka
X-VCS-Committer-Name: Amy Liffey
X-VCS-Revision: 545200fd1313c39d7382e3790d2fb8e527e0f1d7
X-VCS-Branch: master
Date: Thu, 14 Sep 2017 11:21:34 +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-Archives-Salt: 1055b034-83e3-4104-b69a-ad90573f8bd6
X-Archives-Hash: 032eb6c7c06abf44231bf1632ddeedca

commit:     545200fd1313c39d7382e3790d2fb8e527e0f1d7
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Wed Sep  6 19:48:40 2017 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Thu Sep 14 11:21:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=545200fd

net-im/telegram-desktop-bin: version bump to 1.1.23.

Signed-off-by: Henning Schild <henning <AT> hennsch.de>

 net-im/telegram-desktop-bin/Manifest               |  3 ++
 .../telegram-desktop-bin-1.1.23.ebuild             | 58 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 9543431493d..7b609abfc03 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,6 +1,9 @@
 DIST tdesktop-1.1.18.tar.gz 16834167 SHA256 a1885b02f1be59dd49edb6d417c249bb41bc3547ac112e51551caf1d9c2404a3 SHA512 372c794f044fc4069442b7b44f192158309bb21b317c1352b9ef4e857877d04a4c4075138ff35cb0c891c1f36585b0f15153b0e39a4397b48e162f562dc5603d WHIRLPOOL 022e01d260e3b9393774df6d69ce9fef1e8301ec786d59c3cf3c057e4211a42d0c133f5804424f238ffc27664285728ef916afaf5a5f59e64d3d9dd104bc9a67
 DIST tdesktop-1.1.19.tar.gz 16839630 SHA256 a1dceffb4ba3039d1ca7ad3859616556ac46ada3c6ea8425b23569500b705ada SHA512 dc421d319b195fe4a15ab5177ddacdc351c86127aad8634cd78cc4f809cbd9effbfeb2d25d553b593f49752e9f08b430ce486b8a0c4e6323c735feb665d4122e WHIRLPOOL 945bdcc2f3aaa6cfc74a03d757e8ada98c36197937386aeaf9e9e5e0f4175c92f6cce4032bff029b5e9e583a4c593d251b9c87804c2095399285dbed0f8cdccb
+DIST tdesktop-1.1.23.tar.gz 16863984 SHA256 56b7fce84adf85a4af1c3174353169f32d0b0c052a4e7a284fc741fa96b04030 SHA512 98b09de4e53e89b26725097816e471faec21d8c3ab6d8c353f853f24223e1abedbaf8c0a426848dfb06d56010e4494c9e59796c07e3e786ba9ab4477ac0985c3 WHIRLPOOL daeec7eb1f08cd64cbff2076e27ffe470d1b1cb5f5684f765d17954e227ddf30b72698331d2aa6fbdaa0e81fd63cd757c9f63f7fa6a6d8366b8e917a6a33ec69
 DIST tsetup.1.1.18.tar.xz 30020912 SHA256 5b3eaacdd15a1916a3a9fb839f777a136fa87914b69692a45b90d28abd5f21cd SHA512 ec4ad75ce30ed2b0c11c50434f17a315fd40ece30dccdcdc98884a6432253bb0456adb1a4f1821db413827b09cf31ec186b3341622d63c8a1dbb7ad8284f1bd1 WHIRLPOOL 93503cf1aecc491c22b836ecbba4acf9d3b656ffe3ebde06a1c85eda756b1d70ecc437f6f36a3f7e6b29b7374406e660c0333d303f5bcbe65ba3ce6b63a8e102
 DIST tsetup.1.1.19.tar.xz 30034012 SHA256 4ef097787f2ec3f4d9403fc7767a71c4f822b790c64eb9c23357040513f792f5 SHA512 0b5c63a3a844054602a1677863dfea86e8b7c490072918ed6abcee5982cf017194abc16365c4d4962128c5e196e0c98723eec0b8c1208243992cacad3a007771 WHIRLPOOL f48e15c3422a93e12cc9a3f9636317307a06b595f029d40ed43b237d654c683aba0572e1d346f146b77d20bac75ccf727f6b6cb7558deeabefbd5ca52e87e31c
+DIST tsetup.1.1.23.tar.xz 30306844 SHA256 e7955a6ad0ce9105ac3c2ae6ddf1d480430acb0e295149f0d08e951ece74000c SHA512 0dfd3ca6f71395d36aec15b161ef41bad84155151772569e298cfb7a3ef49c86254b9f9a78810408deb41379db8efd8af10b0177397021c6c4c714222df567b0 WHIRLPOOL a93703fc8a13709aef82ddbd1ed2bf29cc1ce9dcc326f1b469bf8b61013a54cd072f556385cc76b167e679c5630b6718ea9ee57326104718a366289f27b988bc
 DIST tsetup32.1.1.18.tar.xz 30962312 SHA256 8cce4d09c0c006517d03e7b5c6bff53508e6c890975a1d8a94ff2470f5ff9d5b SHA512 3d6cd1714d7a11c589326ccc78290db3213db6d0c719f3fb78e1d03442558cffe62a2407fbed153cf3bce18486fd659c8c510bdeda215e9973033bec5facc497 WHIRLPOOL 396e24711ae4cf5ffc92f8ddd6df1be060d1dacd639ed33f62f5249964a2ef9609769d1430089d3ec3514eb61c247094d34cabaa81eeef0edf41cff5e0ba0d28
 DIST tsetup32.1.1.19.tar.xz 30964820 SHA256 11fcd4f55846bbc2dd844c8bd28c3a11bd8b5294e16f98ac081524a5d36f00b4 SHA512 85dcabfd7e1707df0a7f2378eba1b7f430c443b1d166d071cb1373a18f249745b1d662ace2ee0b2596599ce7fcc3db7bfc271f5a7abb87c0866209f66d6bf99b WHIRLPOOL 8d7f5222a5b4c50f643c77a6c636d25cca500dd11a1e37ea5dbd6900b16d4fd5c9019ea2065555850607d671af4a1811ec042e0f10d808b168ce37fed5480f49
+DIST tsetup32.1.1.23.tar.xz 31249588 SHA256 d3a93bd958e3e692e39c9744e62a967e42ee089c68a106a3ab236937252111ef SHA512 461becb89b675d5cf7c3d3dfb063e9c86fd4dc5327a81d9f7d141048c57ec48c2f4b2a994aa588dc0b2675b3a8227a7f8d72d5ff7784fb82e31fa2f247f3576a WHIRLPOOL ba006e224f141dd983c456faa3d3ff37aef97858bb0aa4f3c161353ade8cc4363fb93619cf95ff2fff1aba57e7280786f6c867b8e75cfd2f04a944a3cfcc37ac

diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.1.23.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.1.23.ebuild
new file mode 100644
index 00000000000..00c726c9f93
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.1.23.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils 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 )
+	x86? ( https://updates.tdesktop.com/tlinux32/tsetup32.${PV}.tar.xz )
+"
+
+LICENSE="telegram"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+QA_PREBUILT="usr/bin/telegram-desktop"
+
+RDEPEND="
+	dev-libs/glib:2
+	dev-libs/gobject-introspection
+	>=sys-apps/dbus-1.4.20
+	x11-libs/libX11
+	>=x11-libs/libxcb-1.10[xkb]
+"
+DEPEND=""
+
+S="${WORKDIR}/Telegram"
+
+src_install() {
+	newbin "${S}/Telegram" 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-desktop.png
+	done
+
+	newmenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop telegram-desktop.desktop
+}
+
+pkg_preinst() {
+	xdg_pkg_preinst
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_pkg_postrm
+	gnome2_icon_cache_update
+}