summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2021-08-11 20:51:49 +0200
committerIonen Wolkens <ionen@gentoo.org>2021-08-14 06:34:57 -0400
commit5a450138175fea555a334dc9b497b455bd2dc73d (patch)
tree02d1b99b165fa8df389cd387fccfcbbd87d32f0d
parentnet-misc/netopeer2: x86 stable (diff)
downloadgentoo-5a450138175fea555a334dc9b497b455bd2dc73d.tar.gz
gentoo-5a450138175fea555a334dc9b497b455bd2dc73d.tar.bz2
gentoo-5a450138175fea555a334dc9b497b455bd2dc73d.zip
net-im/telegram-desktop-bin: bump version to 2.9.2
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/21952 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--net-im/telegram-desktop-bin/Manifest2
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-2.9.2.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 5f3db378cf9e..7b80106d274c 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,4 +1,6 @@
DIST tdesktop-2.8.10.tar.gz 15383960 BLAKE2B 1849cce36d8b339087b84855b05318b0af143ae04fd0016811082b98073ed9560945590b7aeec4cd04751a9debe8211f78b958364f0f24419c028f0198f306b1 SHA512 e0986b932de4f4618c8dd1cc669eb5bd2bca0b3ca47856f911da0606781c86abab3ac1eeecf49bb077a6a4f09b2807bdc512496928666b175f4659c13d6f075b
DIST tdesktop-2.9.0.tar.gz 15021044 BLAKE2B e958999080bd44c07170fa6898d774184323e6c689f3dc07a30ddd8c237f49f741717e4dd8b54ab69ef52ec60848a1b91cd2d039f828e8cbdd2778a045cbd642 SHA512 6c139de3c36f124e62dbb22306add6dbb2b2b11003150f3d41bf750e321bfc38205690d927fc7c217618236bf5574fdfc85723689e098511f789f8de1793ea0a
+DIST tdesktop-2.9.2.tar.gz 15021694 BLAKE2B 4b68ca1129529fc3834121b3c7de0f4f7a790ea0af4eb47c3778cfe11c3a5cac7dd591af0f22f887852674705371aea33809c4b3228a416764771b392dac28d5 SHA512 45993a463d0f2fd5c694e5c28ff6b85c6db5026522b10ca26fe1b8bb57ae9ad4fe0e09e3a1eee6079653aa460f613ffe6eee41810a82d9bc4e19ddbc6d236df8
DIST tsetup.2.8.10.tar.xz 38712292 BLAKE2B 6e9337fd7bc30d21ef28e21ada0e560d795c6de9638a614b563838dcbafeed0790295795512ddf5ef8cd5a2a2a5cb498a263531066c4078529c947494fcc537b SHA512 cd9d7bded6c8ebe44e09ee9f8029f96802d20a0ba25167240e45a400c71bdc6df217721f64ed6fbc7a79b50d342107e2573c671bf31b1f0b0960a81334c3b140
DIST tsetup.2.9.0.tar.xz 38751860 BLAKE2B 4123faca33e858d43896181a740e70c585f96e9265e2c4e1e5f03bdd1e4b7eafd774180334773dc22fcddd0c52a222a592baa802b46f476990a1b475fca5cb8b SHA512 48a2cd83cf4bfe6709317192307435664fc61828c40771415098e407582f3288ef6afe372c349d28e6b1092252332db2f4bf89ee9b6a11a2e970d105aad4ca42
+DIST tsetup.2.9.2.tar.xz 38859712 BLAKE2B c1fd3852dd22afbbfaef57971dd084f7d2f4ed59a0c7a879dae63f68936d23a9ceb51ba29fe06cdaf82095058288c56be1be25c13f3af08b07e1c2ea9567f852 SHA512 5937d8e4107d58631e47e82a316b7ea0b2d61beab1bebf85268222a14088ab199cf8c64030e8852674add15f8d733c91e162b6b5504217058ecfa7c786649189
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-2.9.2.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.9.2.ebuild
new file mode 100644
index 000000000000..5d9bb593c191
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-2.9.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/lib/${PN}/Telegram"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ >=media-libs/fontconfig-2.13
+ media-libs/freetype:2
+ media-libs/libglvnd[X]
+ >=sys-apps/dbus-1.4.2[X]
+ sys-libs/zlib
+ virtual/opengl
+ x11-libs/libSM
+ x11-libs/libdrm
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ >=x11-libs/libxcb-1.10[xkb]
+"
+
+S="${WORKDIR}/Telegram"
+
+src_install() {
+ exeinto /usr/lib/${PN}
+ doexe "Telegram"
+ newbin "${FILESDIR}"/${PN} "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
+}