summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2021-09-29 17:32:24 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-10-02 16:34:12 +0300
commit59ed74294d54e875557346e90b69b39c3a97a8f3 (patch)
tree0f1997408180e6dc67950c0e2557204cf2c2945c /net-im/telegram-desktop-bin
parentnet-analyzer/zabbix: bump to 5.0.16 (diff)
downloadgentoo-59ed74294d54e875557346e90b69b39c3a97a8f3.tar.gz
gentoo-59ed74294d54e875557346e90b69b39c3a97a8f3.tar.bz2
gentoo-59ed74294d54e875557346e90b69b39c3a97a8f3.zip
net-im/telegram-desktop-bin: bump version to 3.1.1
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/22441 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r--net-im/telegram-desktop-bin/Manifest2
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-3.1.1.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index c2c5b4e9241e..af11966db1ac 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,4 +1,6 @@
DIST tdesktop-3.0.1.tar.gz 15202460 BLAKE2B aa81844c2cef095089371a65a9784f0f6f5bff1923a31ad3fd5a06ebbc6fb8e11a23dd4eec7baca656297dfd3838ee378dc6dc05de4db5c646d8cc1f7479f6c0 SHA512 1d913be9c557953610197b068d778d682fd00a1967e82ff02dac75fa899dcf1eaab9be0e6441c58e131c282674dcd13dd60aac573f24c93be49752194cf1c92f
DIST tdesktop-3.1.0.tar.gz 16117688 BLAKE2B 2b3b32c5353ddf67705fafa6e0a8e66779747674ea902ce800b1dd6b76dc2dff5c1fe1a5bb74fc4332640962dbecd57a539bf6b7825021626567b6c59eeee598 SHA512 e29fd9ff77ca022bf71ccf9dc34b9a8089e54f20892974302286685300d7d44aeb3f7bf4e1cacae6a3653eedf1766f9d70eaf1b31ee2eb34593ab94db4abf4f6
+DIST tdesktop-3.1.1.tar.gz 16116770 BLAKE2B 7352164a9800cb12dbf4f473cf604648f750e590038940c0a13f40a240cf9c15a7c6d616512a401f076611b6f8992be8a24e4f2659abb2b0238b2ba13c74c33b SHA512 39ccc0f54cd3ca304cf4afcf026f6721c6f7f06135a4fe0b4a4e150808236f7183a670405f76b65e90704a4ef0fe3e75398c227777756f7eacf4cb0c608b6ee2
DIST tsetup.3.0.1.tar.xz 39191516 BLAKE2B e48189962e618ce4678bffc09f75c53bb4dec71b2d65e7cfdf0f6662c09b7999ab5512262a84fa14a22a60a011c595b6216385771185dba4035d930730dd00fd SHA512 870eda7af0ca25712eee15b45c5958d8e1be012fda46ac6c3ebdc622067dda98896eaff969574e120b7d33dad06cef9a323cf0c08cbb33a3b542e9691740cbb0
DIST tsetup.3.1.0.tar.xz 38188512 BLAKE2B ae6d29e8f8a1e06c3cc9fb67f29852cacff3d60a033730e248deae104b055dfe5906217ac1ce699b7b6f1a0c07e92e6e0895b69fc6e8048e01d30135eba5edd7 SHA512 d0722eda91b7dd3714d746b4b05dfb5883a937b47ad9bd6f79a7472aeb38c9e3a2bc7137af1b37d646354459443dd66ac9893521cdf0dfb4faec02b156ce1d70
+DIST tsetup.3.1.1.tar.xz 37505484 BLAKE2B ca9d33055d57f741b3b432072315e87f0910ec584f2d7a92e71080b094e5e2b34edddce688345c83da510607957fa60d27ae116a36acbf4914942b61f420bb7a SHA512 3fe99bd0131845261b42028bfb4695bf21f8ca7b0a30c978c1c1093e0fc33dd210d4b97777c1ab356932e4ff078acd3d570f0e2c641b33bc09c8ec802d273be3
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-3.1.1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.1.1.ebuild
new file mode 100644
index 000000000000..18ad635fcc20
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.1.1.ebuild
@@ -0,0 +1,50 @@
+# 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
+ >=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() {
+ 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
+}