1 |
commit: 97abf8e1d28f88278ca051d53202dc84ca468748 |
2 |
Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua> |
3 |
AuthorDate: Thu Sep 5 16:53:39 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 5 18:28:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97abf8e1 |
7 |
|
8 |
net-im/slack-bin: version bump to 4.0.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/12861 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/12865 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
net-im/slack-bin/Manifest | 1 + |
17 |
net-im/slack-bin/slack-bin-4.0.2.ebuild | 98 +++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 99 insertions(+) |
19 |
|
20 |
diff --git a/net-im/slack-bin/Manifest b/net-im/slack-bin/Manifest |
21 |
index ecf7c073955..6f66d39ecaf 100644 |
22 |
--- a/net-im/slack-bin/Manifest |
23 |
+++ b/net-im/slack-bin/Manifest |
24 |
@@ -2,3 +2,4 @@ DIST slack-desktop-2.1.2-amd64.deb 46460486 BLAKE2B c6478764d3bd49745f9626d85287 |
25 |
DIST slack-desktop-2.1.2-i386.deb 42997902 BLAKE2B e5b3375efbe00d31e34c900aedde4c6c19b0e6a550d9db6155d9f8333c9d6db241da60e9b711eee7dbf6cf89d5ac4b84050c9e89c490172b7db205f38981dca3 SHA512 6b68123d3c85687043e886974449fe424af267c326ffc869d03d911ae5d0f30f5081b611e136bc4f832da8d555b2851a4c093df9c8be2de98235ebcd03528d8c |
26 |
DIST slack-desktop-3.1.1-amd64.deb 60320286 BLAKE2B 3054e8283b41d5b8b45323131b2a85800ba8b8e24e0b80aa0eff0c0152c7cad0a2914bf64a6b83621cf6c9ad52b9bf26c0d113cf5867d4c3f2e7d6129d4d27ae SHA512 06f209b07d1bbbadede592f4e63da7c53436ecc821585448269d4eda16ad0bdf8355ac46e508741150fae6dc883c90563509361f47dd02fda2f15b2829dda309 |
27 |
DIST slack-desktop-3.4.2-amd64.deb 62724122 BLAKE2B 31ab566b9a1cb80f1daa207664f4bf0504666cb388f06bf5cd5d381ab26f6b11a4eae5a4a0abd634dd562277fd291bddfb213b9285c4fab218488acc3bbd39a9 SHA512 d3d9ea70467fe59c6194430054d4bed5824a39b156ed9d215df4592eed7b63fbdb93d0a135502941805575f99bce0ec3fe266643cac731b75d9c58a760b3c1a4 |
28 |
+DIST slack-desktop-4.0.2-amd64.deb 61298592 BLAKE2B d6d30f75d245f78276036588eb69a579148feb18fd9232c096b95ce342d37719476eec49ec67147dcd87dbf84b60e8041c45cd6a133f48811cff33958abc43e5 SHA512 6647253eaf73022baaeacbc2e5c8a679cf1d65f8a43aec207b0aedafb74ba64b76196ee621f26097591ccd9e1aa215f2185e23b7083a4da9c89fb031f09a4471 |
29 |
|
30 |
diff --git a/net-im/slack-bin/slack-bin-4.0.2.ebuild b/net-im/slack-bin/slack-bin-4.0.2.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..4717b253329 |
33 |
--- /dev/null |
34 |
+++ b/net-im/slack-bin/slack-bin-4.0.2.ebuild |
35 |
@@ -0,0 +1,98 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+MY_PN="${PN/-bin/}" |
42 |
+MULTILIB_COMPAT=( abi_x86_64 ) |
43 |
+ |
44 |
+inherit desktop multilib-build pax-utils unpacker xdg-utils |
45 |
+ |
46 |
+DESCRIPTION="Team collaboration tool" |
47 |
+HOMEPAGE="https://www.slack.com/" |
48 |
+SRC_URI="https://downloads.slack-edge.com/linux_releases/${MY_PN}-desktop-${PV}-amd64.deb" |
49 |
+ |
50 |
+LICENSE="all-rights-reserved" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="-* ~amd64" |
53 |
+IUSE="ayatana gnome-keyring pax_kernel" |
54 |
+RESTRICT="bindist mirror" |
55 |
+ |
56 |
+RDEPEND="app-accessibility/at-spi2-atk:2[${MULTILIB_USEDEP}] |
57 |
+ dev-libs/atk:0[${MULTILIB_USEDEP}] |
58 |
+ dev-libs/expat:0[${MULTILIB_USEDEP}] |
59 |
+ dev-libs/glib:2[${MULTILIB_USEDEP}] |
60 |
+ dev-libs/nspr:0[${MULTILIB_USEDEP}] |
61 |
+ dev-libs/nss:0[${MULTILIB_USEDEP}] |
62 |
+ media-libs/alsa-lib:0[${MULTILIB_USEDEP}] |
63 |
+ media-libs/mesa:0[${MULTILIB_USEDEP}] |
64 |
+ net-print/cups:0[${MULTILIB_USEDEP}] |
65 |
+ sys-apps/dbus:0[${MULTILIB_USEDEP}] |
66 |
+ sys-apps/util-linux:0[${MULTILIB_USEDEP}] |
67 |
+ x11-libs/cairo:0[${MULTILIB_USEDEP}] |
68 |
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] |
69 |
+ x11-libs/gtk+:3[${MULTILIB_USEDEP}] |
70 |
+ x11-libs/libX11:0[${MULTILIB_USEDEP}] |
71 |
+ x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}] |
72 |
+ x11-libs/libXcomposite:0[${MULTILIB_USEDEP}] |
73 |
+ x11-libs/libXcursor:0[${MULTILIB_USEDEP}] |
74 |
+ x11-libs/libXdamage:0[${MULTILIB_USEDEP}] |
75 |
+ x11-libs/libXext:0[${MULTILIB_USEDEP}] |
76 |
+ x11-libs/libXfixes:0[${MULTILIB_USEDEP}] |
77 |
+ x11-libs/libXi:0[${MULTILIB_USEDEP}] |
78 |
+ x11-libs/libxkbfile:0[${MULTILIB_USEDEP}] |
79 |
+ x11-libs/libXrandr:0[${MULTILIB_USEDEP}] |
80 |
+ x11-libs/libXrender:0[${MULTILIB_USEDEP}] |
81 |
+ x11-libs/libXScrnSaver:0[${MULTILIB_USEDEP}] |
82 |
+ x11-libs/libXtst:0[${MULTILIB_USEDEP}] |
83 |
+ x11-libs/pango:0[${MULTILIB_USEDEP}] |
84 |
+ ayatana? ( dev-libs/libappindicator:3[${MULTILIB_USEDEP}] ) |
85 |
+ gnome-keyring? ( app-crypt/libsecret:0[${MULTILIB_USEDEP}] )" |
86 |
+ |
87 |
+QA_PREBUILT="opt/slack/slack |
88 |
+ opt/slack/resources/app.asar.unpacked/node_modules/* |
89 |
+ opt/slack/libnode.so |
90 |
+ opt/slack/libffmpeg.so |
91 |
+ opt/slack/libCallsCore.so |
92 |
+ opt/slack/libVkICD_mock_icd.so |
93 |
+ opt/slack/libEGL.so |
94 |
+ opt/slack/libGLESv2.so |
95 |
+ opt/slack/swiftshader/libEGL.so |
96 |
+ opt/slack/swiftshader/libGLESv2.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 |
+} |