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 4F056138334 for ; Sun, 16 Dec 2018 08:32:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1321CE0A5E; Sun, 16 Dec 2018 08:32:33 +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 C2733E0A5E for ; Sun, 16 Dec 2018 08:32:32 +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 F2F57335C47 for ; Sun, 16 Dec 2018 08:32:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 175BE266 for ; Sun, 16 Dec 2018 08:32:29 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1544949095.e680fb0b9893a33e0d903641fc0f4c2f20b8310b.zlogene@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.5.2.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: e680fb0b9893a33e0d903641fc0f4c2f20b8310b X-VCS-Branch: master Date: Sun, 16 Dec 2018 08:32:29 +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: 38e952e7-cf5a-4541-bcf6-426884d0b903 X-Archives-Hash: 50e0cac88de9d88b7a60f0c136256b29 commit: e680fb0b9893a33e0d903641fc0f4c2f20b8310b Author: Henning Schild hennsch de> AuthorDate: Sun Dec 16 08:19:45 2018 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Sun Dec 16 08:31:35 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e680fb0b net-im/telegram-desktop-bin: Bump version to 1.5.2 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Mikle Kolyada gentoo.org> net-im/telegram-desktop-bin/Manifest | 3 + .../telegram-desktop-bin-1.5.2.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index ff0888d6c58..53c84ecd49a 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,6 +1,9 @@ DIST tdesktop-1.4.3.tar.gz 17341652 BLAKE2B 26bacb695bb6e5adfd9fcdb394652695b6d8300fb856caf12cb7e22dd571b370cf74d38363c7eecdd8d7bde9fc3d43a91fd08ab175c2d3406db4f8cfed8619aa SHA512 c72deb10be79221c86b84cb36cf647e69bd51f57c05ae0ab0a43a23b04829aed068536124acfafd308e2b850de64bf448eec770e1d6a5423bb4a6b4c445edb6f DIST tdesktop-1.5.1.tar.gz 14105322 BLAKE2B d78859771f891eb04223cc8a6992daf4d6e9f33f4fdf810629fd640bc3a504911994fb6f2c67c7ca9163dd3be9cfa7eb9f21e7f3a9ac244a78e7d21dc3b7ae70 SHA512 9e9f24d925c4aa36961abeec9b4ca1a08238ba716ed5e472ae7d9660af7d2660de4a7fa92eb34fb27b5a5a17bbe78a803cf2953c159c3ee84996d2fc7ff389d3 +DIST tdesktop-1.5.2.tar.gz 14107995 BLAKE2B b366e3891cecb0b35348c9a94281db6c1a59038dc5f10c15267f8109ee1ee0e88a4dfbc3494876cc835f29ab32c4303d6bd462985c731dbfc2c7736ad6e55273 SHA512 a81660b3b6ef58017e3ec3d4584bc7aa3db138450e4a30e6d7276b0bcffb5683866c8eb44d54554287ac1f3c6d149e1db63a4c68d5e3e90bb2d59c7ba3a9022d DIST tsetup.1.4.3.tar.xz 34895128 BLAKE2B efea0915fee03ff7eecd4739b4c656b7282858611c96d7a59faf8e59f94a6a6bb5e29060f280af2dee5e7f6516564268e977f1e801cce0f1bd7c6bbdf491128d SHA512 fb344584fa2ce2adb53c6377cee34d917464495aaa0aa20d80ef80071f480ea2477f5fed4d5af336e95c9999dc2f2c73d30ff72146662d076d254b23bfc57969 DIST tsetup.1.5.1.tar.xz 32080940 BLAKE2B 3ecf42f88904d343d25f927b6f043a916b6ea90e1b1fbb60f34572cf71858d31fa68c240d82daef3c3343295b6defb5be019379d3b018ce7fcf961387290797b SHA512 70a35d5af9a8d4a212f5c7b63989d02392e3d0da30e7baf0644a609899547393a019061e71905a708c14c12e09cf32ced6b42f5889c287b32f4395b3236686c5 +DIST tsetup.1.5.2.tar.xz 32020040 BLAKE2B d0ef2a568978fe3f9bc458648d0a6d084cefc4a8cc9c31955f96ce16a825847aa158b9e84a9f3388b6e9defb6205f8669f44a7c0d32c793479d7da209f09c45f SHA512 2db0b8f6afa49870e4b2e6bbe9250f0312528c20f9b3d35254865019c61a01adc3a185d010b79a8af52b4fe9fb087c08b32d438c18065fb57656b48e40baed11 DIST tsetup32.1.4.3.tar.xz 37493196 BLAKE2B 1643016dd13e4f214fbac9892c7784f6998ce5fefd50d001d38db1fbd92c2f102eadf4b7d15a46e2151eeff971b5ed70f5ac8b9476ff4d7d489ad8c0ebf95f17 SHA512 e5b321da75b15c97438d30d480ce73305d97fe3373146650f132931f0620ea75aeac369a031ed070e0695af0b85335bb605d9b8b3a8047de3d739ab08bfa8578 DIST tsetup32.1.5.1.tar.xz 34530452 BLAKE2B 2c074baf733780afc35b64e70f6d4bf8dcd49c44d60e1020f5061bc48e6a71283c8a32f2f848a0fa235b822c4a47e3e771e10306cfa751b9a22d835f18842306 SHA512 f2767b5b0ac027ce341dac2616a18cc865e8e41524a24b17e91b7ad7b14d921fde837e4721da161685a1e7572c3dc3649e3c57f818848979232e23e9ee91d0b0 +DIST tsetup32.1.5.2.tar.xz 33702468 BLAKE2B 259f24c53e4687828ad3313485f4cbdf2113d74f1b36a982c6f495f1e7c3cf03344754a49f115994894f4aee669170963ab494a7fd5adb588729596142335792 SHA512 d1f36dfd1f723237c0e0f0d65f66006d9958f61c01a6a6c80265c47f1d10f940811b3b2db7d786e098fefaf949c04f371cc324db9fb35ffba80ebb4188be4ce9 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.2.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.2.ebuild new file mode 100644 index 00000000000..d24c8adae29 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.5.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Authors +# 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://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="telegram" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +QA_PREBUILT="usr/lib/${PN}/Telegram" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection + >=sys-apps/dbus-1.4.20 + x11-libs/libX11 + >=x11-libs/libxcb-1.10[xkb] + >=media-libs/fontconfig-2.13 +" + +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 + gnome2_icon_cache_update + 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 + gnome2_icon_cache_update +}