summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJan Vesely <jano.vesely@gmail.com>2018-03-26 09:10:34 -0400
committerNP-Hardass <NP-Hardass@gentoo.org>2018-03-27 00:05:59 -0400
commite6d319c8a9c404ad24fdeee6ac2f576927edf187 (patch)
tree5c97d033caf13953105fa840b8a0982394c39155 /net-im
parentnet-im/telegram-desktop-bin: Drop old 1.2.1 (diff)
downloadgentoo-e6d319c8a9c404ad24fdeee6ac2f576927edf187.tar.gz
gentoo-e6d319c8a9c404ad24fdeee6ac2f576927edf187.tar.bz2
gentoo-e6d319c8a9c404ad24fdeee6ac2f576927edf187.zip
net-im/telegram-desktop-bin: bump version to 1.2.15
Signed-off-by: Jan Vesely <jano.vesely@gmail.com> Signed-off-by: NP-Hardass <NP-Hardass@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop-bin/Manifest3
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.15.ebuild58
2 files changed, 61 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 240053a66b59..72af6bafeaed 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,6 +1,9 @@
DIST tdesktop-1.2.14.tar.gz 16914390 BLAKE2B b687fef01123d7bb7ee0f6e7fab7a4900a217da1aafa2fd35c15950a90c9bd7c0927b395db1238c9cdde676432c7222c8f22ad336a26546704e1a85a7c403a51 SHA512 57f4c6ff4edffc24f2a7e5054c799ffe7bbabaa9dc90b0906452ba884555e10f5cea34d204534f3c249903a2d619cef20e7d0ea5d85d60d1fc95cd0bbb8b96b5
+DIST tdesktop-1.2.15.tar.gz 16916025 BLAKE2B c78c42875cdc159762ba95f6debdf10a0e2693ed5706f9b7274f284a77dd43bf3a07d8685032c8d07913ce3d85514561db3d88fcd52b2c92c967ec86af23274f SHA512 9b73a7029790feaed2b044df81251bf3c09e7ce3485669cbb9dd304b7adca29c29991e1d3f8e40873e0e6200ed47b27a4cacaee2c4f6bad407d86650ed642f77
DIST tdesktop-1.2.6.tar.gz 16862075 BLAKE2B c71bde6ec1b8e8a009b589c9cd47728e3c68af6089755b3dd7b72684100cdd0740290bcd6afb0a7ad37ff16b586ad0c1929f14ae245049ad620e7909818a1d3f SHA512 01841f0518397c0662b403bc3d2d16b8622bc8bcf7d9a693f03b90090b17f66284b2c8e88c08868f3982601fd1442521d614a6f36f8659b850ffc1ea97b60de5
DIST tsetup.1.2.14.tar.xz 33389376 BLAKE2B efb41707a47facd5f330677f638920ef9e262159ee3e1358ecf90da2c558b66322b27a6fa9a7137520efd501610145758d4f0e16debf992feff206849e7f5f57 SHA512 b187cdf74fb41f0e3d0e96248b0f2552c728f414f556d999fe3734970ddc653f9adac54ec6dd221a3464154feae9c294d73b7fe2e34c181637021c70e8173f9d
+DIST tsetup.1.2.15.tar.xz 33391864 BLAKE2B 8631022e27d11fa1003d3a0d7f6359e67c2a504f0362fefa380471189fcc6d2c736e530b1f5044e0d30fc6a5290e206ce534f1e0843c1778cdc4740148333b0a SHA512 d13649cf52702f2abcfb62bdb2ea8000f6087f26dd8ecb2f4663cb609b50095c9f36bdf0aac2ddef39824a9d4c7ca637448ea4749cc709c40d5af736f18d20cb
DIST tsetup.1.2.6.tar.xz 33160472 BLAKE2B a3543fca292083bd8d0939f4d04d31ae5e6b052f3c9b83652bf8ba2b8c455c7c03cf64dc6aecde2d3546c1d46b00fe230f912671599160fff118e8684b2a3382 SHA512 6903df43dab2713988447099a0ab367f8be276165991f610129e5da876295f75050c221d27093f19337a78c3f13c6607b5791be86d4752df63704eeba4416969
DIST tsetup32.1.2.14.tar.xz 35557656 BLAKE2B 15bb265377fcac2b53d03bfa486ae43a1033ed3771922e202a48b8d566b3dfb59abfcd6fbd5f7910daf95d72806edc6c745e85c86635346df1cd700a085b36b0 SHA512 bfa1de5341b166c365e7806b2283df11244d0445618e62c3abedc1d16db6b002cb5a5cb4cdfa2111073cb29424255628de3f64815044f42b920f5ef489d2a702
+DIST tsetup32.1.2.15.tar.xz 35562536 BLAKE2B 3d5977bb64a3f62b2442563fbcc430c7603288e75d1e63fb594e14b034bc06ba3c85529215e2ed03f276f7776f2d9ac8139e0f4ae5d4feb8e6a7805aa5f6b215 SHA512 7000489a8ccef45b226858af707cb167dff346e10e33f0ecf745c0b26eae8cb7df9d5bf1604eda5865611aae324b5da6f7b1975371257dec34065cd2e3399833
DIST tsetup32.1.2.6.tar.xz 35223260 BLAKE2B fd6e0ec02fd4d8f88ac83ac418354ff2eaa3191f4b3813f70497642965638943d5cb74fe677e0557eda7dc53de70675972771268497503c4f1354282c4fc7631 SHA512 ab0649f687718e50a110c87534503b429d20bd9015e54f67cfd97b7f632b8b797c9fb84106cdaadb6222f639deb19f346bb92996c55332c7bb48cfaddee59082
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.15.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.15.ebuild
new file mode 100644
index 000000000000..6522d0b976f6
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.15.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop gnome2-utils 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 )
+ x86? ( https://updates.tdesktop.com/tlinux32/tsetup32.${PV}.tar.xz )
+"
+
+LICENSE="telegram"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+QA_PREBUILT="usr/bin/telegram-desktop"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ >=sys-apps/dbus-1.4.20
+ x11-libs/libX11
+ >=x11-libs/libxcb-1.10[xkb]
+"
+DEPEND=""
+
+S="${WORKDIR}/Telegram"
+
+src_install() {
+ newbin "${S}/Telegram" 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-desktop.png
+ done
+
+ domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_icon_cache_update
+}