summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2017-12-30 14:56:26 +0100
committerNP-Hardass <NP-Hardass@gentoo.org>2018-01-02 15:57:29 -0500
commit655324e52c6ad02b2b51322df5822224a610cd55 (patch)
treeec40987eaa056da14346acb1475c1bfccc135996 /net-im
parentkde-plasma: Add KDE Plasma 5.11.5 (diff)
downloadgentoo-655324e52c6ad02b2b51322df5822224a610cd55.tar.gz
gentoo-655324e52c6ad02b2b51322df5822224a610cd55.tar.bz2
gentoo-655324e52c6ad02b2b51322df5822224a610cd55.zip
net-im/telegram-desktop-bin: Version bump to 1.2.6
Closes: https://bugs.gentoo.org/642722 Closes: https://github.com/gentoo/gentoo/pull/6688 Signed-off-by: Henning Schild <henning@hennsch.de> 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.6.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 6a6022e26621..e690b8d0f7f9 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,6 +1,9 @@
DIST tdesktop-1.2.0.tar.gz 16820151 BLAKE2B 7676b285e0040fec1deadd68d5e41b985b66a9fe471a8db6606c28cb4a8fb4ca5904953c1aeef05a305705ee71e10892afbed9d3440b78c4513694f4ee81f2ed SHA512 659838f9bfddf8dce8ed3960d5d2da92577e0c6c8492ee0067a7dab7331340d5d0053f75ac5dfeb4a5920e01cb65baed6ffa750b8a6b48ee6dc367c8abdb0875
DIST tdesktop-1.2.1.tar.gz 16824849 BLAKE2B ac6ed908ec243416ae880611f51d5f6dbe22b09092003f23611db63bbb8837a9c2d3782eef3274b94ba91e1a233db472fb17ea22e842721938bbca6c72875c26 SHA512 020044e036c232e37e72d5ff4386dd15f3f7135d44b4db4926e2be1dc45431d9f274d43cf903189be03b507026f6121f39c2e983ef3e8c720fd61626aa1cc9af
+DIST tdesktop-1.2.6.tar.gz 16862075 BLAKE2B c71bde6ec1b8e8a009b589c9cd47728e3c68af6089755b3dd7b72684100cdd0740290bcd6afb0a7ad37ff16b586ad0c1929f14ae245049ad620e7909818a1d3f SHA512 01841f0518397c0662b403bc3d2d16b8622bc8bcf7d9a693f03b90090b17f66284b2c8e88c08868f3982601fd1442521d614a6f36f8659b850ffc1ea97b60de5
DIST tsetup.1.2.0.tar.xz 33102396 BLAKE2B ad7d501525c8233c8aa7b01d85e1ee2eba33f17393525bda4e7c089ccc4990fb5519524212d0f2e7f7fbd4eed9c1bf31cdeb89914053f4e6bec88727bdf25780 SHA512 e802f71cb13e62d2e6570b35e2ee0d189e41fb66a4c6816407ab08d23889b234bb012425f8ed3676ff2f08695b6dfa68288ab9376b039e5abfcb4c07b39eb27c
DIST tsetup.1.2.1.tar.xz 33084716 BLAKE2B 7eed2ec376b494c6507a4f1ad29c02923638d533493913488c9bc5e633138b1cdd14a8136dfa516c933ae44cc0599a28b0c257839f72c1d3707c4497a39b7880 SHA512 179408ac2df8ce4f90dac0f8bef70b0a2fce33d665bf0de3280b2743e874103814536d5ab53be2b1b49fe7aebbe202d04b2b98713e8183c950659af9372880c7
+DIST tsetup.1.2.6.tar.xz 33160472 BLAKE2B a3543fca292083bd8d0939f4d04d31ae5e6b052f3c9b83652bf8ba2b8c455c7c03cf64dc6aecde2d3546c1d46b00fe230f912671599160fff118e8684b2a3382 SHA512 6903df43dab2713988447099a0ab367f8be276165991f610129e5da876295f75050c221d27093f19337a78c3f13c6607b5791be86d4752df63704eeba4416969
DIST tsetup32.1.2.0.tar.xz 35137704 BLAKE2B d9bd50b2e61fd203e2e9bf3e50f11c004663cf68522635d3fab71138572767b91573a583e7a53b5f218871548acef32f312605affaf5a44cd614edb8e037d10b SHA512 dc4c261d1ea3098b5e90d194069c20162159fb69f5531773bdf89683967a7bb2e36966023a36b2a29730a08f62ca426797578308b795e274d47fe4184df427a6
DIST tsetup32.1.2.1.tar.xz 35154728 BLAKE2B 9ccd0aabf0665a98c46bff49d912b16efd54e4dddca94348d3e4ed702c8a76fd384047559e762a2ae2fb3f01a3bfdf55ea8f408d0c10c8815059f2b88259a5bc SHA512 e65da7fca7a5aa83cfb64e9bb001399f1bfb0ccad9135e37fc6262e63d03ea2fad4c38e9fec631b73482ed0a16a557fab59199b7fe651a836975c18010e5c7f0
+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.6.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.6.ebuild
new file mode 100644
index 000000000000..2de83b92ec61
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.2.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils 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
+}