commit:     536cae255ca28b6ab7e5e4028375ad12fbbdd5a0
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Fri Jun 29 05:38:08 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Jul  9 19:23:19 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=536cae25

net-im/telegram-desktop-bin: Version bump to 1.3.9

Bug: https://bugs.gentoo.org/659568

Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/9034

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

diff --git a/net-im/telegram-desktop-bin/Manifest 
b/net-im/telegram-desktop-bin/Manifest
index d076cb4b0a5..6615073c40c 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,9 +1,12 @@
 DIST tdesktop-1.3.0.tar.gz 16974902 BLAKE2B 
8a6d4a964e4b487c6a833eddd419bc50ab5056a37345b27676cc5b9e1bea72ecc53c93e33a890095396eabda3d792269eddf5d8d15e9840dff64483f58cf9396
 SHA512 
06118de30393c611b4e2194eb897ef425c2722b571df5f2cb9ae05191474c53d812f7b0a5df4f52d18a58485cd70a4e92b994d9ec7e21c83538fc447fecad313
 DIST tdesktop-1.3.7.tar.gz 17056555 BLAKE2B 
1ba22af19a5ad346ee3e540ded473128fe3582fb0260164c1bec3b141a94cedf34e2c75dd8601dd79c9832391bff5a59ff95aef60050f74cb36f109ffb8df98e
 SHA512 
f92003335ac53c77ce5d320e0549734feceed6b60121429f167134cc8d16b547bd27ad3c85dcbf0da5f55ac8e1e60f5027c910082afd9f683d8a98cb7ac16d6b
 DIST tdesktop-1.3.8.tar.gz 17127764 BLAKE2B 
ff9390803bbddbd939eb3173f89b42f161d06c81f3c4702562318d08ecbcfbcf548eab04b8bd80a6f4d546db2c6d5a20c3bf73d0db9ae8ccdd9f4c88048f8074
 SHA512 
4cef9a2b379b090f6993e4e391152d7fa02db3863c0758ea04f04bdac219ae96e4e43459a44a2857895264555f7bf93a03a9969b1f9bd194185cc7c6e746549a
+DIST tdesktop-1.3.9.tar.gz 17133428 BLAKE2B 
b8a8d0bf6d1ae2a55625284c16347b9f5da0f39bdad594b4ae6a8cfe57dce595da2ed54344a13641b31bbe4035b3b83ab9a1b3bce6880777ebd78c3f631c2e89
 SHA512 
7d9b908e038179448678eb0d29bb9ca62969674e199b89970bac85383ac839156c528939126413e6675901084a2c7d96a254195ebd1780a0b0816ae063f7c7f1
 DIST tsetup.1.3.0.tar.xz 33542536 BLAKE2B 
81f0361e89a8c92153277288ad74c469baffa0c9f75cbfea6bf387ef23a0c5a57443e90f57f9cadde9df847bed761e9e57f46e8d28ed176b1f6c48c562d3b943
 SHA512 
735592a09ca6e86bdd2d7375043a61fecf4ae7d768d2e7b177e60579fa56154d56046ae890317111c1d91a222a9a96b9549497efd5018938e0ca711e67439424
 DIST tsetup.1.3.7.tar.xz 33921540 BLAKE2B 
4d309bab164299ff7729f72aed44e21716e8ff1e6c41434fcd3e6c8ce9238891a2b93e4d55e62c6e44846781e755a32258dda36e02351d56357241daede342eb
 SHA512 
c4d1249cb2e1be0e9410ba6d7b5f34f342c420d1b44e6b78736aeb611fa3e11519e4c0dfe2fd6f9a819fea09030d8cf451b2c36fc283fb12e4007b4a29855949
 DIST tsetup.1.3.8.tar.xz 34517696 BLAKE2B 
2a3350b2bdb05c880e306965566f622aa6cb440cc8fe3b72e8487efe6473b2e769db988766903634a90c78b66bdcbe7893742346e163de3bef4a4611f657397a
 SHA512 
31766007ca47fe8c47fad9cebb95b1cae0db3ddec8bfee6f0108dd5e490790822d2ef4fceff2c24ca8c09483724f43aa8fa3a6cf5cb0e09de2fc26911cb66fb2
+DIST tsetup.1.3.9.tar.xz 34532440 BLAKE2B 
628597a1f04a676129f7b219fa991f1dcae51f70d95366d0ee6bd0c8c8592e4cd3f7453d01d4f980c760e8541f619e9b7ee79ffc7e66953dbf22739d6d600094
 SHA512 
e176a0d7fe7cad421ec1e09023c8e99f143fef6c6e7aabb344cff9f62e915c9cc3ea7afe4ab58bfb776d8eb304a6a9c140c622614fa9e7f6ef7ea62bb56cf88b
 DIST tsetup32.1.3.0.tar.xz 35710316 BLAKE2B 
68c5d3cd0c286d261cd090c34ebf6c8eedfd29cdbd579c38b65256f2c2dea0196450e06a91944bede2bf9319d9a6e6966178c49da0e8ac19093744cccd56c1a9
 SHA512 
437e5bdfd11673c5a85933da23f082ff51d4c7366d1aa6e115c9a8f5a6c63987a9102b891525887c27f31c293a8ed167790a6bcd9cb55aa338bbd4e8b870b159
 DIST tsetup32.1.3.7.tar.xz 36187736 BLAKE2B 
3da383c0067192e523d5b85056acf12085ceea4de6d06135f11c298e1f58ae3b09ffc500fa6cf07b72a186c8c6f6fde592f8a8aaa956ac83f90489c1383a3dd9
 SHA512 
7b8e3ef29f557af0912ff15cee976b7e244e7367346f1d5b4d6fbdb52941930a8952e0c01f8dc53d4a8c2bd6eb0f1f309b3dbff4b60f8790c204ccaf60565108
 DIST tsetup32.1.3.8.tar.xz 37194796 BLAKE2B 
bfcb48b9f65bc54e1b7c269b500424ec2687c45359aec89da310548d310c5abb9d71547e77a250580f63d077fcb9b477ccd4cd8ae40a4bb4666e216950a3b809
 SHA512 
cae2c1a6abf2f02515e2ad8df107ab2306c0d1d7d3edf8b04fbee5c2130a0ad4b9e61929fe9b7576dc6d55f42541c2b863c30c1e3aeb186be8c9948334ecdd44
+DIST tsetup32.1.3.9.tar.xz 37241464 BLAKE2B 
e83927531ecda2fdb3181c105b26d320857d9f047bb50ed17b38c8c8686675240c6b0b7acc139e06064746edaf3fc69af8eb6d12ab06dc49642ca39621594a8b
 SHA512 
8d90b4e6568730e304714afd09daa70937784e82c9ad1a84a9808104a7731a3b61101042be3644b8a2d0982b2aac97827a8228bc0c3be311e233183a806ec623

diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.3.9.ebuild 
b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.3.9.ebuild
new file mode 100644
index 00000000000..6522d0b976f
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.3.9.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