1 |
commit: 2e16f952fba92f886cfa96bc0bffb71af406b815 |
2 |
Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua> |
3 |
AuthorDate: Sat May 4 15:08:05 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 9 01:19:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e16f952 |
7 |
|
8 |
net-im/slack-bin: version bump to 3.4.0 |
9 |
|
10 |
1. version bump to 3.4.0 |
11 |
2. added app-accessibility/at-spi2-atk to RDEPEND |
12 |
|
13 |
Closes: https://bugs.gentoo.org/684926 |
14 |
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua> |
15 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
16 |
Closes: https://github.com/gentoo/gentoo/pull/11897 |
17 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
18 |
|
19 |
net-im/slack-bin/Manifest | 1 + |
20 |
net-im/slack-bin/slack-bin-3.4.0.ebuild | 95 +++++++++++++++++++++++++++++++++ |
21 |
2 files changed, 96 insertions(+) |
22 |
|
23 |
diff --git a/net-im/slack-bin/Manifest b/net-im/slack-bin/Manifest |
24 |
index fa0a0712cb8..9a2f18329f4 100644 |
25 |
--- a/net-im/slack-bin/Manifest |
26 |
+++ b/net-im/slack-bin/Manifest |
27 |
@@ -6,3 +6,4 @@ DIST slack-desktop-3.3.3-amd64.deb 54203216 BLAKE2B 93f72a2a7ead75682b9ef9bd9f9b |
28 |
DIST slack-desktop-3.3.4-amd64.deb 56404428 BLAKE2B 15e39e88f287a296f3f11a15f35602d2103263b2886f037674e4b8fc0f7b533980ab835de3862a92434b63eb0a466f1f6ee4db4e41026e2c609d6e52dd392463 SHA512 1c2f889ed6194191adf8892bb288ee2e53476b78bc7dbb48c9e5c516f010e47b486059ab1dad87ff41e747e74a10a43398027dfb3cb971103e70f00f58e6bd4c |
29 |
DIST slack-desktop-3.3.7-amd64.deb 56596720 BLAKE2B d463172b6528a98366b61b2e23c0bbfb8f7285387f7c0815b28977602f1b05954f1a89cae0ecf127acd79b771655ea5c7551bb0d7207b07b0e7790886c21e7d6 SHA512 b61f32a7f9ee4c40c10dbc70e0ab1c4371fd63610217348b2177c48f9ec17500e34ca5a09f38812543b62fd888cbc0344ad258d37d0b570fa91e4c262451e18a |
30 |
DIST slack-desktop-3.3.8-amd64.deb 56743966 BLAKE2B 3673a55a300b56b645d69e18617fd58241c9f4ac5fec088660bb715c722b4b22b77db9302ca3d8f09338bb41be188998366e8c5f9f0a145d80391f82fbc5fb6f SHA512 f9a0414213bf0d1a8404f532a37b16bf47a43b8ecf6bb9be99184577b3b8c58e5f1b1b40a044550dc900d328b40207763de6eb3936e0b8ded709782796e81720 |
31 |
+DIST slack-desktop-3.4.0-amd64.deb 56807282 BLAKE2B fa0637b98344983b66a5362b03e719260e7553cabad0d5ff294ac5051d8b2bf189722c82f328410c5ffdbe057dd782a51f81ba0f213ce36efee017c4febe8291 SHA512 7ae266b5bf13a89d66d35646005a4d5cb0de0143cba19ea450b226ac394de90c82b45d6798f39c7d27db6cad36db2c25f1f4ee06a436753cc49170eabc9fa6b8 |
32 |
|
33 |
diff --git a/net-im/slack-bin/slack-bin-3.4.0.ebuild b/net-im/slack-bin/slack-bin-3.4.0.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..c167031694c |
36 |
--- /dev/null |
37 |
+++ b/net-im/slack-bin/slack-bin-3.4.0.ebuild |
38 |
@@ -0,0 +1,95 @@ |
39 |
+# Copyright 1999-2019 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=7 |
43 |
+ |
44 |
+MY_PN="${PN/-bin/}" |
45 |
+MULTILIB_COMPAT=( abi_x86_64 ) |
46 |
+ |
47 |
+inherit desktop multilib-build pax-utils unpacker xdg-utils |
48 |
+ |
49 |
+DESCRIPTION="Team collaboration tool" |
50 |
+HOMEPAGE="http://www.slack.com/" |
51 |
+SRC_URI="https://downloads.slack-edge.com/linux_releases/${MY_PN}-desktop-${PV}-amd64.deb" |
52 |
+ |
53 |
+LICENSE="all-rights-reserved" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="-* ~amd64" |
56 |
+IUSE="ayatana gnome-keyring pax_kernel" |
57 |
+RESTRICT="bindist mirror" |
58 |
+ |
59 |
+RDEPEND="app-accessibility/at-spi2-atk:2[${MULTILIB_USEDEP}] |
60 |
+ dev-libs/atk:0[${MULTILIB_USEDEP}] |
61 |
+ dev-libs/expat:0[${MULTILIB_USEDEP}] |
62 |
+ dev-libs/glib:2[${MULTILIB_USEDEP}] |
63 |
+ dev-libs/nspr:0[${MULTILIB_USEDEP}] |
64 |
+ dev-libs/nss:0[${MULTILIB_USEDEP}] |
65 |
+ gnome-base/gconf:2[${MULTILIB_USEDEP}] |
66 |
+ media-libs/alsa-lib:0[${MULTILIB_USEDEP}] |
67 |
+ media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] |
68 |
+ media-libs/freetype:2[${MULTILIB_USEDEP}] |
69 |
+ net-misc/curl:0[${MULTILIB_USEDEP}] |
70 |
+ net-print/cups:0[${MULTILIB_USEDEP}] |
71 |
+ sys-apps/dbus:0[${MULTILIB_USEDEP}] |
72 |
+ x11-libs/cairo:0[${MULTILIB_USEDEP}] |
73 |
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] |
74 |
+ x11-libs/gtk+:3[${MULTILIB_USEDEP}] |
75 |
+ x11-libs/libX11:0[${MULTILIB_USEDEP}] |
76 |
+ x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}] |
77 |
+ x11-libs/libXcomposite:0[${MULTILIB_USEDEP}] |
78 |
+ x11-libs/libXcursor:0[${MULTILIB_USEDEP}] |
79 |
+ x11-libs/libXdamage:0[${MULTILIB_USEDEP}] |
80 |
+ x11-libs/libXext:0[${MULTILIB_USEDEP}] |
81 |
+ x11-libs/libXfixes:0[${MULTILIB_USEDEP}] |
82 |
+ x11-libs/libXi:0[${MULTILIB_USEDEP}] |
83 |
+ x11-libs/libxkbfile:0[${MULTILIB_USEDEP}] |
84 |
+ x11-libs/libXrandr:0[${MULTILIB_USEDEP}] |
85 |
+ x11-libs/libXrender:0[${MULTILIB_USEDEP}] |
86 |
+ x11-libs/libXScrnSaver:0[${MULTILIB_USEDEP}] |
87 |
+ x11-libs/libXtst:0[${MULTILIB_USEDEP}] |
88 |
+ x11-libs/pango:0[${MULTILIB_USEDEP}] |
89 |
+ ayatana? ( dev-libs/libappindicator:3[${MULTILIB_USEDEP}] ) |
90 |
+ gnome-keyring? ( app-crypt/libsecret:0[${MULTILIB_USEDEP}] )" |
91 |
+ |
92 |
+QA_PREBUILT="opt/slack/slack |
93 |
+ opt/slack/resources/app.asar.unpacked/node_modules/* |
94 |
+ opt/slack/libnode.so |
95 |
+ opt/slack/libffmpeg.so |
96 |
+ opt/slack/libCallsCore.so" |
97 |
+ |
98 |
+S="${WORKDIR}" |
99 |
+ |
100 |
+src_prepare() { |
101 |
+ default |
102 |
+ |
103 |
+ if use ayatana ; then |
104 |
+ sed -i '/Exec/s|=|=env XDG_CURRENT_DESKTOP=Unity |' \ |
105 |
+ usr/share/applications/slack.desktop \ |
106 |
+ || die "sed failed for slack.desktop" |
107 |
+ fi |
108 |
+} |
109 |
+ |
110 |
+src_install() { |
111 |
+ doicon usr/share/pixmaps/slack.png |
112 |
+ doicon -s 512 usr/share/pixmaps/slack.png |
113 |
+ domenu usr/share/applications/slack.desktop |
114 |
+ |
115 |
+ insinto /opt/slack |
116 |
+ doins -r usr/lib/slack/. |
117 |
+ fperms +x /opt/slack/slack |
118 |
+ dosym ../../opt/slack/slack usr/bin/slack |
119 |
+ |
120 |
+ use pax_kernel && pax-mark -m "${ED%/}"/opt/slack/slack |
121 |
+} |
122 |
+ |
123 |
+pkg_postinst() { |
124 |
+ xdg_desktop_database_update |
125 |
+ xdg_icon_cache_update |
126 |
+ xdg_mimeinfo_database_update |
127 |
+} |
128 |
+ |
129 |
+pkg_postrm() { |
130 |
+ xdg_desktop_database_update |
131 |
+ xdg_icon_cache_update |
132 |
+ xdg_mimeinfo_database_update |
133 |
+} |