From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 D49A0138206 for ; Tue, 2 Jan 2018 20:57:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B093E0824; Tue, 2 Jan 2018 20:57:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 1CBA9E0824 for ; Tue, 2 Jan 2018 20:57:43 +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 2ABC6335C0C for ; Tue, 2 Jan 2018 20:57:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F26212D for ; Tue, 2 Jan 2018 20:57:40 +0000 (UTC) From: "NP Hardass" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "NP Hardass" Message-ID: <1514926649.655324e52c6ad02b2b51322df5822224a610cd55.np-hardass@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.2.6.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: np-hardass X-VCS-Committer-Name: NP Hardass X-VCS-Revision: 655324e52c6ad02b2b51322df5822224a610cd55 X-VCS-Branch: master Date: Tue, 2 Jan 2018 20:57:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6b5e774b-4109-4470-9ab3-0daaacd2c7e3 X-Archives-Hash: 511ea25fda233b148e04361a492e530e commit: 655324e52c6ad02b2b51322df5822224a610cd55 Author: Henning Schild hennsch de> AuthorDate: Sat Dec 30 13:56:26 2017 +0000 Commit: NP Hardass gentoo org> CommitDate: Tue Jan 2 20:57:29 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=655324e5 net-im/telegram-desktop-bin: Version bump to 1.2.6 Closes: https://bugs.gentoo.org/642722 Closes: https://github.com/gentoo/gentoo/pull/6688 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: NP-Hardass gentoo.org> net-im/telegram-desktop-bin/Manifest | 3 ++ .../telegram-desktop-bin-1.2.6.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 6a6022e2662..e690b8d0f7f 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,6 +1,9 @@ DIST tdesktop-1.2.0.tar.gz 16820151 BLAKE2B 7676b285e0040fec1deadd68d5e41b985b66a9fe471a8db6606c28cb4a8fb4ca5904953c1aeef05a305705ee71e10892afbed9d3440b78c4513694f4ee81f2ed SHA512 659838f9bfddf8dce8ed3960d5d2da92577e0c6c8492ee0067a7dab7331340d5d0053f75ac5dfeb4a5920e01cb65baed6ffa750b8a6b48ee6dc367c8abdb0875 DIST tdesktop-1.2.1.tar.gz 16824849 BLAKE2B ac6ed908ec243416ae880611f51d5f6dbe22b09092003f23611db63bbb8837a9c2d3782eef3274b94ba91e1a233db472fb17ea22e842721938bbca6c72875c26 SHA512 020044e036c232e37e72d5ff4386dd15f3f7135d44b4db4926e2be1dc45431d9f274d43cf903189be03b507026f6121f39c2e983ef3e8c720fd61626aa1cc9af +DIST tdesktop-1.2.6.tar.gz 16862075 BLAKE2B c71bde6ec1b8e8a009b589c9cd47728e3c68af6089755b3dd7b72684100cdd0740290bcd6afb0a7ad37ff16b586ad0c1929f14ae245049ad620e7909818a1d3f SHA512 01841f0518397c0662b403bc3d2d16b8622bc8bcf7d9a693f03b90090b17f66284b2c8e88c08868f3982601fd1442521d614a6f36f8659b850ffc1ea97b60de5 DIST tsetup.1.2.0.tar.xz 33102396 BLAKE2B ad7d501525c8233c8aa7b01d85e1ee2eba33f17393525bda4e7c089ccc4990fb5519524212d0f2e7f7fbd4eed9c1bf31cdeb89914053f4e6bec88727bdf25780 SHA512 e802f71cb13e62d2e6570b35e2ee0d189e41fb66a4c6816407ab08d23889b234bb012425f8ed3676ff2f08695b6dfa68288ab9376b039e5abfcb4c07b39eb27c DIST tsetup.1.2.1.tar.xz 33084716 BLAKE2B 7eed2ec376b494c6507a4f1ad29c02923638d533493913488c9bc5e633138b1cdd14a8136dfa516c933ae44cc0599a28b0c257839f72c1d3707c4497a39b7880 SHA512 179408ac2df8ce4f90dac0f8bef70b0a2fce33d665bf0de3280b2743e874103814536d5ab53be2b1b49fe7aebbe202d04b2b98713e8183c950659af9372880c7 +DIST tsetup.1.2.6.tar.xz 33160472 BLAKE2B a3543fca292083bd8d0939f4d04d31ae5e6b052f3c9b83652bf8ba2b8c455c7c03cf64dc6aecde2d3546c1d46b00fe230f912671599160fff118e8684b2a3382 SHA512 6903df43dab2713988447099a0ab367f8be276165991f610129e5da876295f75050c221d27093f19337a78c3f13c6607b5791be86d4752df63704eeba4416969 DIST tsetup32.1.2.0.tar.xz 35137704 BLAKE2B d9bd50b2e61fd203e2e9bf3e50f11c004663cf68522635d3fab71138572767b91573a583e7a53b5f218871548acef32f312605affaf5a44cd614edb8e037d10b SHA512 dc4c261d1ea3098b5e90d194069c20162159fb69f5531773bdf89683967a7bb2e36966023a36b2a29730a08f62ca426797578308b795e274d47fe4184df427a6 DIST tsetup32.1.2.1.tar.xz 35154728 BLAKE2B 9ccd0aabf0665a98c46bff49d912b16efd54e4dddca94348d3e4ed702c8a76fd384047559e762a2ae2fb3f01a3bfdf55ea8f408d0c10c8815059f2b88259a5bc SHA512 e65da7fca7a5aa83cfb64e9bb001399f1bfb0ccad9135e37fc6262e63d03ea2fad4c38e9fec631b73482ed0a16a557fab59199b7fe651a836975c18010e5c7f0 +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.6.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.6.ebuild new file mode 100644 index 00000000000..2de83b92ec6 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.6.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 + + 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 +}