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 58BB41382C5 for ; Thu, 25 Feb 2021 06:23:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 707FAE0922; Thu, 25 Feb 2021 06:23:40 +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 42A73E091A for ; Thu, 25 Feb 2021 06:23:40 +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 97006340E29 for ; Thu, 25 Feb 2021 06:23:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1EEE0B9 for ; Thu, 25 Feb 2021 06:23:37 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1614234209.c6dbfe93f086184c87dc16f8ec20eb208eb84cb5.juippis@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-2.6.1.ebuild X-VCS-Directories: net-im/telegram-desktop-bin/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: c6dbfe93f086184c87dc16f8ec20eb208eb84cb5 X-VCS-Branch: master Date: Thu, 25 Feb 2021 06:23:37 +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: 774f9ce5-c9c0-4bb2-b428-bf549069dcd6 X-Archives-Hash: 8e04986656e7445ef0ae33db1cff324d commit: c6dbfe93f086184c87dc16f8ec20eb208eb84cb5 Author: Henning Schild hennsch de> AuthorDate: Wed Feb 24 20:58:01 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Feb 25 06:23:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6dbfe93 net-im/telegram-desktop-bin: bump version to 2.6.1 Signed-off-by: Henning Schild hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/19636 Signed-off-by: Joonas Niilola gentoo.org> net-im/telegram-desktop-bin/Manifest | 2 + .../telegram-desktop-bin-2.6.1.ebuild | 57 ++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index f29ffc8c7fe..c2b44602df1 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,6 @@ DIST tdesktop-2.5.9.tar.gz 15030323 BLAKE2B e31695f4015e6194c08153da074a90ef5110511cfc616134dd8581db876ca5e31ed47d08e0be4a0cd5840e49405b36f60122e101fd50e4da35dc31cf3d2a1b2f SHA512 0f4d691dbf7806634c232d636292ae035fe5a7585279baae04aa504fb9921c8b077033d2401c310314c79aba08e26e0fa5f8c80f35b52249f41eaa9cfe90ce37 DIST tdesktop-2.6.0.tar.gz 15071641 BLAKE2B 48257e4c9f8a74970a04d928bac43e4a12e21a45ab2c83545d8a8697d684c9b9a2b25e5e9b48da5ed02ea320d28a45b87a06d95362605587b0be35746af34cfb SHA512 641495eda1858021b2bb22e6dd8b7bf30d016b644143f2629324a89988b544f4ebe7a03100c9a228eaa0dd333e73dc145bdf16a5cc6563ebe1f9ad6ccba54073 +DIST tdesktop-2.6.1.tar.gz 15071996 BLAKE2B 927c571e8a35c30cdf0c974895e3a7d2a3257077959e9a6a0b7b5c819833a83cf6d5e7136f0e8909490310cac01863de88bf3ebd2c82fe60c8ed85f988ed3887 SHA512 abd0630c4bd979cdc36b61c7c9b3223f7cdc090805d88f6a3173466b092934a3400313c7af3a170c5b116ec2aefa7577d008cd41085a94aca5e20759a3957995 DIST tsetup.2.5.9.tar.xz 35175576 BLAKE2B d618739aa05c15ec75632593103588149c819906ecad86c0c984d4fbb6ad994e3d2f2fc9d3552dcf15673f980f707636698c5a706694c6ea6fbd694d2df845ca SHA512 be6a619c5d0818e56e6d23c0a20c90616333fcdd83caadc302339e9edcacb39618d67c5c578eacc5eec251c04412546303c3e7156f29b841fa759ab6b2ebbd2c DIST tsetup.2.6.0.tar.xz 35297664 BLAKE2B b8069f1723d62bd6af20d909cd97d8b6bf4519f6755bb00ae0ba92b00539129e16ccf94185c02e686136f6764c865a16f60b3caf206b087e9751696942a1694b SHA512 7731098eaa588b6fddcf90ddf09882d47949a4130aee2a90268878fba25dc0e151c04c19316b1cd249ccb7c78b6a3537a5731c064b7c48cfeab8c99165b82d12 +DIST tsetup.2.6.1.tar.xz 35300412 BLAKE2B cf4e616c4957b8a6ee91b621a79556a588c5d736583457d4fa35c3f0b4266b929f41b488764330c5f5d06314ac57a853613f9fcf70e5d129dceb9ac9e8059c8d SHA512 f8b9f78b4d7f6cf886a9368731733f598749babf6ed50541b5332dfef20ccc24616f399448d17cc523409b6e1dcdd2c137bbe0e5eb13e4e9ade902a6e26cf1ea diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-2.6.1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.6.1.ebuild new file mode 100644 index 00000000000..6821536278c --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.6.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop optfeature 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 ) +" + +LICENSE="GPL-3-with-openssl-exception" +SLOT="0" +KEYWORDS="-* ~amd64" + +QA_PREBUILT="usr/lib/${PN}/Telegram" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection + >=media-libs/fontconfig-2.13 + media-libs/freetype:2 + media-libs/libglvnd[X] + >=sys-apps/dbus-1.4.2[X] + sys-libs/zlib + x11-libs/libSM + x11-libs/libdrm + x11-libs/libICE + x11-libs/libSM + 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_postinst() { + xdg_pkg_postinst + optfeature "spell checker support" app-text/enchant +}