diff options
author | Henning Schild <henning@hennsch.de> | 2021-02-24 21:58:01 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-02-25 08:23:29 +0200 |
commit | c6dbfe93f086184c87dc16f8ec20eb208eb84cb5 (patch) | |
tree | 7515cac0a2903746a62e08864698f86b758a8926 /net-im/telegram-desktop-bin | |
parent | sci-physics/pythia: Stabilize 6.4.28-r2 amd64, #770442 (diff) | |
download | gentoo-c6dbfe93f086184c87dc16f8ec20eb208eb84cb5.tar.gz gentoo-c6dbfe93f086184c87dc16f8ec20eb208eb84cb5.tar.bz2 gentoo-c6dbfe93f086184c87dc16f8ec20eb208eb84cb5.zip |
net-im/telegram-desktop-bin: bump version to 2.6.1
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/19636
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 2 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-2.6.1.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index f29ffc8c7fe2..c2b44602df1e 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 000000000000..6821536278c0 --- /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 +} |