summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2019-06-24 06:36:02 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-06-25 22:07:29 +0200
commitf6b6295334d0d8c3b8b8b0325e205a476c3144d2 (patch)
tree2da7641024f35a946e6a3e96e6c7b7d864499a10 /net-im
parentapp-shells/bash-completion: stable 2.9 for hppa, bug #686692 (diff)
downloadgentoo-f6b6295334d0d8c3b8b8b0325e205a476c3144d2.tar.gz
gentoo-f6b6295334d0d8c3b8b8b0325e205a476c3144d2.tar.bz2
gentoo-f6b6295334d0d8c3b8b8b0325e205a476c3144d2.zip
net-im/telegram-desktop-bin: version bump to v1.7.9
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/12317 Signed-off-by: Andreas Sturmlechner <asturm@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.7.9.ebuild63
2 files changed, 66 insertions, 0 deletions
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 4738712f16ca..f6386f1d6e3b 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,6 +1,9 @@
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.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.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
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
+}