1 |
commit: e780cced313278807c053656e1baa3f721c5e006 |
2 |
Author: Vladimir Pavljuchenko (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua> |
3 |
AuthorDate: Fri Sep 16 13:02:04 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 27 20:23:30 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e780cced |
7 |
|
8 |
net-im/slack-bin: new package. |
9 |
|
10 |
Slack is a cloud-based team collaboration tool. It offers persistent chat rooms |
11 |
(channels) organized by topic, as well as private groups and direct messaging. |
12 |
All content (files, conversations, people) inside Slack is searchable. Slack |
13 |
integrates with a large number of third-party services and supports |
14 |
community-built integrations. |
15 |
|
16 |
Base for ebuild from https://github.com/SpiderX/portage-overlay/tree/master/net-im/slack-bin. |
17 |
|
18 |
Gentoo-Bug: https://bugs.gentoo.org/575786 |
19 |
|
20 |
Package-Manager: portage-2.2.28 |
21 |
Closes: https://github.com/gentoo/gentoo/pull/2342 |
22 |
|
23 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
24 |
|
25 |
net-im/slack-bin/Manifest | 2 + |
26 |
net-im/slack-bin/metadata.xml | 22 ++++++++++ |
27 |
net-im/slack-bin/slack-bin-2.1.2.ebuild | 78 +++++++++++++++++++++++++++++++++ |
28 |
3 files changed, 102 insertions(+) |
29 |
|
30 |
diff --git a/net-im/slack-bin/Manifest b/net-im/slack-bin/Manifest |
31 |
new file mode 100644 |
32 |
index 00000000..b774bc3 |
33 |
--- /dev/null |
34 |
+++ b/net-im/slack-bin/Manifest |
35 |
@@ -0,0 +1,2 @@ |
36 |
+DIST slack-desktop-2.1.2-amd64.deb 46460486 SHA256 46576dbe929d4d60d0311056c0268d22dfaa58edc6774ce8a7e61873414bbf2e SHA512 b23ccee498c2c6d043bdb4632b1b2755b3f0a96a1d78338020fb4221c49b7feeb437cc358abcf285e0f0a0f7b57f4db6792b2baa8b339596a287f1272ed12284 WHIRLPOOL 7b9dbf46c988dce1837318c4568ef7357481058593d80d0d00f0b8924a1ead28d8aaf3548d7e1f095d62042a05d721ba047658fcbb1758aad1ea006e69c74dcf |
37 |
+DIST slack-desktop-2.1.2-i386.deb 42997902 SHA256 cc9660d95f5ce765c18b35191e2475d6bd272affc6d47f176759cc202910ddb4 SHA512 6b68123d3c85687043e886974449fe424af267c326ffc869d03d911ae5d0f30f5081b611e136bc4f832da8d555b2851a4c093df9c8be2de98235ebcd03528d8c WHIRLPOOL 80514dc501a94652bb54dad205224ee73cc4abd12f356aaf2b454aff67f99b4a16ec88bde0f9c541dbbddfcb8739df040656ca6c91b42b2947d6862743be41a8 |
38 |
|
39 |
diff --git a/net-im/slack-bin/metadata.xml b/net-im/slack-bin/metadata.xml |
40 |
new file mode 100644 |
41 |
index 00000000..87e0265 |
42 |
--- /dev/null |
43 |
+++ b/net-im/slack-bin/metadata.xml |
44 |
@@ -0,0 +1,22 @@ |
45 |
+<?xml version="1.0" encoding="UTF-8"?> |
46 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
47 |
+<pkgmetadata> |
48 |
+ <maintainer type="person"> |
49 |
+ <email>spiderx@××××××××××.ua</email> |
50 |
+ <name>Vladimir Pavljuchenkov</name> |
51 |
+ <description>Proxy maintainer</description> |
52 |
+ </maintainer> |
53 |
+ <maintainer type="project"> |
54 |
+ <email>proxy-maint@g.o</email> |
55 |
+ <name>Proxy Maintainers</name> |
56 |
+ </maintainer> |
57 |
+ <longdescription lang="en"> |
58 |
+Slack offers persistent chat rooms organized by topic, |
59 |
+as well as private groups and direct messaging. |
60 |
+All content inside Slack is searchable, including files, conversations, |
61 |
+and people. |
62 |
+ </longdescription> |
63 |
+ <upstream> |
64 |
+ <doc>https://get.slack.help/hc/en-us</doc> |
65 |
+ </upstream> |
66 |
+</pkgmetadata> |
67 |
|
68 |
diff --git a/net-im/slack-bin/slack-bin-2.1.2.ebuild b/net-im/slack-bin/slack-bin-2.1.2.ebuild |
69 |
new file mode 100644 |
70 |
index 00000000..3f3e8eb |
71 |
--- /dev/null |
72 |
+++ b/net-im/slack-bin/slack-bin-2.1.2.ebuild |
73 |
@@ -0,0 +1,78 @@ |
74 |
+# Copyright 1999-2016 Gentoo Foundation |
75 |
+# Distributed under the terms of the GNU General Public License v2 |
76 |
+# $Id$ |
77 |
+ |
78 |
+EAPI=6 |
79 |
+ |
80 |
+inherit unpacker gnome2-utils |
81 |
+ |
82 |
+QA_PREBUILT=" |
83 |
+ opt/slack/slack |
84 |
+ opt/slack/resources/app.asar.unpacked/node_modules/* |
85 |
+ opt/slack/libnode.so |
86 |
+ opt/slack/libgcrypt.so.11 |
87 |
+ opt/slack/libffmpeg.so |
88 |
+ opt/slack/libCallsCore.so |
89 |
+" |
90 |
+ |
91 |
+DESCRIPTION="Team collaboration tool" |
92 |
+HOMEPAGE="http://www.slack.com/" |
93 |
+ |
94 |
+MY_PN="${PN/-bin/}" |
95 |
+BASE_URI="https://downloads.slack-edge.com/linux_releases/${MY_PN}-desktop-${PV}-_arch_.deb" |
96 |
+ |
97 |
+SRC_URI=" |
98 |
+ x86? ( ${BASE_URI/_arch_/i386} ) |
99 |
+ amd64? ( ${BASE_URI/_arch_/amd64} ) |
100 |
+" |
101 |
+ |
102 |
+LICENSE="MIT Apache-2.0 BSD ISC LGPL-2 AFL-2.1 public-domain WTFPL-2 Artistic-2 no-source-code" |
103 |
+SLOT="0" |
104 |
+KEYWORDS="~amd64 ~x86" |
105 |
+IUSE="" |
106 |
+RESTRICT="mirror" |
107 |
+ |
108 |
+RDEPEND="x11-libs/gtk+:2 |
109 |
+ x11-libs/libnotify |
110 |
+ x11-libs/libXtst |
111 |
+ x11-libs/pango |
112 |
+ x11-libs/cairo[xcb] |
113 |
+ media-libs/alsa-lib |
114 |
+ media-libs/harfbuzz[graphite] |
115 |
+ media-libs/libcanberra[gtk] |
116 |
+ dev-libs/nss |
117 |
+ dev-libs/glib:2 |
118 |
+ dev-libs/atk |
119 |
+ gnome-base/libgnome-keyring |
120 |
+ gnome-base/gconf:2 |
121 |
+ sys-apps/dbus |
122 |
+ net-print/cups[ssl] |
123 |
+ net-misc/curl |
124 |
+ virtual/udev |
125 |
+ virtual/libc |
126 |
+ virtual/libffi |
127 |
+" |
128 |
+DEPEND="${RDEPEND}" |
129 |
+ |
130 |
+S="${WORKDIR}" |
131 |
+ |
132 |
+pkg_preinst() { |
133 |
+ gnome2_icon_savelist |
134 |
+} |
135 |
+ |
136 |
+src_install() { |
137 |
+ insinto /usr/share/pixmaps |
138 |
+ doins usr/share/pixmaps/${MY_PN}.png |
139 |
+ |
140 |
+ newicon -s 512 usr/share/pixmaps/${MY_PN}.png ${MY_PN}.png |
141 |
+ domenu usr/share/applications/${MY_PN}.desktop |
142 |
+ |
143 |
+ insinto /opt/${MY_PN} |
144 |
+ doins -r usr/lib/${MY_PN}/* |
145 |
+ fperms +x /opt/${MY_PN}/${MY_PN} |
146 |
+ dosym /opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN} |
147 |
+} |
148 |
+ |
149 |
+pkg_postinst() { |
150 |
+ gnome2_icon_cache_update |
151 |
+} |