summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2021-09-21 08:32:53 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-09-21 10:03:06 +0300
commit5a52027117148218e643353d6b29dd8a0fd7a21b (patch)
tree2e163c8d57690fcec3bc106d208ffad8f1b5ac8c /net-im/telegram-desktop-bin
parentdev-vcs/git-cola: add a missing test-dep for 3.10.1 (diff)
downloadgentoo-5a52027117148218e643353d6b29dd8a0fd7a21b.tar.gz
gentoo-5a52027117148218e643353d6b29dd8a0fd7a21b.tar.bz2
gentoo-5a52027117148218e643353d6b29dd8a0fd7a21b.zip
net-im/telegram-desktop-bin: bump version to 3.1.0
Signed-off-by: Henning Schild <henning@hennsch.de> 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.0.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 864d3b3f15ba..b31c4bbed5eb 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,4 +1,6 @@
DIST tdesktop-2.9.2.tar.gz 15021694 BLAKE2B 4b68ca1129529fc3834121b3c7de0f4f7a790ea0af4eb47c3778cfe11c3a5cac7dd591af0f22f887852674705371aea33809c4b3228a416764771b392dac28d5 SHA512 45993a463d0f2fd5c694e5c28ff6b85c6db5026522b10ca26fe1b8bb57ae9ad4fe0e09e3a1eee6079653aa460f613ffe6eee41810a82d9bc4e19ddbc6d236df8
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 tsetup.2.9.2.tar.xz 38859712 BLAKE2B c1fd3852dd22afbbfaef57971dd084f7d2f4ed59a0c7a879dae63f68936d23a9ceb51ba29fe06cdaf82095058288c56be1be25c13f3af08b07e1c2ea9567f852 SHA512 5937d8e4107d58631e47e82a316b7ea0b2d61beab1bebf85268222a14088ab199cf8c64030e8852674add15f8d733c91e162b6b5504217058ecfa7c786649189
DIST tsetup.3.0.1.tar.xz 39191516 BLAKE2B e48189962e618ce4678bffc09f75c53bb4dec71b2d65e7cfdf0f6662c09b7999ab5512262a84fa14a22a60a011c595b6216385771185dba4035d930730dd00fd SHA512 870eda7af0ca25712eee15b45c5958d8e1be012fda46ac6c3ebdc622067dda98896eaff969574e120b7d33dad06cef9a323cf0c08cbb33a3b542e9691740cbb0
+DIST tsetup.3.1.0.tar.xz 38188512 BLAKE2B ae6d29e8f8a1e06c3cc9fb67f29852cacff3d60a033730e248deae104b055dfe5906217ac1ce699b7b6f1a0c07e92e6e0895b69fc6e8048e01d30135eba5edd7 SHA512 d0722eda91b7dd3714d746b4b05dfb5883a937b47ad9bd6f79a7472aeb38c9e3a2bc7137af1b37d646354459443dd66ac9893521cdf0dfb4faec02b156ce1d70
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-3.1.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.1.0.ebuild
new file mode 100644
index 000000000000..57697533db07
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-3.1.0.ebuild
@@ -0,0 +1,53 @@
+# 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
+ sys-libs/zlib
+ virtual/opengl
+ x11-libs/libSM
+ x11-libs/libdrm
+ 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
+}