1 |
commit: a02a2ea013889486148f7abaf6cc7146277cb279 |
2 |
Author: Henning Schild <henning <AT> hennsch <DOT> de> |
3 |
AuthorDate: Fri Sep 28 16:07:30 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 28 18:25:13 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02a2ea0 |
7 |
|
8 |
net-im/telegram-desktop-bin: Version bump to 1.4.0 |
9 |
|
10 |
Signed-off-by: Henning Schild <henning <AT> hennsch.de> |
11 |
Closes: https://bugs.gentoo.org/618662 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/10005 |
13 |
|
14 |
net-im/telegram-desktop-bin/Manifest | 3 + |
15 |
.../telegram-desktop-bin-1.4.0.ebuild | 64 ++++++++++++++++++++++ |
16 |
2 files changed, 67 insertions(+) |
17 |
|
18 |
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest |
19 |
index 391a63c41f0..5ea759fe46a 100644 |
20 |
--- a/net-im/telegram-desktop-bin/Manifest |
21 |
+++ b/net-im/telegram-desktop-bin/Manifest |
22 |
@@ -1,6 +1,9 @@ |
23 |
DIST tdesktop-1.3.10.tar.gz 17167027 BLAKE2B b1748abbfaa08ab22d26707b1b5be7e31dc804869a5ac5cf91bba823787758cd180d9cc41a96eb12787bf445aa6729d66df3aa4ad9acd338500c72da7725211d SHA512 91833405de4d68c6e791fbe3a6ed45926227bc8f7131ffcd2e048e38f8f74419050745a3a56dee926c708e187d9ae985d2efa564ad16fc75f18b60f48a601011 |
24 |
DIST tdesktop-1.3.14.tar.gz 17199969 BLAKE2B 996b1b8113253b12592727fcced27b26e9c9f020f8112ac2460b8c9665c3445f8e8707cc0d62c22a3452367d483a016a471119437ae3da6cea10cc3bc3ed656e SHA512 0fa0792970d4ed044ddc06f97b02d1b7de137cccba7792cc5cbbfbce0d3ef8dbf78cfe3464d3f846c2d6285a9d7db2f40cc4ff76b4ef7138f238ac9045cd2931 |
25 |
+DIST tdesktop-1.4.0.tar.gz 17318129 BLAKE2B bd77ac1c20aeb3e760294f32d8649d49740ef97aae37fabc90aee8207e87109812ce824e25b028785f4ab6fc932ed2e727022cf40a61a189e9f90eb056b0e19a SHA512 4eb123dc34edd3a47848abac66ca7c07a6bf9cf0658a9e904797ae52324f3cdcef3de9a63983f4003652c36087d4ab2e0a9fbf6c6c95b424fd68a65bd77ecadf |
26 |
DIST tsetup.1.3.10.tar.xz 34424588 BLAKE2B c71fda6091d402809fd6989dc6f79c5d43df15e910b939350406233c143e1c8964e67c116d84844aeb54f4a4d6103962281d013507be91b74c58e094b550d5dc SHA512 432d9177e65a461d64f7ccd48745de09cfb2f8d864ba7bf46949e9edd20a5859fcb26491de9053b4823e429a204215daba7399426daaedccf263ffc671697ffa |
27 |
DIST tsetup.1.3.14.tar.xz 34544980 BLAKE2B 3a0ec56d3e49fb47484c959006126a39ed41da6d58706a51808207c0d285a06d72954a17754e7b166468e924f549d08200355f5c83ca68b9fe535304fcb12e34 SHA512 b880782ead5acc40c81d62028e88b5565f6740bc044cdd1eb2e701854d2c5c23ecd2c6d68f7a3b00d8e85d2ad89b1cdf1e7b65b691b2178ea9556cd9b852a726 |
28 |
+DIST tsetup.1.4.0.tar.xz 34811788 BLAKE2B a46e38b8d27ce764b7e9e735809a5098456368ed747e83bc16d125d80e6b772e1fb0eeee0d6b8eab937c04148b2516d5130c365dbda7e7a05571b14137b5a9c5 SHA512 c646763d66a807ade2c5d475444ce651dfd8ff488cafc4148a9e6850485fcfa8bc41d821dea1a9a6d6d5ac8f97593f5cedefa20a533d057c40e72a497afe264c |
29 |
DIST tsetup32.1.3.10.tar.xz 36904652 BLAKE2B 42904f09d4ce26f6d930028f81b7891dfab5ba7d780eace2e70f92752f69612eed6519ccf2ecb0420bd5bfb9f4c999476899df17abf41eca5d4b666bdb7fea9f SHA512 223db27115723cb011f4709ce39fe99228171986a954984a678065d780894d5845ab9bd90541a9cadc7ca6abd01f123ecd53491cd02c235f78615172f40a7a27 |
30 |
DIST tsetup32.1.3.14.tar.xz 37060108 BLAKE2B 5fb87cab91cef06cfd585907e5a40f3099f10a91cf6226704c2f5822d9ec4459f8a65b5714a1177ce1b8c2bbc7f8030af8d82d72ec98b4fe9dd4b3fbaeb09b76 SHA512 446f7091b568b56466d9ee53343a7433335817c0589e5338010dfccb78e615745262fcae18b856c0929d045d3caa46ddace1893c2a44fdf9507c09fad3b09626 |
31 |
+DIST tsetup32.1.4.0.tar.xz 37403084 BLAKE2B dd134c49da40fb25266e0bbaf5722675eea84bf760029646f0d727f6df587a789d42d40c1de1d3f8eb6a2623e5f5e569524b618df18ea48d26e0a05a1a597310 SHA512 8700221f791fa366bedbe666f8d73ec68a216db0dd0ceef43332fd4ce075897c003b069f51946e29dc1b1574dd50fdd6abb1ed491d1c09f5952d044628656a3a |
32 |
|
33 |
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..e0cfb12960a |
36 |
--- /dev/null |
37 |
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0.ebuild |
38 |
@@ -0,0 +1,64 @@ |
39 |
+# Copyright 1999-2018 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=6 |
43 |
+ |
44 |
+inherit desktop gnome2-utils xdg |
45 |
+ |
46 |
+DESCRIPTION="Official desktop client for Telegram (binary package)" |
47 |
+HOMEPAGE="https://desktop.telegram.org" |
48 |
+SRC_URI=" |
49 |
+ https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz |
50 |
+ amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz ) |
51 |
+ x86? ( https://updates.tdesktop.com/tlinux32/tsetup32.${PV}.tar.xz ) |
52 |
+" |
53 |
+ |
54 |
+LICENSE="telegram" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="-* ~amd64 ~x86" |
57 |
+ |
58 |
+QA_PREBUILT="usr/lib/${PN}/Telegram" |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ dev-libs/glib:2 |
62 |
+ dev-libs/gobject-introspection |
63 |
+ >=sys-apps/dbus-1.4.20 |
64 |
+ x11-libs/libX11 |
65 |
+ >=x11-libs/libxcb-1.10[xkb] |
66 |
+" |
67 |
+ |
68 |
+S="${WORKDIR}/Telegram" |
69 |
+ |
70 |
+src_install() { |
71 |
+ exeinto /usr/lib/${PN} |
72 |
+ doexe "Telegram" |
73 |
+ newbin "${FILESDIR}"/${PN}-r1 "telegram-desktop" |
74 |
+ |
75 |
+ local icon_size |
76 |
+ for icon_size in 16 32 48 64 128 256 512; do |
77 |
+ newicon -s "${icon_size}" \ |
78 |
+ "${WORKDIR}/tdesktop-${PV}/Telegram/Resources/art/icon${icon_size}.png" \ |
79 |
+ telegram-desktop.png |
80 |
+ done |
81 |
+ |
82 |
+ domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop |
83 |
+} |
84 |
+ |
85 |
+pkg_preinst() { |
86 |
+ xdg_pkg_preinst |
87 |
+} |
88 |
+ |
89 |
+pkg_postinst() { |
90 |
+ xdg_pkg_postinst |
91 |
+ gnome2_icon_cache_update |
92 |
+ einfo |
93 |
+ einfo "Previous versions of ${PN} have created " |
94 |
+ einfo "\"~/.local/share/applications/telegram.desktop\". These files" |
95 |
+ einfo "conflict with the one shipped by portage and should be removed" |
96 |
+ einfo "from all homedirs. (https://bugs.gentoo.org/618662)" |
97 |
+} |
98 |
+ |
99 |
+pkg_postrm() { |
100 |
+ xdg_pkg_postrm |
101 |
+ gnome2_icon_cache_update |
102 |
+} |