summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJan Vesely <jano.vesely@gmail.com>2018-03-22 00:52:25 -0400
committerNP-Hardass <NP-Hardass@gentoo.org>2018-03-27 00:05:55 -0400
commit905e3a5096f7b73eefa737f725591fa1711b9971 (patch)
tree96f7689dccfacd58ff297ecb07255b670420673a /net-im
parentapp-crypt/acme-tiny: Drop old (diff)
downloadgentoo-905e3a5096f7b73eefa737f725591fa1711b9971.tar.gz
gentoo-905e3a5096f7b73eefa737f725591fa1711b9971.tar.bz2
gentoo-905e3a5096f7b73eefa737f725591fa1711b9971.zip
net-im/telegram-desktop-bin: bump version to 1.2.14
Uses desktop eclass instead of eutils Signed-off-by: Jan Vesely <jano.vesely@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/7547 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.14.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 3ecccb3d779e..fcfb151a5031 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,6 +1,9 @@
DIST tdesktop-1.2.1.tar.gz 16824849 BLAKE2B ac6ed908ec243416ae880611f51d5f6dbe22b09092003f23611db63bbb8837a9c2d3782eef3274b94ba91e1a233db472fb17ea22e842721938bbca6c72875c26 SHA512 020044e036c232e37e72d5ff4386dd15f3f7135d44b4db4926e2be1dc45431d9f274d43cf903189be03b507026f6121f39c2e983ef3e8c720fd61626aa1cc9af
+DIST tdesktop-1.2.14.tar.gz 16914390 BLAKE2B b687fef01123d7bb7ee0f6e7fab7a4900a217da1aafa2fd35c15950a90c9bd7c0927b395db1238c9cdde676432c7222c8f22ad336a26546704e1a85a7c403a51 SHA512 57f4c6ff4edffc24f2a7e5054c799ffe7bbabaa9dc90b0906452ba884555e10f5cea34d204534f3c249903a2d619cef20e7d0ea5d85d60d1fc95cd0bbb8b96b5
DIST tdesktop-1.2.6.tar.gz 16862075 BLAKE2B c71bde6ec1b8e8a009b589c9cd47728e3c68af6089755b3dd7b72684100cdd0740290bcd6afb0a7ad37ff16b586ad0c1929f14ae245049ad620e7909818a1d3f SHA512 01841f0518397c0662b403bc3d2d16b8622bc8bcf7d9a693f03b90090b17f66284b2c8e88c08868f3982601fd1442521d614a6f36f8659b850ffc1ea97b60de5
DIST tsetup.1.2.1.tar.xz 33084716 BLAKE2B 7eed2ec376b494c6507a4f1ad29c02923638d533493913488c9bc5e633138b1cdd14a8136dfa516c933ae44cc0599a28b0c257839f72c1d3707c4497a39b7880 SHA512 179408ac2df8ce4f90dac0f8bef70b0a2fce33d665bf0de3280b2743e874103814536d5ab53be2b1b49fe7aebbe202d04b2b98713e8183c950659af9372880c7
+DIST tsetup.1.2.14.tar.xz 33389376 BLAKE2B efb41707a47facd5f330677f638920ef9e262159ee3e1358ecf90da2c558b66322b27a6fa9a7137520efd501610145758d4f0e16debf992feff206849e7f5f57 SHA512 b187cdf74fb41f0e3d0e96248b0f2552c728f414f556d999fe3734970ddc653f9adac54ec6dd221a3464154feae9c294d73b7fe2e34c181637021c70e8173f9d
DIST tsetup.1.2.6.tar.xz 33160472 BLAKE2B a3543fca292083bd8d0939f4d04d31ae5e6b052f3c9b83652bf8ba2b8c455c7c03cf64dc6aecde2d3546c1d46b00fe230f912671599160fff118e8684b2a3382 SHA512 6903df43dab2713988447099a0ab367f8be276165991f610129e5da876295f75050c221d27093f19337a78c3f13c6607b5791be86d4752df63704eeba4416969
DIST tsetup32.1.2.1.tar.xz 35154728 BLAKE2B 9ccd0aabf0665a98c46bff49d912b16efd54e4dddca94348d3e4ed702c8a76fd384047559e762a2ae2fb3f01a3bfdf55ea8f408d0c10c8815059f2b88259a5bc SHA512 e65da7fca7a5aa83cfb64e9bb001399f1bfb0ccad9135e37fc6262e63d03ea2fad4c38e9fec631b73482ed0a16a557fab59199b7fe651a836975c18010e5c7f0
+DIST tsetup32.1.2.14.tar.xz 35557656 BLAKE2B 15bb265377fcac2b53d03bfa486ae43a1033ed3771922e202a48b8d566b3dfb59abfcd6fbd5f7910daf95d72806edc6c745e85c86635346df1cd700a085b36b0 SHA512 bfa1de5341b166c365e7806b2283df11244d0445618e62c3abedc1d16db6b002cb5a5cb4cdfa2111073cb29424255628de3f64815044f42b920f5ef489d2a702
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.14.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.14.ebuild
new file mode 100644
index 000000000000..6522d0b976f6
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.14.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
+}