1 |
commit: a874382ff24fc9d89dec109046e852c325b83cdf |
2 |
Author: Jan Vesely <jano.vesely <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Oct 20 21:04:27 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 21 11:33:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a874382f |
7 |
|
8 |
net-im/telegram-desktop-bin: Drop old |
9 |
|
10 |
Signed-off-by: Jan Vesely <jano.vesely <AT> gmail.com> |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
net-im/telegram-desktop-bin/Manifest | 3 - |
14 |
.../telegram-desktop-bin-1.4.0-r1.ebuild | 75 ---------------------- |
15 |
.../telegram-desktop-bin-1.4.3.ebuild | 4 +- |
16 |
3 files changed, 2 insertions(+), 80 deletions(-) |
17 |
|
18 |
diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest |
19 |
index 3eb75cc7d1e..5307c86e6df 100644 |
20 |
--- a/net-im/telegram-desktop-bin/Manifest |
21 |
+++ b/net-im/telegram-desktop-bin/Manifest |
22 |
@@ -1,6 +1,3 @@ |
23 |
-DIST tdesktop-1.4.0.tar.gz 17318129 BLAKE2B bd77ac1c20aeb3e760294f32d8649d49740ef97aae37fabc90aee8207e87109812ce824e25b028785f4ab6fc932ed2e727022cf40a61a189e9f90eb056b0e19a SHA512 4eb123dc34edd3a47848abac66ca7c07a6bf9cf0658a9e904797ae52324f3cdcef3de9a63983f4003652c36087d4ab2e0a9fbf6c6c95b424fd68a65bd77ecadf |
24 |
-DIST tsetup.1.4.0.tar.xz 34811788 BLAKE2B a46e38b8d27ce764b7e9e735809a5098456368ed747e83bc16d125d80e6b772e1fb0eeee0d6b8eab937c04148b2516d5130c365dbda7e7a05571b14137b5a9c5 SHA512 c646763d66a807ade2c5d475444ce651dfd8ff488cafc4148a9e6850485fcfa8bc41d821dea1a9a6d6d5ac8f97593f5cedefa20a533d057c40e72a497afe264c |
25 |
-DIST tsetup32.1.4.0.tar.xz 37403084 BLAKE2B dd134c49da40fb25266e0bbaf5722675eea84bf760029646f0d727f6df587a789d42d40c1de1d3f8eb6a2623e5f5e569524b618df18ea48d26e0a05a1a597310 SHA512 8700221f791fa366bedbe666f8d73ec68a216db0dd0ceef43332fd4ce075897c003b069f51946e29dc1b1574dd50fdd6abb1ed491d1c09f5952d044628656a3a |
26 |
DIST tdesktop-1.4.3.tar.gz 17341652 BLAKE2B 26bacb695bb6e5adfd9fcdb394652695b6d8300fb856caf12cb7e22dd571b370cf74d38363c7eecdd8d7bde9fc3d43a91fd08ab175c2d3406db4f8cfed8619aa SHA512 c72deb10be79221c86b84cb36cf647e69bd51f57c05ae0ab0a43a23b04829aed068536124acfafd308e2b850de64bf448eec770e1d6a5423bb4a6b4c445edb6f |
27 |
DIST tsetup.1.4.3.tar.xz 34895128 BLAKE2B efea0915fee03ff7eecd4739b4c656b7282858611c96d7a59faf8e59f94a6a6bb5e29060f280af2dee5e7f6516564268e977f1e801cce0f1bd7c6bbdf491128d SHA512 fb344584fa2ce2adb53c6377cee34d917464495aaa0aa20d80ef80071f480ea2477f5fed4d5af336e95c9999dc2f2c73d30ff72146662d076d254b23bfc57969 |
28 |
DIST tsetup32.1.4.3.tar.xz 37493196 BLAKE2B 1643016dd13e4f214fbac9892c7784f6998ce5fefd50d001d38db1fbd92c2f102eadf4b7d15a46e2151eeff971b5ed70f5ac8b9476ff4d7d489ad8c0ebf95f17 SHA512 e5b321da75b15c97438d30d480ce73305d97fe3373146650f132931f0620ea75aeac369a031ed070e0695af0b85335bb605d9b8b3a8047de3d739ab08bfa8578 |
29 |
|
30 |
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0-r1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0-r1.ebuild |
31 |
deleted file mode 100644 |
32 |
index c709f83a671..00000000000 |
33 |
--- a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.0-r1.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,75 +0,0 @@ |
36 |
-# Copyright 1999-2018 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=6 |
40 |
- |
41 |
-inherit desktop gnome2-utils xdg |
42 |
- |
43 |
-DESCRIPTION="Official desktop client for Telegram (binary package)" |
44 |
-HOMEPAGE="https://desktop.telegram.org" |
45 |
-SRC_URI=" |
46 |
- https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz |
47 |
- amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz ) |
48 |
- x86? ( https://updates.tdesktop.com/tlinux32/tsetup32.${PV}.tar.xz ) |
49 |
-" |
50 |
- |
51 |
-LICENSE="telegram" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="-* ~amd64 ~x86" |
54 |
- |
55 |
-QA_PREBUILT="usr/lib/${PN}/Telegram" |
56 |
- |
57 |
-RDEPEND=" |
58 |
- dev-libs/glib:2 |
59 |
- dev-libs/gobject-introspection |
60 |
- >=sys-apps/dbus-1.4.20 |
61 |
- x11-libs/libX11 |
62 |
- >=x11-libs/libxcb-1.10[xkb] |
63 |
- >=media-libs/fontconfig-2.13 |
64 |
-" |
65 |
- |
66 |
-S="${WORKDIR}/Telegram" |
67 |
- |
68 |
-src_install() { |
69 |
- exeinto /usr/lib/${PN} |
70 |
- doexe "Telegram" |
71 |
- newbin "${FILESDIR}"/${PN}-r2 "telegram-desktop" |
72 |
- |
73 |
- local icon_size |
74 |
- for icon_size in 16 32 48 64 128 256 512; do |
75 |
- newicon -s "${icon_size}" \ |
76 |
- "${WORKDIR}/tdesktop-${PV}/Telegram/Resources/art/icon${icon_size}.png" \ |
77 |
- telegram-desktop.png |
78 |
- done |
79 |
- |
80 |
- dodir /etc/${PN} |
81 |
- insinto /etc/${PN}/ |
82 |
- doins ${FILESDIR}/fonts.conf |
83 |
- |
84 |
- domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop |
85 |
-} |
86 |
- |
87 |
-pkg_preinst() { |
88 |
- xdg_pkg_preinst |
89 |
-} |
90 |
- |
91 |
-pkg_postinst() { |
92 |
- xdg_pkg_postinst |
93 |
- gnome2_icon_cache_update |
94 |
- einfo |
95 |
- einfo "Previous versions of ${PN} have created " |
96 |
- einfo "\"~/.local/share/applications/telegram.desktop\". These files" |
97 |
- einfo "conflict with the one shipped by portage and should be removed" |
98 |
- einfo "from all homedirs. (https://bugs.gentoo.org/618662)" |
99 |
- einfo |
100 |
- einfo "This versions fixes fontconfig issues that have been reported" |
101 |
- einfo "by several users. However, the fix might have side-effects on" |
102 |
- einfo "non-latin fonts. If you have font issues with this version just" |
103 |
- einfo "delete \"/etc/${PN}/fonts.conf\" and leave a comment here" |
104 |
- einfo "https://bugs.gentoo.org/664872" |
105 |
-} |
106 |
- |
107 |
-pkg_postrm() { |
108 |
- xdg_pkg_postrm |
109 |
- gnome2_icon_cache_update |
110 |
-} |
111 |
|
112 |
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.3.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.3.ebuild |
113 |
index c709f83a671..18ebadbaff9 100644 |
114 |
--- a/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.3.ebuild |
115 |
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-1.4.3.ebuild |
116 |
@@ -1,4 +1,4 @@ |
117 |
-# Copyright 1999-2018 Gentoo Foundation |
118 |
+# Copyright 1999-2018 Gentoo Authors |
119 |
# Distributed under the terms of the GNU General Public License v2 |
120 |
|
121 |
EAPI=6 |
122 |
@@ -44,7 +44,7 @@ src_install() { |
123 |
|
124 |
dodir /etc/${PN} |
125 |
insinto /etc/${PN}/ |
126 |
- doins ${FILESDIR}/fonts.conf |
127 |
+ doins "${FILESDIR}"/fonts.conf |
128 |
|
129 |
domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop |
130 |
} |