summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2022-01-21 21:39:30 +0100
committerIonen Wolkens <ionen@gentoo.org>2022-01-27 09:22:59 -0500
commit188808db2ccdc047fe3128d8f94d4aa47437f787 (patch)
treea7a093c755976f56611cbebda5b3238fd5c705af /net-im
parentnet-p2p/syncthing: make syncthing OpenRC service ready for multiple instances (diff)
downloadgentoo-188808db2ccdc047fe3128d8f94d4aa47437f787.tar.gz
gentoo-188808db2ccdc047fe3128d8f94d4aa47437f787.tar.bz2
gentoo-188808db2ccdc047fe3128d8f94d4aa47437f787.zip
net-im/telegram-desktop-bin: bump version to 3.4.8
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/23903 Signed-off-by: Ionen Wolkens <ionen@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-3.4.8.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 8c1ce2faf88c..1669e0457102 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,4 +1,6 @@
DIST tdesktop-3.3.0.tar.gz 16276886 BLAKE2B c75da01d8cfe440c8cbeb3cc580d49c7cb2494b776b48d9da1005ff7627fcffb0f7f7d6c43887d162cc0c8f261d1b67e3af6544dbf616732c8dbfd785cf9e8e3 SHA512 fd9eee472579edd902e9e31c1442f7a21ada86af3a59f1ab0310ec41134b9a345ddf7972e638b3551c0de1b95a3ffc36e7714e2657b95b25bd3436ebd507a7ef
DIST tdesktop-3.4.3.tar.gz 16234851 BLAKE2B a94fcdbd5254858b8bb5e51ac8423d3c3e407892782b3773985f3f7f60cb8db0c95ffa2bc1c7bcbf56bcb26948d9c080c86606954284fcbe80ae8dbd1ec0ec9d SHA512 ce40e3c58f5d422de7c26fc105ca9888239069c24f42896ad38d30bb059b91e0e3556f62d0e6aa3b5a817f86409b090ab54ade1763a90cbca2043a4b3f744183
+DIST tdesktop-3.4.8.tar.gz 16258268 BLAKE2B 2f5ebf0f060a81b5768853fcd7db12255150b2f32eae9b29ef059288eef1ac333cea49ddb5e717edd1cf91a9a1db0f4b1d941a0524ad4717a1e124cb62fd4efd SHA512 508c89974cc3d9ca23ea7265a1382b3a5ceef1e5a81daea3744cc6af078cf2689c66bca537d2826bcb692ba4133110e36c7081ed2966075fe8826df76e488632
DIST tsetup.3.3.0.tar.xz 41132564 BLAKE2B 7d3cc8de1cd56f21b988b7ae15ec96ec66fdba30cedb7f609a9c15d0a45b10cc5e0b94d5d9ed32e36c850e678e34835a44b527f7a62aac68376d2c1d09073f6e SHA512 665662f5a177475d32b49515600789374f989db1c3e7972fc5b9360c936f9d2a197e0bb0599bcb1d7b2707eb85f214e65fe7d6f9809aac3ae5c20a2c6f9dd04c
DIST tsetup.3.4.3.tar.xz 41258788 BLAKE2B 5c5d5056807a92884a93ec1d27c57da2cc96e131df6856b2d41d1e7db28f93a9c63602a0e294dd0cc48dbc22156203e0d8d19da4916091ef40bb3550e779296e SHA512 92be9f69c7ad0e4f2bead886da636ed58e0ff63b1aeaa1ed0d9ee08b3964df4ff446d53b05de1fa9cbf1769463867158c7faadb0ae9e2c1fc71ebfecca507792
+DIST tsetup.3.4.8.tar.xz 41521720 BLAKE2B 0a632382d4a378b265cf7765990797a3ecfc5eada4ac91d4bbd7c91dd4b5e4081c9f3f57a10666cfa13a857791d29b7b1fec1572bf532358c20efe6482a011b4 SHA512 b1305e5d109f399d084efed59488bc548d6ab78e31d8cdaf9951a900bcbc2218073f65ace69dfc9bfea3dc292150e98d52a0b5d3017d378edf3133f63390ad34
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-3.4.8.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.4.8.ebuild
new file mode 100644
index 000000000000..e9f44cea6d84
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.4.8.ebuild
@@ -0,0 +1,51 @@
+# 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"
+
+RDEPEND="
+ 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
+}