1 |
commit: a9ea6326d9fa51ccee161a7e94125b9dce173f0c |
2 |
Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua> |
3 |
AuthorDate: Tue Dec 11 22:23:58 2018 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 13 22:24:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9ea6326 |
7 |
|
8 |
net-im/gitter-bin: version bump to 4.1.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/672786 |
11 |
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua> |
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
13 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
14 |
|
15 |
net-im/gitter-bin/Manifest | 2 + |
16 |
net-im/gitter-bin/gitter-bin-4.1.0.ebuild | 107 ++++++++++++++++++++++++++++++ |
17 |
net-im/gitter-bin/metadata.xml | 3 + |
18 |
3 files changed, 112 insertions(+) |
19 |
|
20 |
diff --git a/net-im/gitter-bin/Manifest b/net-im/gitter-bin/Manifest |
21 |
index 4553c4a375d..81b684895c8 100644 |
22 |
--- a/net-im/gitter-bin/Manifest |
23 |
+++ b/net-im/gitter-bin/Manifest |
24 |
@@ -1,2 +1,4 @@ |
25 |
DIST gitter_3.1.0_amd64.deb 43340316 BLAKE2B 18682a8f467159fc3a0f765505a53982ba3bf0c7992782e256388076f6fba82e4e895d915376f9dfd333af57288d66f93e58bc9e48ecbfb1a5d11f060ac2df41 SHA512 b2888a2c9ed399102e2e80a2ec1ffafe093bdbe2f11d74753052c14841201cf586e0bb2a42ff8e67517d000a7c0b6f6aed30c32b3a7ecc683a18f8433b0bfa1c |
26 |
DIST gitter_3.1.0_i386.deb 45251440 BLAKE2B 01ea8b670e95496b7b4015ad6a31f546cf00a615dc562255b5761e797fd65ac00c5a89dd6353522359cbb5abf299aed50e3461fd1d2364e7667f4f748a288137 SHA512 4e58f5ca1a5db9139bef29eff2ffd7d599268844c11be65f98e9a78ad7a602c5d115e633c02519d025fe3d81f3174c478d5590bb2beaa92697617dc11fc141f6 |
27 |
+DIST gitter_4.1.0_amd64.deb 98314502 BLAKE2B 3f14e044865c9af89dc6ac62dbe8f8221824c6f529418a31fd5236ecec45ddfd6013d734100a414a2bbca0db9e8c40cb7046868391d507ba5c9de9da0c66225d SHA512 2ea0ebbc05cbdc40e4e8cb07a68b3948477a61a81e550b8f131af46315c6fc7547c0954aa101260f93b63c557f3e00b1e23006a236b77be01ea4a82edd170f70 |
28 |
+DIST gitter_4.1.0_i386.deb 101820112 BLAKE2B 3d1ab270389da9c82440dc7a204d1973402de1648e0387a026601d34bd1f2b26469b0fab9be4ff4b596cbe257047e88446b5c36d08deeeae1aaea4f387c45ac3 SHA512 c76da19e6eaf79894319848b6121660dab0bd8f2d8cdfaf413a68bee0f4c62fdca25c19c24eeb226164b643582db9ed686c68a5f72701618d41b423df9c9cee8 |
29 |
|
30 |
diff --git a/net-im/gitter-bin/gitter-bin-4.1.0.ebuild b/net-im/gitter-bin/gitter-bin-4.1.0.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..b0d7e485b68 |
33 |
--- /dev/null |
34 |
+++ b/net-im/gitter-bin/gitter-bin-4.1.0.ebuild |
35 |
@@ -0,0 +1,107 @@ |
36 |
+# Copyright 1999-2018 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+ |
41 |
+MULTILIB_COMPAT=( abi_x86_{32,64} ) |
42 |
+MY_PN="${PN/-bin/}" |
43 |
+ |
44 |
+inherit desktop gnome2-utils multilib-build pax-utils unpacker |
45 |
+ |
46 |
+QA_PREBUILT="opt/gitter/pnacl/pnacl_public_x86_64_libcrt_platform_a |
47 |
+ opt/gitter/pnacl/pnacl_public_x86_64_pnacl_llc_nexe |
48 |
+ opt/gitter/pnacl/pnacl_public_x86_64_ld_nexe |
49 |
+ opt/gitter/pnacl/pnacl_public_x86_64_pnacl_sz_nexe |
50 |
+ opt/gitter/payload |
51 |
+ opt/gitter/swiftshader/libEGL.so |
52 |
+ opt/gitter/swiftshader/libGLESv2.so |
53 |
+ opt/gitter/chromedriver |
54 |
+ opt/gitter/lib/libnw.so |
55 |
+ opt/gitter/lib/libnode.so |
56 |
+ opt/gitter/lib/libffmpeg.so |
57 |
+ opt/gitter/nacl_helper |
58 |
+ opt/gitter/nwjc |
59 |
+ opt/gitter/nacl_irt_x86_64.nexe |
60 |
+ opt/gitter/Gitter" |
61 |
+ |
62 |
+DESCRIPTION="Chat and network platform" |
63 |
+HOMEPAGE="http://www.gitter.im/" |
64 |
+SRC_URI=" |
65 |
+ amd64? ( https://update.gitter.im/linux64/${MY_PN}_${PV}_amd64.deb ) |
66 |
+ x86? ( https://update.gitter.im/linux32/${MY_PN}_${PV}_i386.deb )" |
67 |
+ |
68 |
+LICENSE="all-rights-reserved" |
69 |
+SLOT="0" |
70 |
+KEYWORDS="-* ~amd64 ~x86" |
71 |
+IUSE="pax_kernel" |
72 |
+RESTRICT="bindist mirror" |
73 |
+ |
74 |
+RDEPEND="dev-libs/atk:0[${MULTILIB_USEDEP}] |
75 |
+ dev-libs/expat:0[${MULTILIB_USEDEP}] |
76 |
+ dev-libs/glib:2[${MULTILIB_USEDEP}] |
77 |
+ dev-libs/nspr:0[${MULTILIB_USEDEP}] |
78 |
+ dev-libs/nss:0[${MULTILIB_USEDEP}] |
79 |
+ media-libs/alsa-lib:0[${MULTILIB_USEDEP}] |
80 |
+ sys-apps/dbus:0[${MULTILIB_USEDEP}] |
81 |
+ x11-libs/cairo:0[${MULTILIB_USEDEP}] |
82 |
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] |
83 |
+ x11-libs/gtk+:3[${MULTILIB_USEDEP}] |
84 |
+ x11-libs/libX11:0[${MULTILIB_USEDEP}] |
85 |
+ x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}] |
86 |
+ x11-libs/libXcomposite:0[${MULTILIB_USEDEP}] |
87 |
+ x11-libs/libXcursor:0[${MULTILIB_USEDEP}] |
88 |
+ x11-libs/libXdamage:0[${MULTILIB_USEDEP}] |
89 |
+ x11-libs/libXext:0[${MULTILIB_USEDEP}] |
90 |
+ x11-libs/libXfixes:0[${MULTILIB_USEDEP}] |
91 |
+ x11-libs/libXi:0[${MULTILIB_USEDEP}] |
92 |
+ x11-libs/libXrandr:0[${MULTILIB_USEDEP}] |
93 |
+ x11-libs/libXrender:0[${MULTILIB_USEDEP}] |
94 |
+ x11-libs/libXtst:0[${MULTILIB_USEDEP}] |
95 |
+ x11-libs/pango:0[${MULTILIB_USEDEP}]" |
96 |
+DEPEND="sys-apps/fix-gnustack" |
97 |
+ |
98 |
+S="${WORKDIR}" |
99 |
+ |
100 |
+src_prepare() { |
101 |
+ default |
102 |
+ |
103 |
+ local arch |
104 |
+ arch="$(usex amd64 "64" "32")" |
105 |
+ |
106 |
+ # Modify desktop file to use common paths |
107 |
+ sed -i \ |
108 |
+ -e '/Exec/s/=.*/=\/usr\/bin\/gitter/' \ |
109 |
+ -e '/Icon/s/=.*/=\/usr\/share\/pixmaps\/gitter.png/' \ |
110 |
+ opt/Gitter/linux"${arch}"/gitter.desktop || die "sed failed" |
111 |
+} |
112 |
+ |
113 |
+src_install() { |
114 |
+ local arch |
115 |
+ arch="$(usex amd64 "64" "32")" |
116 |
+ |
117 |
+ fix-gnustack -f opt/Gitter/linux"${arch}"/nacl_irt_x86_64.nexe > /dev/null \ |
118 |
+ || die "removing execstack flag failed" |
119 |
+ |
120 |
+ newicon opt/Gitter/linux"${arch}"/logo.png gitter.png |
121 |
+ newicon -s 256 opt/Gitter/linux"${arch}"/logo.png gitter.png |
122 |
+ domenu opt/Gitter/linux"${arch}"/gitter.desktop |
123 |
+ |
124 |
+ insinto /opt/gitter |
125 |
+ doins -r opt/Gitter/linux"${arch}"/. |
126 |
+ fperms +x /opt/gitter/Gitter |
127 |
+ dosym ../../opt/gitter/Gitter /usr/bin/gitter |
128 |
+ |
129 |
+ use pax_kernel && pax-mark -m "${ED%/}"/opt/gitter/Gitter |
130 |
+} |
131 |
+ |
132 |
+pkg_preinst() { |
133 |
+ gnome2_icon_savelist |
134 |
+} |
135 |
+ |
136 |
+pkg_postinst() { |
137 |
+ gnome2_icon_cache_update |
138 |
+} |
139 |
+ |
140 |
+pkg_postrm() { |
141 |
+ gnome2_icon_cache_update |
142 |
+} |
143 |
|
144 |
diff --git a/net-im/gitter-bin/metadata.xml b/net-im/gitter-bin/metadata.xml |
145 |
index 2aa6d30c64d..88b44ca0dc0 100644 |
146 |
--- a/net-im/gitter-bin/metadata.xml |
147 |
+++ b/net-im/gitter-bin/metadata.xml |
148 |
@@ -14,6 +14,9 @@ |
149 |
grow and connect communities through messaging, content |
150 |
and discovery. |
151 |
</longdescription> |
152 |
+ <use> |
153 |
+ <flag name="pax_kernel">Triggers a paxmarking of the binary</flag> |
154 |
+ </use> |
155 |
<upstream> |
156 |
<doc>https://gitter.zendesk.com/hc/en-us</doc> |
157 |
</upstream> |