From e02e657ec130e23cb1fff25727b75ff4aebe3776 Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Wed, 9 Feb 2022 06:19:40 +0100 Subject: net-im/telegram-desktop-bin: bump version to 3.5.2 Signed-off-by: Henning Schild Closes: https://github.com/gentoo/gentoo/pull/24135 Signed-off-by: Sam James --- net-im/telegram-desktop-bin/Manifest | 2 + .../telegram-desktop-bin-3.5.2.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-3.5.2.ebuild (limited to 'net-im') diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index c2bbe647dbf2..c935cf1d06e9 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,4 +1,6 @@ DIST tdesktop-3.4.8.tar.gz 16258268 BLAKE2B 2f5ebf0f060a81b5768853fcd7db12255150b2f32eae9b29ef059288eef1ac333cea49ddb5e717edd1cf91a9a1db0f4b1d941a0524ad4717a1e124cb62fd4efd SHA512 508c89974cc3d9ca23ea7265a1382b3a5ceef1e5a81daea3744cc6af078cf2689c66bca537d2826bcb692ba4133110e36c7081ed2966075fe8826df76e488632 DIST tdesktop-3.5.0.tar.gz 16273083 BLAKE2B 16b5da3158c7133415c32eea1c6f89ffb63da8a020637cbb9af48c1bade971f93f701ffc57c1ce494eca94ba4f3459371185211d8c1dc94a58f4971da2d8e39c SHA512 77bdd9392bb0fefe54667c9fc56f4461fc5e3c2409cb5e1e9f03dd7248ac34781d49d68188c29cfd2c8a385791f5d5ddc9a1d2b0d4c1322daef65e9d407db7d1 +DIST tdesktop-3.5.2.tar.gz 16279094 BLAKE2B c7678b471aa7239ab8d86118e99dba3fda05fa1a737eaa02a934a112f86dd59ca8316aa1ef6a9b28674f1dbf9dc3ef1a7aca453ea8332a0e051a8330bce455f7 SHA512 cecbc11f73215bdf4a921e8bf301a8b76e4f2730309d17abc54127fa8cda84d6afb6312de6984355ec0d98ecb60e60bf8b6adb0257eb4c90da7069e70a8a0ad4 DIST tsetup.3.4.8.tar.xz 41521720 BLAKE2B 0a632382d4a378b265cf7765990797a3ecfc5eada4ac91d4bbd7c91dd4b5e4081c9f3f57a10666cfa13a857791d29b7b1fec1572bf532358c20efe6482a011b4 SHA512 b1305e5d109f399d084efed59488bc548d6ab78e31d8cdaf9951a900bcbc2218073f65ace69dfc9bfea3dc292150e98d52a0b5d3017d378edf3133f63390ad34 DIST tsetup.3.5.0.tar.xz 41345496 BLAKE2B 28e25821fceca292ec8263dccbf92f6853133fa45c414a353de3785ea7877f31ca93ca53e9de625dd69da6dbaa53487e2acdff452d65f49b21a5a795b0f5f5c1 SHA512 952a8d0cedbdb024b2513818db600804da6607e9fd89b685c4ea137828fb497f84cc0f73b84e4553d117a6a1f65b772baa67fc2ec03ef2d04c9b8fc889320580 +DIST tsetup.3.5.2.tar.xz 41355048 BLAKE2B abf530d237894d8c480cc6be323695b2e7e8ea5a3fd80c46c681587630bdb0a4c145d0bd57726e1b4ea71250f170d7b0779a55b208ac68a2193a1109dc87ab7f SHA512 875b5c964c92e58406990d3604f24285e8654b57caaf7f24b28012e22b450a9fad52373e5afda10bdf7b23aa0cc4ee072b3859ee0c6e861500fd18f1ade3da26 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-3.5.2.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.5.2.ebuild new file mode 100644 index 000000000000..40ecf6ecfb9d --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.5.2.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 +} -- cgit v1.2.3-65-gdbad