summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2021-12-09 06:47:16 +0100
committerIonen Wolkens <ionen@gentoo.org>2021-12-09 02:04:49 -0500
commit1c1240efb6cf61bc8a411898cd9f911d26f70502 (patch)
tree2dd7ccde52bb06834ad8a6085df5a43fccad5655 /net-im
parentsci-mathematics/arb: remove unused patch (diff)
downloadgentoo-1c1240efb6cf61bc8a411898cd9f911d26f70502.tar.gz
gentoo-1c1240efb6cf61bc8a411898cd9f911d26f70502.tar.bz2
gentoo-1c1240efb6cf61bc8a411898cd9f911d26f70502.zip
net-im/telegram-desktop-bin: bump version to 3.3.0
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/23230 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.3.0.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 672d659ae9b0..c0e04e865415 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,4 +1,6 @@
DIST tdesktop-3.2.2.tar.gz 16167652 BLAKE2B 0600905c0234b5aeef742311669223df4a165463e6f32b7cc40a2ce1eba5dcccc0599ab0a4a8f2d4c10aed5f5ed985873393c0606ecbdaac22885cbde11750fd SHA512 10c7ef1f18f8b6bf16e7ea2c68a04e537c231bc26d66b86c321d7d656216881df4ecd8a9eee456974e76924d2acc80ae89eef83ed31343dc403681ef1c6a1b59
DIST tdesktop-3.2.4.tar.gz 16167130 BLAKE2B a00350f837f55a2bf0a9206e657260a906c8a970cf9cfa6fbfd3cbb83ccdf16f5d7589bc24f297e105f9e7b0ebc5141166c2dc3f5edd09144143d295a6e65a6c SHA512 0cd7d8eeac4933db62f9a7a1350d88bf9717a567a775027d7052d0ea4d4ca4a6f3c1367482e24522c188f4cd5ad5157b6387314f87a6010b58a9366ce1f8f384
+DIST tdesktop-3.3.0.tar.gz 16276886 BLAKE2B c75da01d8cfe440c8cbeb3cc580d49c7cb2494b776b48d9da1005ff7627fcffb0f7f7d6c43887d162cc0c8f261d1b67e3af6544dbf616732c8dbfd785cf9e8e3 SHA512 fd9eee472579edd902e9e31c1442f7a21ada86af3a59f1ab0310ec41134b9a345ddf7972e638b3551c0de1b95a3ffc36e7714e2657b95b25bd3436ebd507a7ef
DIST tsetup.3.2.2.tar.xz 40145920 BLAKE2B b1fa782af6678ae1d6511d1c066849c157a59597dc372dbf2db2a957388c8a3193dd6e8b01217fcddefac4d28c8df01a1c3791100aaef64cb4c9561cdc985dc6 SHA512 15b544563024bb7949d5527849db4c031947aba14ff1fb864261b3b02421ec20a5976232c2130ab30712b359366407959b6fc6b66e96cf1eebf0c2b14829b722
DIST tsetup.3.2.4.tar.xz 40143108 BLAKE2B d1fd9fbcc6458e395db607c69eed4ac583d60ac57ad6370642d289719cc2dabd7ef3f13e3878f384590c4bd32d7f88d902be0871afe8219fc527af2e6eaa2225 SHA512 0c75f91afa2a71e0231a87ef4f6da82b63af3ce1de0c5ae6e5912714e5650a56b53201ef457f19acf4cd2a15daeba1ca7733858cad001fe8baf61d34144219b7
+DIST tsetup.3.3.0.tar.xz 41132564 BLAKE2B 7d3cc8de1cd56f21b988b7ae15ec96ec66fdba30cedb7f609a9c15d0a45b10cc5e0b94d5d9ed32e36c850e678e34835a44b527f7a62aac68376d2c1d09073f6e SHA512 665662f5a177475d32b49515600789374f989db1c3e7972fc5b9360c936f9d2a197e0bb0599bcb1d7b2707eb85f214e65fe7d6f9809aac3ae5c20a2c6f9dd04c
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-3.3.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.3.0.ebuild
new file mode 100644
index 000000000000..015193a01c6f
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.3.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 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
+}