commit:     fb89b30c071debb579a369cac23015a28d9f4f7b
Author:     Jan Vesely <jano.vesely <AT> gmail <DOT> com>
AuthorDate: Tue Apr 10 03:09:05 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 10 20:30:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb89b30c

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

Signed-off-by: Jan Vesely <jano.vesely <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/7923

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

diff --git a/net-im/telegram-desktop-bin/Manifest 
b/net-im/telegram-desktop-bin/Manifest
index 72af6bafeae..2d6cd2f6a0d 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,9 +1,12 @@
 DIST tdesktop-1.2.14.tar.gz 16914390 BLAKE2B 
b687fef01123d7bb7ee0f6e7fab7a4900a217da1aafa2fd35c15950a90c9bd7c0927b395db1238c9cdde676432c7222c8f22ad336a26546704e1a85a7c403a51
 SHA512 
57f4c6ff4edffc24f2a7e5054c799ffe7bbabaa9dc90b0906452ba884555e10f5cea34d204534f3c249903a2d619cef20e7d0ea5d85d60d1fc95cd0bbb8b96b5
 DIST tdesktop-1.2.15.tar.gz 16916025 BLAKE2B 
c78c42875cdc159762ba95f6debdf10a0e2693ed5706f9b7274f284a77dd43bf3a07d8685032c8d07913ce3d85514561db3d88fcd52b2c92c967ec86af23274f
 SHA512 
9b73a7029790feaed2b044df81251bf3c09e7ce3485669cbb9dd304b7adca29c29991e1d3f8e40873e0e6200ed47b27a4cacaee2c4f6bad407d86650ed642f77
+DIST tdesktop-1.2.17.tar.gz 16916625 BLAKE2B 
6400ab396e6a8f37b294e6d0fec28d6d97dffbd2cdb8f2154492cb39dd961bf463393ec33520e790f50e5e20b02ed6055cfb51af241c1302fe837f12b3b679e5
 SHA512 
fb7fe4b63ab08ff51889ce357c998f50b84f805f71662370345b2c7bda79ddb958ad29e4b92bb9a91774239dc13591d8a467ead82dcda9935d0b637ee3826b75
 DIST tdesktop-1.2.6.tar.gz 16862075 BLAKE2B 
c71bde6ec1b8e8a009b589c9cd47728e3c68af6089755b3dd7b72684100cdd0740290bcd6afb0a7ad37ff16b586ad0c1929f14ae245049ad620e7909818a1d3f
 SHA512 
01841f0518397c0662b403bc3d2d16b8622bc8bcf7d9a693f03b90090b17f66284b2c8e88c08868f3982601fd1442521d614a6f36f8659b850ffc1ea97b60de5
 DIST tsetup.1.2.14.tar.xz 33389376 BLAKE2B 
efb41707a47facd5f330677f638920ef9e262159ee3e1358ecf90da2c558b66322b27a6fa9a7137520efd501610145758d4f0e16debf992feff206849e7f5f57
 SHA512 
b187cdf74fb41f0e3d0e96248b0f2552c728f414f556d999fe3734970ddc653f9adac54ec6dd221a3464154feae9c294d73b7fe2e34c181637021c70e8173f9d
 DIST tsetup.1.2.15.tar.xz 33391864 BLAKE2B 
8631022e27d11fa1003d3a0d7f6359e67c2a504f0362fefa380471189fcc6d2c736e530b1f5044e0d30fc6a5290e206ce534f1e0843c1778cdc4740148333b0a
 SHA512 
d13649cf52702f2abcfb62bdb2ea8000f6087f26dd8ecb2f4663cb609b50095c9f36bdf0aac2ddef39824a9d4c7ca637448ea4749cc709c40d5af736f18d20cb
+DIST tsetup.1.2.17.tar.xz 33238980 BLAKE2B 
d755c1353a6f5f7fc560614138aa867199df63683bd8ca48936431771a62a9a0efa4e85b40c6725fea6a83f25adb9b79ce5f45760442af5ab3c64f86128d2067
 SHA512 
02e69ed77eacb28ecf9141ae671bde9bf7f701bc7c77f654a87325694f1dd45ac65efa806120db6463b1f3b3212113f819969453738312ec81b334b56642e1cf
 DIST tsetup.1.2.6.tar.xz 33160472 BLAKE2B 
a3543fca292083bd8d0939f4d04d31ae5e6b052f3c9b83652bf8ba2b8c455c7c03cf64dc6aecde2d3546c1d46b00fe230f912671599160fff118e8684b2a3382
 SHA512 
6903df43dab2713988447099a0ab367f8be276165991f610129e5da876295f75050c221d27093f19337a78c3f13c6607b5791be86d4752df63704eeba4416969
 DIST tsetup32.1.2.14.tar.xz 35557656 BLAKE2B 
15bb265377fcac2b53d03bfa486ae43a1033ed3771922e202a48b8d566b3dfb59abfcd6fbd5f7910daf95d72806edc6c745e85c86635346df1cd700a085b36b0
 SHA512 
bfa1de5341b166c365e7806b2283df11244d0445618e62c3abedc1d16db6b002cb5a5cb4cdfa2111073cb29424255628de3f64815044f42b920f5ef489d2a702
 DIST tsetup32.1.2.15.tar.xz 35562536 BLAKE2B 
3d5977bb64a3f62b2442563fbcc430c7603288e75d1e63fb594e14b034bc06ba3c85529215e2ed03f276f7776f2d9ac8139e0f4ae5d4feb8e6a7805aa5f6b215
 SHA512 
7000489a8ccef45b226858af707cb167dff346e10e33f0ecf745c0b26eae8cb7df9d5bf1604eda5865611aae324b5da6f7b1975371257dec34065cd2e3399833
+DIST tsetup32.1.2.17.tar.xz 34845244 BLAKE2B 
31b0394fd3f74d211acf3aa4aab0181036fd3226b9d5e8721447b245d846b18bd499b96e8c916956b5d294b670309c305f1229758e23b0f231306bfcdf67d67f
 SHA512 
0fb8cb39bf93f49d4cab794c1e9588e4bcf370a7659d6a84d34c2cada64f527bcee9847edd667563a451c74d4191e5070dfe615d913985dd3c6bc37070869ea1
 DIST tsetup32.1.2.6.tar.xz 35223260 BLAKE2B 
fd6e0ec02fd4d8f88ac83ac418354ff2eaa3191f4b3813f70497642965638943d5cb74fe677e0557eda7dc53de70675972771268497503c4f1354282c4fc7631
 SHA512 
ab0649f687718e50a110c87534503b429d20bd9015e54f67cfd97b7f632b8b797c9fb84106cdaadb6222f639deb19f346bb92996c55332c7bb48cfaddee59082

diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.17.ebuild 
b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.17.ebuild
new file mode 100644
index 00000000000..6522d0b976f
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.17.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop 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
+
+       domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop
+}
+
+pkg_preinst() {
+       xdg_pkg_preinst
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_icon_cache_update
+}

Reply via email to