summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop-bin
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/telegram-desktop-bin')
-rw-r--r--net-im/telegram-desktop-bin/Manifest8
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.10.ebuild63
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.9.ebuild63
3 files changed, 134 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 3b2d490ef9f5..830ba0d89ed1 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,10 +1,18 @@
AUX telegram-desktop-bin 379 BLAKE2B e97067e322177c771ac99e59690aa3d5587a78e1dab1c73f530dccb169c1823ca6eff6b7f96a863edd768bf49597f8c8158f7737d1796aa01487274901152b43 SHA512 b57a64e4b9a9edcdcc6a3c3bf09549e49785fe66f38a1e117598780b7637a0b6154e922e2ce0d15749dfd44081bec20d1d353f25f63c276e68d2dd30f8e35a39
+DIST tdesktop-1.7.10.tar.gz 14395842 BLAKE2B 76699a4ad4d44a1e628e14cf38e70f57f8434834b53bcbb8bd4b1e5691778585f49cad21669ef7e9087c0a41e0bf1dd48622fc75f89f12f01bcd07c5c36c5862 SHA512 f6e8849d344fd7f8af94d639900150ae87182e1e782f071d1f99aee29a366754eca74ed4062ee10d37348d1195da598a6ce77921fd480e5367b69913c443efe5
DIST tdesktop-1.7.3.tar.gz 14358120 BLAKE2B 430ea848fd0cb210c257a2728e47e267a86775c28e279c56ea8d4a757c82e9e96c7b24f9eba7c6ed86912dc6006c3a5c829531fa92d0bd067db4084f81fdc301 SHA512 b94fdf2e4b6d5f21a5ffe54a0c34ef15597b1335204511ab96f40caa852c8e6ed175811d839dcbb594cd5a93490f8095a71d77fceb1a03f497030c852e1559a0
DIST tdesktop-1.7.7.tar.gz 14373143 BLAKE2B 80f5b6bfb7628f3d7a85fac454fd918d4ed060449e3c8b8bb6e106e5c1b542e10a50f985b71e86c6734d6acba5ebfb09ff78db9db6df49e70be9081a2d8df872 SHA512 abca4e815dc017c1dbb062ab87d166203678b9ffc08fb71f96626172bcebeb52ed60c921dfbaf7301cb8e344b7670a05d4bb9275a511219f33668988a0c79b6b
+DIST tdesktop-1.7.9.tar.gz 14395719 BLAKE2B 057a01cbdec1a37ec9503193dbac394ef058f3cf4d9862459b86b10f9838c34113d7f5b2613ce5d22a3f3e96c32147c4b27d3045fab4ebe34a9113670d7a7e43 SHA512 5ec62ffe69c4fbc600f4e0f32601259360756ec945978fb53dfee9c10e5fb602913c632b9034da11b46e345754f4c32e353dee3dcdef150d87c64a714e6a16c1
+DIST tsetup.1.7.10.tar.xz 33158312 BLAKE2B f029837ffbde250edb07d7491ccfec1781e0622c851270b1490fb079ea498041843ced457c6da0d518f5d49b9c6c266023ba065f3fc1b0019d4bea3c968d2c43 SHA512 dfaa890a211f7e3348ecc696bb50de95d3bd47cf75f1b2ceff6bcd63b1e4fe67fee3579f04511d822cad79c30c9681e5e77b3f887f9a28d923cc2539da4b8c5f
DIST tsetup.1.7.3.tar.xz 33298240 BLAKE2B fa750b23bd1969b41c2f7dcb8399de39c1aadf05526c52f34ea4ad9a86b844cad6f525e2f8903330990a41eb629cc30af7127249f9b5822eb2fcfaf6bc707f4b SHA512 f7afe62b888e78112ca7bb3fcd8b1b6ab3c9c2688ea1828a7004bdc4f2938b93cc29c201fe04eb3d1b9fac6fb3ac8500a0a296d944feb2c51f6df9a25dd5c062
DIST tsetup.1.7.7.tar.xz 33337272 BLAKE2B 15d25c05a5b0ce4130986842ca54501338d64f6dd25bcd0b4aa7a7eaba29397277fa1d8dcb50773dbcdfa85468fb881cb9b00a380176f239b88ed40472614de5 SHA512 936540fdc3bd2048f638298cbcaaac980d4a6b51738ca5ea8a0056fa923383fd4643ee0ad7499ad066fce82a8072705ee5b76a7d813823c2cb68e40df6f7f07a
+DIST tsetup.1.7.9.tar.xz 33163260 BLAKE2B 1fca3aee9039dc43f54170c6cd8f48036dec9de652956a96de6b86b2857d3a022a5270f3db2ea4a114e7595d128461c959b1adc6e38e22d5d24d55d8b50935fe SHA512 4f73e22f202f6df074bedd356bd8f91b1c8278cb7d87f5dbf345850bb4595b681f87892e3c93e794ab68d74974492a0eff7d64bcce01532337575f998d5eef42
+DIST tsetup32.1.7.10.tar.xz 36304976 BLAKE2B 60bd7bbdfed9bcd164002c675a371763142fd409ecbebf366939f235de6cc009cedd6a78177be86e5fd897bd6a00e9b5ff10ab68b79bb326e45eb5f6afa241be SHA512 393e6309cc78f6453cbe526e3e9f0e15d67ee6ed980cdbcc7b131abf6cc8235248206d03e54af370d70a49209f675cdf08fc7b289f57027815b68daa4898cca4
DIST tsetup32.1.7.3.tar.xz 36075780 BLAKE2B e39acb0acb39874f04cb929e4c7eb2a80651cb431336e114ed6656717a0e2ef16dc28d6d3aba3cd1e3239c0548c68223394f2fd45d04329742c924bd5061bab1 SHA512 20711275a95a3f156595ae9a3cdc53088c3e28122c0854bfe74c7a9dd0d396f26b2615efa0bccd8eb4d6770ca65f65fe5cc0b2c6dacf64955c754c5d008c29cd
DIST tsetup32.1.7.7.tar.xz 36129816 BLAKE2B e9bf597e92ed8f9ea8cc7b016c94518d981f44353829b0cde12209dc243355afda51b77e3b11878b2e2d2e4503a749e683d13d19191b73742c4e5edc10ebea61 SHA512 2dfa0934b51924b36b59db9b4b7110ae2493fede8d2cf7c0ff71923702766480ed96f66c5502d87f2d774e7d047ae403ff6c05f6fac53db7d6a91564936cdeef
+DIST tsetup32.1.7.9.tar.xz 36297704 BLAKE2B 1a9b55ec5c0f49d10f59b3e2ebaf90f17491dd6fdb0ddf9adb705e04f38033c8f582c495a71a9479037025aeb97920ab6ce0309106596e197fe9e0afc8c12dd9 SHA512 0e23b4cbddcf418f8056570593fa20dc755846102d6a10ab97b4e112d4b922bddba1dd12cddc59b5d958243b1bf1e3317731f444890d3aeedfe53f3da4956885
+EBUILD telegram-desktop-bin-1.7.10.ebuild 1523 BLAKE2B 06d6f24b456c2376de9d182ec9a09cdac93f36d0704fc325beea07a735b2c64a4fb3ce5adfead40a80a683aa6b0da49ba8e8a2db7f179fd6783c543a963b3b28 SHA512 43a5ab3178c862f89d3f0e19648da5909fbad498fc558773e830d659f7b7048ba4bad191fb98f13be48d643cec1b8cf68be42ba4daa97d930245de92abef2fae
EBUILD telegram-desktop-bin-1.7.3.ebuild 1587 BLAKE2B d108d0d59875c5d87a462c01dcf8c800971a2f4988e9e87e46859ad4905e2b0049e6c0473fb5bc173e5a0b4927b056672e827fc96ca3455b5cb049ebc0970d63 SHA512 e78c76acf267ec6d7d9590c7f3312b06be7a5660be1d7868736132ae3702b87dfbb524bffa14a45498da34f40087b91db15cc065da5d34643dd32a0d1fd86db8
EBUILD telegram-desktop-bin-1.7.7.ebuild 1587 BLAKE2B d108d0d59875c5d87a462c01dcf8c800971a2f4988e9e87e46859ad4905e2b0049e6c0473fb5bc173e5a0b4927b056672e827fc96ca3455b5cb049ebc0970d63 SHA512 e78c76acf267ec6d7d9590c7f3312b06be7a5660be1d7868736132ae3702b87dfbb524bffa14a45498da34f40087b91db15cc065da5d34643dd32a0d1fd86db8
+EBUILD telegram-desktop-bin-1.7.9.ebuild 1523 BLAKE2B 06d6f24b456c2376de9d182ec9a09cdac93f36d0704fc325beea07a735b2c64a4fb3ce5adfead40a80a683aa6b0da49ba8e8a2db7f179fd6783c543a963b3b28 SHA512 43a5ab3178c862f89d3f0e19648da5909fbad498fc558773e830d659f7b7048ba4bad191fb98f13be48d643cec1b8cf68be42ba4daa97d930245de92abef2fae
MISC metadata.xml 585 BLAKE2B 0f6f2dbb75e3fc543ad04b0d72652802b8de0336ccd1171fc06e2d2b61ff5288346b9e3c44afad9e5dbd9de9fa46d3324710697d83e94c9a5da5a8c5a137b26f SHA512 d5af59695ad9fa610865b3719637a7f5dd283f30bf7051f39fd6b8ae7c485f46d52627900cc3d46450491c7429844e0d7c535f2a028a112cb65d7523ff2c669b
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.10.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.10.ebuild
new file mode 100644
index 000000000000..528da9c30d85
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.10.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop 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="GPL-3-with-openssl-exception"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+QA_PREBUILT="usr/lib/${PN}/Telegram"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ >=media-libs/fontconfig-2.13
+ >=sys-apps/dbus-1.4.20
+ 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_preinst() {
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ einfo
+ einfo "Previous versions of ${PN} have created "
+ einfo "\"~/.local/share/applications/telegram.desktop\". These files"
+ einfo "conflict with the one shipped by portage and should be removed"
+ einfo "from all homedirs. (https://bugs.gentoo.org/618662)"
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+}
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.9.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.9.ebuild
new file mode 100644
index 000000000000..528da9c30d85
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.7.9.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop 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="GPL-3-with-openssl-exception"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+QA_PREBUILT="usr/lib/${PN}/Telegram"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ >=media-libs/fontconfig-2.13
+ >=sys-apps/dbus-1.4.20
+ 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_preinst() {
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ einfo
+ einfo "Previous versions of ${PN} have created "
+ einfo "\"~/.local/share/applications/telegram.desktop\". These files"
+ einfo "conflict with the one shipped by portage and should be removed"
+ einfo "from all homedirs. (https://bugs.gentoo.org/618662)"
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+}