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 9BB7A138334 for ; Tue, 18 Jun 2019 09:18:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A091E086A; Tue, 18 Jun 2019 09:18:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 5D1E0E086A for ; Tue, 18 Jun 2019 09:18:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 0273E3463F1 for ; Tue, 18 Jun 2019 09:18:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8651B603 for ; Tue, 18 Jun 2019 09:18:48 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1560849523.c85b9329a0b648d284723071ed4ec5fdbc4153c5.mgorny@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.7.7.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c85b9329a0b648d284723071ed4ec5fdbc4153c5 X-VCS-Branch: master Date: Tue, 18 Jun 2019 09:18:48 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 13f4fdc8-d8f0-43ea-aca2-802984526669 X-Archives-Hash: f4811d05a8d184199f59ad1e99233f9f commit: c85b9329a0b648d284723071ed4ec5fdbc4153c5 Author: Henning Schild hennsch de> AuthorDate: Mon Jun 10 16:07:25 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 18 09:18:43 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c85b9329 net-im/telegram-desktop-bin: version bump to v1.7.7 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Michał Górny gentoo.org> net-im/telegram-desktop-bin/Manifest | 3 ++ .../telegram-desktop-bin-1.7.7.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 01d571adeb8..5006e019b81 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -2,11 +2,14 @@ DIST tdesktop-1.6.3.tar.gz 14310477 BLAKE2B 51881fee449153f71b774cb24cf60d4ddb06 DIST tdesktop-1.6.7.tar.gz 14323106 BLAKE2B 6e41e249cd99e9a2358f5a8e9b388fcc354498f5067b85235dd446d317d805113bc43e7e5daa1a1600b9db9b4f124e35593d1fc5f6d621744394c95565a37f35 SHA512 1292b686e47c82f7670e1a528092222c8a61532a9ed64d0e4d3879fa95037b284aa40a956ac1c6739262c4fdf22fb5e9492f6747e971668297cca142a51c5b46 DIST tdesktop-1.7.0.tar.gz 14327246 BLAKE2B 6cc58a3aafe0ae3593df13344db02a24e6a892003b71f97a0e179214d63d230c27d97d039a00fa7b183b4d1295edb32b27d2f1594329e41672533aa6dce0bd26 SHA512 6cf66bf46483b0cfee61a1efb37361c839c24db9d572686775c60004660acd76f9c55d7293771054840f3579e48152240ae4f187dab5b5d1132bb85fb0300545 DIST tdesktop-1.7.3.tar.gz 14358120 BLAKE2B 430ea848fd0cb210c257a2728e47e267a86775c28e279c56ea8d4a757c82e9e96c7b24f9eba7c6ed86912dc6006c3a5c829531fa92d0bd067db4084f81fdc301 SHA512 b94fdf2e4b6d5f21a5ffe54a0c34ef15597b1335204511ab96f40caa852c8e6ed175811d839dcbb594cd5a93490f8095a71d77fceb1a03f497030c852e1559a0 +DIST tdesktop-1.7.7.tar.gz 14373143 BLAKE2B 80f5b6bfb7628f3d7a85fac454fd918d4ed060449e3c8b8bb6e106e5c1b542e10a50f985b71e86c6734d6acba5ebfb09ff78db9db6df49e70be9081a2d8df872 SHA512 abca4e815dc017c1dbb062ab87d166203678b9ffc08fb71f96626172bcebeb52ed60c921dfbaf7301cb8e344b7670a05d4bb9275a511219f33668988a0c79b6b DIST tsetup.1.6.3.tar.xz 32912784 BLAKE2B 18f39bf50a4edd11429f05c919943ffce731e138929eb43a3c16d10fdaa5a8192a31aaaccb45f743243ad4afb3a5e180c3279083923ffb967d96f815d2c338fa SHA512 4376f91913ab4ba0536cbfe1bc9719066742bd6cdc26e1b63f13d0e68be07c6f90c88c43ffb84b30f85d8b8c02ae7b076db4e1b47a91b4845ba1b47d2a8048ee DIST tsetup.1.6.7.tar.xz 32973568 BLAKE2B c76fe7c2571e0b1aef15d685d76240112d0f618c2c8e3ec5862029b3b6b4933823bf76bc86f9980d0f64056bd4a2e4a51228c6fa480dfd49f96b0aeb44fe2e68 SHA512 66aa2b9b01fd5c378c6b909468b76cb40e769ecd579abd6c00898dfbf8a4f4efa556d678e2bc17b843e07f4745509ed16c35eb6f365c9fc1dee7da1b07587fa1 DIST tsetup.1.7.0.tar.xz 32941420 BLAKE2B 5de9d4d34c4667dc40f79d7a10f01490647678e67aa4b188372d84a521b035d767b8f0540082949364c8067fa5af859c5ec7f14035149d32093f7ade363e83f5 SHA512 1c2573429547a4d839b323ea3248b8647afe96e0610aac4ea36ded592e947ab08804d3a4a38bb812c65a2849a416bfe1d4f2839b204e6ac4a3254e22f34cc26a DIST tsetup.1.7.3.tar.xz 33298240 BLAKE2B fa750b23bd1969b41c2f7dcb8399de39c1aadf05526c52f34ea4ad9a86b844cad6f525e2f8903330990a41eb629cc30af7127249f9b5822eb2fcfaf6bc707f4b SHA512 f7afe62b888e78112ca7bb3fcd8b1b6ab3c9c2688ea1828a7004bdc4f2938b93cc29c201fe04eb3d1b9fac6fb3ac8500a0a296d944feb2c51f6df9a25dd5c062 +DIST tsetup.1.7.7.tar.xz 33337272 BLAKE2B 15d25c05a5b0ce4130986842ca54501338d64f6dd25bcd0b4aa7a7eaba29397277fa1d8dcb50773dbcdfa85468fb881cb9b00a380176f239b88ed40472614de5 SHA512 936540fdc3bd2048f638298cbcaaac980d4a6b51738ca5ea8a0056fa923383fd4643ee0ad7499ad066fce82a8072705ee5b76a7d813823c2cb68e40df6f7f07a DIST tsetup32.1.6.3.tar.xz 35580176 BLAKE2B 55518aae40367b8af161a4748bfee656f63c099c327853f01dab11dc4dc6f0c34dbb7236ca58b662905f985b82a4191f645757a8a940534b8893b2222914d666 SHA512 68d08a2b5a0ca5f8ceb918ab6261f51f3650df647262268822f9ff662527339a707f40bb724edcf3d1ea61ca254f77f7fdf2f50413559fd4ac4dffb0adcbdf22 DIST tsetup32.1.6.7.tar.xz 35654388 BLAKE2B 328964b24d6aa883b24a559a5728faa33660a38d3e6d8aa2c035a59ecdf3c006940ddd6ecfe7976a5b6528c1a08eb8448199478c75dd16bd9c324ac826e29637 SHA512 ef149e2e32a61ebb38e10e907550efa014f8121ab1f2713e3d85e27f72e9f895c3c99921f42dbdd906f69508bc25786a06ff7763317a94fca21ec2eafbf240ac DIST tsetup32.1.7.0.tar.xz 35534532 BLAKE2B e72445cccc7f49d17638ce65feebfaa73803c6d27804151efc42bb6a1c3610819b05ef5c8e8931ef410c97541912db2eeab8b8c036bc06cd954b28a48ef46593 SHA512 400b7c468748a782758b3b02d12ae5743aee864341b0765745a2e6f604094cd431dd7e17a228259cbe734054d9183efe880af325f88d80f939fa5a62a7845ad6 DIST tsetup32.1.7.3.tar.xz 36075780 BLAKE2B e39acb0acb39874f04cb929e4c7eb2a80651cb431336e114ed6656717a0e2ef16dc28d6d3aba3cd1e3239c0548c68223394f2fd45d04329742c924bd5061bab1 SHA512 20711275a95a3f156595ae9a3cdc53088c3e28122c0854bfe74c7a9dd0d396f26b2615efa0bccd8eb4d6770ca65f65fe5cc0b2c6dacf64955c754c5d008c29cd +DIST tsetup32.1.7.7.tar.xz 36129816 BLAKE2B e9bf597e92ed8f9ea8cc7b016c94518d981f44353829b0cde12209dc243355afda51b77e3b11878b2e2d2e4503a749e683d13d19191b73742c4e5edc10ebea61 SHA512 2dfa0934b51924b36b59db9b4b7110ae2493fede8d2cf7c0ff71923702766480ed96f66c5502d87f2d774e7d047ae403ff6c05f6fac53db7d6a91564936cdeef diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.7.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.7.ebuild new file mode 100644 index 00000000000..55d80d8203c --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.7.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop 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://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/tsetup.${PV}.tar.xz ) + x86? ( https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/tsetup32.${PV}.tar.xz ) +" + +LICENSE="GPL-3-with-openssl-exception" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +QA_PREBUILT="usr/lib/${PN}/Telegram" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection + >=media-libs/fontconfig-2.13 + >=sys-apps/dbus-1.4.20 + x11-libs/libX11 + >=x11-libs/libxcb-1.10[xkb] +" + +S="${WORKDIR}/Telegram" + +src_install() { + exeinto /usr/lib/${PN} + doexe "Telegram" + newbin "${FILESDIR}"/${PN} "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/telegramdesktop.desktop +} + +pkg_preinst() { + xdg_pkg_preinst +} + +pkg_postinst() { + xdg_pkg_postinst + einfo + einfo "Previous versions of ${PN} have created " + einfo "\"~/.local/share/applications/telegram.desktop\". These files" + einfo "conflict with the one shipped by portage and should be removed" + einfo "from all homedirs. (https://bugs.gentoo.org/618662)" +} + +pkg_postrm() { + xdg_pkg_postrm +}