summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2024-12-02 09:48:31 +0100
committerYixun Lan <dlan@gentoo.org>2024-12-02 18:08:07 +0800
commitad3e6e47ab128bd6b075f4ddd203d36cb617271d (patch)
tree010aa33976a6ea9713d8e69858811e1fcad543fd /net-im
parentdev-util/crash: add 8.0.6, drop 8.0.4 (diff)
downloadgentoo-ad3e6e47ab128bd6b075f4ddd203d36cb617271d.tar.gz
gentoo-ad3e6e47ab128bd6b075f4ddd203d36cb617271d.tar.bz2
gentoo-ad3e6e47ab128bd6b075f4ddd203d36cb617271d.zip
net-im/telegram-desktop-bin: add 5.8.3
Signed-off-by: Henning Schild <henning@hennsch.de> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop-bin/Manifest2
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-5.8.3.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 2d4744a00af1..aae369ae1693 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,4 +1,6 @@
DIST tdesktop-5.7.2.tar.gz 20191296 BLAKE2B d9c20c3db0787dab46c66de3f206e1c64b3ff694360f38effb69d40bcec7bfa1ba72ca85caccb227f52456e74b48782ff93f6faf223383bf57186275569005d3 SHA512 5b9ebcbe257dc99ba339df111f916d21642308f410e8074e29c917835247ca117882c9b4d3ac0f9418dbf223b8d618ad667c46e4d034fdb37c1854975459ca18
DIST tdesktop-5.8.2.tar.gz 20233957 BLAKE2B ebf29fbd0895c31c72ca8513383a66b2ff8f0bb6514eb6adea245855d242fb3bc775fff35bd99a27b0029875a5d6df4413cfcd39a23e485001cd79af03a60eb8 SHA512 c0ffd8778426ef92db67606b32c339f0d742950975735c345c9a1db06a88f7626e5dbc44b64efd5321dd016a6df54779e17d58ce95445001e8f7b194cc7d0fda
+DIST tdesktop-5.8.3.tar.gz 20240134 BLAKE2B 6d1d296e91820e458a332113fe825b80968d116f3f8573b361ffd133fc687edda31b907561fdbf4a319a008512aba93416449762b1339373e08f642628c1cd27 SHA512 c6e8dabaa3e11207b4c87e07d9b8afc1b77421d0b6aaa37dd07f3bca51d1c0ced61834ae044fe13096689de18366c380dd6dac839bce3f3ec0e88cc639f7e41f
DIST tsetup.5.7.2.tar.xz 57770508 BLAKE2B 810d4a43b0ea98be4c96138456dd11b32485eb9cb44079a92f43432028f660b36eea671a7b6800affaafe3fc50aedd73b56be65550dec8903473ec952bf3e342 SHA512 faeacfe1fc609c6ddbd9d0800e727d32be77325c761344d107bd14c71766199a3191c093ab04b6e34d00337c5c9af82140376241cffb88701fd6a381268bc90d
DIST tsetup.5.8.2.tar.xz 57953228 BLAKE2B 4a9261d87f911454c6ec63cb2a6f8be0d7d843bbe8e27c0d83eea73c72471b81c063d3c5eb2413c6549038ecce660bbdd9e74de45c0959cc1804f7740e68e505 SHA512 927f5eeea79f8b8aafcf04513edd9c58c6ec0eb43f9d72534f015248ff2f17ddf0f6b5f593bdd556a4f2e7a2272cf24c164c0e838e2286557dc0acf6ea32d59e
+DIST tsetup.5.8.3.tar.xz 57966620 BLAKE2B 0cf8e12457204d5aea06beda76de3b7e9f6b42d056dcd132affc129236b4597f200a157de875f3903d88d7b588169c8d596d562f83b3bc839806f7bb4c55e1af SHA512 9dfbe9a242415d632169d59711bb300589e39f0e646f93e5aa6571d694ec460992cd5e3024ec1d0f5be0fac0ae0f98829dd4063cfa6de3e5de63f7564281d324
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.8.3.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.8.3.ebuild
new file mode 100644
index 000000000000..24722ca70535
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.8.3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 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 )
+"
+
+S="${WORKDIR}/Telegram"
+
+LICENSE="GPL-3-with-openssl-exception"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+QA_PREBUILT="usr/bin/telegram-desktop"
+
+RDEPEND="
+ !net-im/telegram-desktop
+ sys-libs/glibc
+ dev-libs/glib:2
+ >=media-libs/fontconfig-2.13
+ media-libs/freetype:2
+ virtual/opengl
+ x11-libs/gtk+:3[X,wayland]
+ x11-libs/libX11
+ >=x11-libs/libxcb-1.10
+"
+
+src_prepare() {
+ default
+
+ sed -i -e \
+ 's/^Exec=@CMAKE_INSTALL_FULL_BINDIR@\/telegram-desktop/Exec=\/usr\/bin\/telegram-desktop/' \
+ "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service || die
+}
+
+src_install() {
+ newbin Telegram telegram-desktop
+
+ insinto /usr/share/TelegramDesktop/externalupdater.d/
+ 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/org.telegram.desktop.desktop
+ insinto /usr/share/dbus-1/services
+ doins "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ optfeature "spell checker support" app-text/enchant
+}