1 |
commit: 5669c2bd8322fae6c2d08a89b70d2d003da2374f |
2 |
Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua> |
3 |
AuthorDate: Sat Jan 16 22:44:21 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 29 13:45:47 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5669c2bd |
7 |
|
8 |
net-im/gitter-bin: version bump to 5.0.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/19084 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
net-im/gitter-bin/Manifest | 2 + |
16 |
net-im/gitter-bin/gitter-bin-5.0.1.ebuild | 103 ++++++++++++++++++++++++++++++ |
17 |
2 files changed, 105 insertions(+) |
18 |
|
19 |
diff --git a/net-im/gitter-bin/Manifest b/net-im/gitter-bin/Manifest |
20 |
index bf49cbb16b1..91239435c8c 100644 |
21 |
--- a/net-im/gitter-bin/Manifest |
22 |
+++ b/net-im/gitter-bin/Manifest |
23 |
@@ -1,2 +1,4 @@ |
24 |
DIST gitter_4.1.0_amd64.deb 98314502 BLAKE2B 3f14e044865c9af89dc6ac62dbe8f8221824c6f529418a31fd5236ecec45ddfd6013d734100a414a2bbca0db9e8c40cb7046868391d507ba5c9de9da0c66225d SHA512 2ea0ebbc05cbdc40e4e8cb07a68b3948477a61a81e550b8f131af46315c6fc7547c0954aa101260f93b63c557f3e00b1e23006a236b77be01ea4a82edd170f70 |
25 |
DIST gitter_4.1.0_i386.deb 101820112 BLAKE2B 3d1ab270389da9c82440dc7a204d1973402de1648e0387a026601d34bd1f2b26469b0fab9be4ff4b596cbe257047e88446b5c36d08deeeae1aaea4f387c45ac3 SHA512 c76da19e6eaf79894319848b6121660dab0bd8f2d8cdfaf413a68bee0f4c62fdca25c19c24eeb226164b643582db9ed686c68a5f72701618d41b423df9c9cee8 |
26 |
+DIST gitter_5.0.1_amd64.deb 136453344 BLAKE2B 6e057fb04872f89961a8970d079b14fbaf416db126ac0596485936a069a85fb5e783b052e20af7fbce40bc4805313ad793873c6ad3cadf87fc2662fef39604f1 SHA512 9bca96a2e312e7893ea7e5faca4a6a3e343d0d3bf96b86e0353437517fc006eb917787cb872f305d1c843978cfd80f729474bd485070ec26d99d67d24ffbf4d1 |
27 |
+DIST gitter_5.0.1_i386.deb 141585750 BLAKE2B 464e3416085717702df605fefade3a5aabafbdbfa9274eb9da03832b9a5e442d0a92eacd5c4d757e64709b3ba39bfdc5a87d689bb24db1ede3aca43b187550ce SHA512 b340b161728530e6c397ad6d5fbd591393a893c73b29056094514514d3e0f3a30ebdab94bb19f6c78cf1c73a30c6cd145476e34db5eaea06ba061f8a410579f7 |
28 |
|
29 |
diff --git a/net-im/gitter-bin/gitter-bin-5.0.1.ebuild b/net-im/gitter-bin/gitter-bin-5.0.1.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..df5c40ef1eb |
32 |
--- /dev/null |
33 |
+++ b/net-im/gitter-bin/gitter-bin-5.0.1.ebuild |
34 |
@@ -0,0 +1,103 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+MULTILIB_COMPAT=( abi_x86_{32,64} ) |
41 |
+MY_PN="${PN/-bin/}" |
42 |
+ |
43 |
+inherit desktop multilib-build pax-utils unpacker xdg |
44 |
+ |
45 |
+QA_PREBUILT="opt/gitter/pnacl/pnacl_public_x86_64_pnacl_llc_nexe |
46 |
+ opt/gitter/pnacl/pnacl_public_x86_64_ld_nexe |
47 |
+ opt/gitter/pnacl/pnacl_public_x86_64_pnacl_sz_nexe |
48 |
+ opt/gitter/payload |
49 |
+ opt/gitter/swiftshader/libEGL.so |
50 |
+ opt/gitter/swiftshader/libGLESv2.so |
51 |
+ opt/gitter/chromedriver |
52 |
+ opt/gitter/lib/libnw.so |
53 |
+ opt/gitter/lib/libnode.so |
54 |
+ opt/gitter/lib/libffmpeg.so |
55 |
+ opt/gitter/nacl_helper |
56 |
+ opt/gitter/nwjc |
57 |
+ opt/gitter/nacl_irt_x86_64.nexe |
58 |
+ opt/gitter/Gitter" |
59 |
+QA_FLAGS_IGNORED="opt/gitter/minidump_stackwalk |
60 |
+ opt/gitter/nacl_helper_bootstrap |
61 |
+ opt/gitter/crashpad_handler |
62 |
+ opt/gitter/lib/libEGL.so |
63 |
+ opt/gitter/lib/libGLESv2.so" |
64 |
+ |
65 |
+DESCRIPTION="Chat and network platform" |
66 |
+HOMEPAGE="https://www.gitter.im" |
67 |
+SRC_URI=" |
68 |
+ amd64? ( https://update.gitter.im/linux64/${MY_PN}_${PV}_amd64.deb ) |
69 |
+ x86? ( https://update.gitter.im/linux32/${MY_PN}_${PV}_i386.deb )" |
70 |
+ |
71 |
+LICENSE="all-rights-reserved" |
72 |
+SLOT="0" |
73 |
+KEYWORDS="-* ~amd64 ~x86" |
74 |
+IUSE="" |
75 |
+RESTRICT="bindist mirror" |
76 |
+ |
77 |
+RDEPEND="app-accessibility/at-spi2-core:2[${MULTILIB_USEDEP}] |
78 |
+ dev-libs/atk:0[${MULTILIB_USEDEP}] |
79 |
+ dev-libs/expat:0[${MULTILIB_USEDEP}] |
80 |
+ dev-libs/glib:2[${MULTILIB_USEDEP}] |
81 |
+ dev-libs/nspr:0[${MULTILIB_USEDEP}] |
82 |
+ dev-libs/nss:0[${MULTILIB_USEDEP}] |
83 |
+ media-libs/alsa-lib:0[${MULTILIB_USEDEP}] |
84 |
+ net-print/cups:0[${MULTILIB_USEDEP}] |
85 |
+ sys-apps/dbus:0[${MULTILIB_USEDEP}] |
86 |
+ x11-libs/cairo:0[${MULTILIB_USEDEP}] |
87 |
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] |
88 |
+ x11-libs/gtk+:3[${MULTILIB_USEDEP}] |
89 |
+ x11-libs/libdrm:0[${MULTILIB_USEDEP}] |
90 |
+ x11-libs/libX11:0[${MULTILIB_USEDEP}] |
91 |
+ x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}] |
92 |
+ x11-libs/libXcomposite:0[${MULTILIB_USEDEP}] |
93 |
+ x11-libs/libXcursor:0[${MULTILIB_USEDEP}] |
94 |
+ x11-libs/libXdamage:0[${MULTILIB_USEDEP}] |
95 |
+ x11-libs/libXext:0[${MULTILIB_USEDEP}] |
96 |
+ x11-libs/libXfixes:0[${MULTILIB_USEDEP}] |
97 |
+ x11-libs/libXi:0[${MULTILIB_USEDEP}] |
98 |
+ x11-libs/libXrandr:0[${MULTILIB_USEDEP}] |
99 |
+ x11-libs/libXrender:0[${MULTILIB_USEDEP}] |
100 |
+ x11-libs/libXScrnSaver:0[${MULTILIB_USEDEP}] |
101 |
+ x11-libs/libXtst:0[${MULTILIB_USEDEP}] |
102 |
+ x11-libs/pango:0[${MULTILIB_USEDEP}]" |
103 |
+ |
104 |
+S="${WORKDIR}" |
105 |
+ |
106 |
+src_prepare() { |
107 |
+ default |
108 |
+ |
109 |
+ local arch |
110 |
+ arch="$(usex amd64 "64" "32")" |
111 |
+ |
112 |
+ # Remove hardcoded paths |
113 |
+ sed -i \ |
114 |
+ -e '/Exec/s/=.*/=gitter/' \ |
115 |
+ -e '/Icon/s/=.*/=gitter/' \ |
116 |
+ opt/Gitter/linux"${arch}"/gitter.desktop || die "sed failed" |
117 |
+} |
118 |
+ |
119 |
+src_install() { |
120 |
+ local arch |
121 |
+ arch="$(usex amd64 "64" "32")" |
122 |
+ |
123 |
+ newicon opt/Gitter/linux"${arch}"/logo.png gitter.png |
124 |
+ newicon -s 256 opt/Gitter/linux"${arch}"/logo.png gitter.png |
125 |
+ domenu opt/Gitter/linux"${arch}"/gitter.desktop |
126 |
+ |
127 |
+ insinto /opt/gitter |
128 |
+ doins -r opt/Gitter/linux"${arch}"/. |
129 |
+ fperms -R +x /opt/gitter/lib/ /opt/gitter/swiftshader/ \ |
130 |
+ /opt/gitter/pnacl/pnacl_public_x86_64_{ld_nexe,pnacl_llc_nexe,pnacl_sz_nexe} \ |
131 |
+ /opt/gitter/{Gitter,chromedriver,crashpad_handler,minidump_stackwalk,nwjc,payload} \ |
132 |
+ /opt/gitter/nacl_{helper,helper_bootstrap,irt_x86_64.nexe} |
133 |
+ |
134 |
+ dosym ../../opt/gitter/Gitter /usr/bin/gitter |
135 |
+ |
136 |
+ pax-mark -m "${ED}"/opt/gitter/Gitter |
137 |
+} |