diff options
author | Henning Schild <henning@hennsch.de> | 2022-03-17 17:37:49 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-03-18 16:00:19 +0200 |
commit | 6e69025c79ff7cc6ebcd14718e70e224f282faba (patch) | |
tree | 97a6fd41b244daac43225e7f54f02e0ca1c12b15 /net-im | |
parent | app-backup/backintime: add 1.3.2, python-3.10 (diff) | |
download | gentoo-6e69025c79ff7cc6ebcd14718e70e224f282faba.tar.gz gentoo-6e69025c79ff7cc6ebcd14718e70e224f282faba.tar.bz2 gentoo-6e69025c79ff7cc6ebcd14718e70e224f282faba.zip |
net-im/telegram-desktop-bin: bump version to 3.6.1
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/24624
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/telegram-desktop-bin/Manifest | 2 | ||||
-rw-r--r-- | net-im/telegram-desktop-bin/telegram-desktop-bin-3.6.1.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 d09c23d5ca1f..718a224db5e7 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,6 @@ 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 tdesktop-3.6.1.tar.gz 16235717 BLAKE2B 1159dd6e3084945458541758925cc811b75b021f090ef16f935a688c24864fd03424262cbb6f48ac0ee72d8b33279ad17aff459de362b6cec4901fc38c7a5a04 SHA512 ca78e44747db11f2624cbc7bc3565d7a3d4825b6bf55d3e3dc9c8c0b1f22afba4140cac8edb096d44bd60f8af7e5bd2ee67c450e76e2767d1b992aeeaeb17084 DIST tsetup.3.5.2.tar.xz 41355048 BLAKE2B abf530d237894d8c480cc6be323695b2e7e8ea5a3fd80c46c681587630bdb0a4c145d0bd57726e1b4ea71250f170d7b0779a55b208ac68a2193a1109dc87ab7f SHA512 875b5c964c92e58406990d3604f24285e8654b57caaf7f24b28012e22b450a9fad52373e5afda10bdf7b23aa0cc4ee072b3859ee0c6e861500fd18f1ade3da26 DIST tsetup.3.6.0.tar.xz 41646020 BLAKE2B 5987682326123b4b2d8ba3e974e5ea4e1ca22f3d54057d0ad78f64fea1e0bff9501b255accf6142f5e6db6f6354f8e0ac09fe020af27696482247cebe0482bd0 SHA512 92e4276c58a0d67cd0b0c190fd949b08054e843c473e0d6f371813173269ed3f448e8f135ea5285e21b31c807fda51cbe475822677f34f0d787cedcaf2293c2f +DIST tsetup.3.6.1.tar.xz 41663244 BLAKE2B fd6f091ef2033c7c8bf1101011f070afa4917f49eef6151761840cb1c200e9b25e6a3448ca32241089154c735d5a00b4c75ca87c33b1c8056c5b316e8d5dea3d SHA512 af0210cc57493d2080d79889f82f91779cfc12df831ca7d29a722bf06d99cf957ab3da2f49a9ca244ce92b5f985a3d6440944bf2383f47508decb16fe34a0f40 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-3.6.1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.6.1.ebuild new file mode 100644 index 000000000000..40ecf6ecfb9d --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.6.1.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 +} |