diff options
author | Henning Schild <henning@hennsch.de> | 2022-03-12 18:16:17 +0100 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-03-16 00:41:27 -0400 |
commit | 7dc271ad2d8851528155dca844a13125c5799a77 (patch) | |
tree | e14d40f65fee7614326a403751cf8a9fa247d015 /net-im/telegram-desktop-bin | |
parent | app-backup/dar: add 2.7.4 (diff) | |
download | gentoo-7dc271ad2d8851528155dca844a13125c5799a77.tar.gz gentoo-7dc271ad2d8851528155dca844a13125c5799a77.tar.bz2 gentoo-7dc271ad2d8851528155dca844a13125c5799a77.zip |
net-im/telegram-desktop-bin: bump version to 3.6.0
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/24586
Signed-off-by: Ionen Wolkens <ionen@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-3.6.0.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 5453e5c8edb4..d09c23d5ca1f 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,2 +1,4 @@ DIST tdesktop-3.5.2.tar.gz 16279094 BLAKE2B c7678b471aa7239ab8d86118e99dba3fda05fa1a737eaa02a934a112f86dd59ca8316aa1ef6a9b28674f1dbf9dc3ef1a7aca453ea8332a0e051a8330bce455f7 SHA512 cecbc11f73215bdf4a921e8bf301a8b76e4f2730309d17abc54127fa8cda84d6afb6312de6984355ec0d98ecb60e60bf8b6adb0257eb4c90da7069e70a8a0ad4 +DIST tdesktop-3.6.0.tar.gz 16237112 BLAKE2B f5c15f2b0f94d0ab073a79030e069934f617e5d5e9b3275b8dec5a7ed4734d2c1e8a9b851f28c4db47be258c962a61a5a4d8089fac99c6239f4ddc759398712b SHA512 36ce035eaa953348617f2acfbf3f882e3a0380852c3a3f5d58f531a514814a3569d514580e279b63ef3d8ce72b752ccb192ad1102d92553315459f42e7dd7b8f DIST tsetup.3.5.2.tar.xz 41355048 BLAKE2B abf530d237894d8c480cc6be323695b2e7e8ea5a3fd80c46c681587630bdb0a4c145d0bd57726e1b4ea71250f170d7b0779a55b208ac68a2193a1109dc87ab7f SHA512 875b5c964c92e58406990d3604f24285e8654b57caaf7f24b28012e22b450a9fad52373e5afda10bdf7b23aa0cc4ee072b3859ee0c6e861500fd18f1ade3da26 +DIST tsetup.3.6.0.tar.xz 41646020 BLAKE2B 5987682326123b4b2d8ba3e974e5ea4e1ca22f3d54057d0ad78f64fea1e0bff9501b255accf6142f5e6db6f6354f8e0ac09fe020af27696482247cebe0482bd0 SHA512 92e4276c58a0d67cd0b0c190fd949b08054e843c473e0d6f371813173269ed3f448e8f135ea5285e21b31c807fda51cbe475822677f34f0d787cedcaf2293c2f diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-3.6.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.6.0.ebuild new file mode 100644 index 000000000000..40ecf6ecfb9d --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.6.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/bin/telegram-desktop" +# current desktop-file-utils-0.26 does not understand Version=1.5 +# https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/issues/59 +QA_DESKTOP_FILE="usr/share/applications/telegramdesktop.desktop" + +RDEPEND=" + sys-libs/glibc + dev-libs/glib:2 + >=media-libs/fontconfig-2.13 + media-libs/freetype:2 + virtual/opengl + x11-libs/libX11 + >=x11-libs/libxcb-1.10[xkb] +" + +S="${WORKDIR}/Telegram" + +src_install() { + newbin Telegram telegram-desktop + + insinto /etc/tdesktop + newins - externalupdater <<<"${EPREFIX}/usr/bin/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 +} |