Gentoo Archives: gentoo-commits

From: Julien Roy <julien@××××.ca>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/eww/
Date: Fri, 02 Dec 2022 04:29:14
Message-Id: 1669955279.a25082b184e7867c4fffaee69e22996dce1a8ef1.julien@gentoo
1 commit: a25082b184e7867c4fffaee69e22996dce1a8ef1
2 Author: Julien Roy <julien <AT> jroy <DOT> ca>
3 AuthorDate: Fri Dec 2 04:27:59 2022 +0000
4 Commit: Julien Roy <julien <AT> jroy <DOT> ca>
5 CommitDate: Fri Dec 2 04:27:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a25082b1
7
8 gui-apps/eww: add 0.4.0-r1, fix dependencies
9
10 Signed-off-by: Julien Roy <julien <AT> jroy.ca>
11
12 gui-apps/eww/eww-0.4.0-r1.ebuild | 283 +++++++++++++++++++++++++++++++++++++++
13 gui-apps/eww/metadata.xml | 3 +-
14 2 files changed, 285 insertions(+), 1 deletion(-)
15
16 diff --git a/gui-apps/eww/eww-0.4.0-r1.ebuild b/gui-apps/eww/eww-0.4.0-r1.ebuild
17 new file mode 100644
18 index 000000000..70aa8e313
19 --- /dev/null
20 +++ b/gui-apps/eww/eww-0.4.0-r1.ebuild
21 @@ -0,0 +1,283 @@
22 +# Copyright 2022 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +
27 +CRATES="
28 + ahash-0.7.6
29 + aho-corasick-0.7.19
30 + ansi_term-0.12.1
31 + anyhow-1.0.63
32 + ascii-canvas-3.0.0
33 + atk-0.15.1
34 + atk-sys-0.15.1
35 + atty-0.2.14
36 + autocfg-1.1.0
37 + base64-0.13.0
38 + beef-0.5.2
39 + bincode-1.3.3
40 + bit-set-0.5.3
41 + bit-vec-0.6.3
42 + bitflags-1.3.2
43 + bytes-1.2.1
44 + cairo-rs-0.15.12
45 + cairo-sys-rs-0.15.1
46 + cfg-expr-0.10.3
47 + cfg-if-1.0.0
48 + clap-2.34.0
49 + clap-3.2.20
50 + clap_derive-3.2.18
51 + clap_lex-0.2.4
52 + codemap-0.1.3
53 + codespan-reporting-0.11.1
54 + console-0.15.1
55 + convert_case-0.4.0
56 + core-foundation-sys-0.8.3
57 + crossbeam-channel-0.5.6
58 + crossbeam-deque-0.8.2
59 + crossbeam-epoch-0.9.10
60 + crossbeam-utils-0.8.11
61 + crunchy-0.2.2
62 + ctor-0.1.23
63 + derive_more-0.99.17
64 + diff-0.1.13
65 + dirs-next-2.0.0
66 + dirs-sys-next-0.1.2
67 + either-1.8.0
68 + ena-0.14.0
69 + encode_unicode-0.3.6
70 + env_logger-0.7.1
71 + extend-1.1.2
72 + field-offset-0.3.4
73 + filetime-0.2.17
74 + fixedbitset-0.4.2
75 + fsevent-sys-4.1.0
76 + futures-channel-0.3.24
77 + futures-core-0.3.24
78 + futures-executor-0.3.24
79 + futures-io-0.3.24
80 + futures-macro-0.3.24
81 + futures-sink-0.3.24
82 + futures-task-0.3.24
83 + futures-util-0.3.24
84 + gdk-0.15.4
85 + gdk-pixbuf-0.15.11
86 + gdk-pixbuf-sys-0.15.10
87 + gdk-sys-0.15.1
88 + gdkx11-0.15.5
89 + gdkx11-sys-0.15.1
90 + gethostname-0.2.3
91 + getrandom-0.2.7
92 + gio-0.15.12
93 + gio-sys-0.15.10
94 + glib-0.15.12
95 + glib-macros-0.15.11
96 + glib-sys-0.15.10
97 + gobject-sys-0.15.10
98 + grass-0.11.2
99 + gtk-0.15.5
100 + gtk-layer-shell-0.4.1
101 + gtk-layer-shell-sys-0.4.1
102 + gtk-sys-0.15.3
103 + gtk3-macros-0.15.4
104 + hashbrown-0.11.2
105 + hashbrown-0.12.3
106 + heck-0.4.0
107 + hermit-abi-0.1.19
108 + humantime-1.3.0
109 + indexmap-1.9.1
110 + inotify-0.9.6
111 + inotify-sys-0.1.5
112 + insta-1.19.1
113 + itertools-0.10.3
114 + itoa-1.0.3
115 + kqueue-1.0.6
116 + kqueue-sys-1.0.3
117 + lalrpop-0.19.8
118 + lalrpop-util-0.19.8
119 + lasso-0.5.1
120 + lazy_static-1.4.0
121 + levenshtein-1.0.5
122 + libc-0.2.132
123 + linked-hash-map-0.5.6
124 + lock_api-0.4.8
125 + log-0.4.17
126 + maplit-1.0.2
127 + memchr-2.5.0
128 + memoffset-0.6.5
129 + mio-0.8.4
130 + new_debug_unreachable-1.0.4
131 + nix-0.24.2
132 + nix-0.25.0
133 + notify-5.0.0
134 + ntapi-0.3.7
135 + num-bigint-0.4.3
136 + num-integer-0.1.45
137 + num-rational-0.4.1
138 + num-traits-0.2.15
139 + num_cpus-1.13.1
140 + once_cell-1.14.0
141 + os_str_bytes-6.3.0
142 + output_vt100-0.1.3
143 + pango-0.15.10
144 + pango-sys-0.15.10
145 + parking_lot-0.12.1
146 + parking_lot_core-0.9.3
147 + pest-2.3.0
148 + petgraph-0.6.2
149 + phf-0.9.0
150 + phf_generator-0.9.1
151 + phf_macros-0.9.0
152 + phf_shared-0.9.0
153 + phf_shared-0.10.0
154 + pico-args-0.4.2
155 + pin-project-lite-0.2.9
156 + pin-utils-0.1.0
157 + pkg-config-0.3.25
158 + ppv-lite86-0.2.16
159 + precomputed-hash-0.1.1
160 + pretty_assertions-1.3.0
161 + pretty_env_logger-0.4.0
162 + proc-macro-crate-1.2.1
163 + proc-macro-error-1.0.4
164 + proc-macro-error-attr-1.0.4
165 + proc-macro-hack-0.5.19
166 + proc-macro2-1.0.43
167 + quick-error-1.2.3
168 + quote-1.0.21
169 + rand-0.8.5
170 + rand_chacha-0.3.1
171 + rand_core-0.6.3
172 + rayon-1.5.3
173 + rayon-core-1.9.3
174 + redox_syscall-0.2.16
175 + redox_users-0.4.3
176 + ref-cast-1.0.9
177 + ref-cast-impl-1.0.9
178 + regex-1.6.0
179 + regex-syntax-0.6.27
180 + ron-0.7.1
181 + rustc_version-0.3.3
182 + rustc_version-0.4.0
183 + rustversion-1.0.9
184 + ryu-1.0.11
185 + same-file-1.0.6
186 + scopeguard-1.1.0
187 + semver-0.11.0
188 + semver-1.0.13
189 + semver-parser-0.10.2
190 + serde-1.0.144
191 + serde_derive-1.0.144
192 + serde_json-1.0.85
193 + signal-hook-registry-1.4.0
194 + similar-2.2.0
195 + simple-signal-1.1.1
196 + siphasher-0.3.10
197 + slab-0.4.7
198 + smallvec-1.9.0
199 + smart-default-0.6.0
200 + socket2-0.4.7
201 + static_assertions-1.1.0
202 + string_cache-0.8.4
203 + strsim-0.8.0
204 + strsim-0.10.0
205 + strum-0.24.1
206 + strum_macros-0.24.3
207 + syn-1.0.99
208 + sysinfo-0.26.2
209 + system-deps-6.0.2
210 + term-0.7.0
211 + termcolor-1.1.3
212 + terminal_size-0.1.17
213 + textwrap-0.11.0
214 + textwrap-0.15.0
215 + thiserror-1.0.33
216 + thiserror-impl-1.0.33
217 + tiny-keccak-2.0.2
218 + tokio-1.21.0
219 + tokio-macros-1.8.0
220 + tokio-util-0.7.3
221 + toml-0.5.9
222 + ucd-trie-0.1.5
223 + unescape-0.1.0
224 + unicode-ident-1.0.3
225 + unicode-width-0.1.9
226 + unicode-xid-0.2.3
227 + vec_map-0.8.2
228 + version-compare-0.1.0
229 + version_check-0.9.4
230 + wait-timeout-0.2.0
231 + walkdir-2.3.2
232 + wasi-0.11.0+wasi-snapshot-preview1
233 + winapi-0.3.9
234 + winapi-i686-pc-windows-gnu-0.4.0
235 + winapi-util-0.1.5
236 + winapi-wsapoll-0.1.1
237 + winapi-x86_64-pc-windows-gnu-0.4.0
238 + windows-sys-0.36.1
239 + windows_aarch64_msvc-0.36.1
240 + windows_i686_gnu-0.36.1
241 + windows_i686_msvc-0.36.1
242 + windows_x86_64_gnu-0.36.1
243 + windows_x86_64_msvc-0.36.1
244 + x11-2.20.0
245 + x11rb-0.10.1
246 + x11rb-protocol-0.10.0
247 + yaml-rust-0.4.5
248 + yansi-0.5.1
249 +"
250 +inherit cargo
251 +
252 +DESCRIPTION="Elkowars Wacky Widgets is a standalone widget system made in Rust"
253 +HOMEPAGE="https://github.com/elkowar/eww"
254 +SRC_URI="
255 + https://github.com/elkowar/eww/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
256 + $(cargo_crate_uris)
257 +"
258 +
259 +LICENSE="
260 + Apache-2.0
261 + || ( Apache-2.0 MIT )
262 + || ( Apache-2.0 BSL-1.1 )
263 + || ( Artistic-2 CC0-1.0 )
264 + BSD
265 + CC0-1.0
266 + ISC
267 + MIT
268 + || ( MIT Unlicense )
269 +"
270 +SLOT="0"
271 +KEYWORDS="~amd64"
272 +IUSE="wayland"
273 +
274 +DEPEND="
275 + x11-libs/gtk+:3
276 + x11-libs/pango
277 + x11-libs/gdk-pixbuf
278 + x11-libs/cairo
279 + >=dev-libs/glib-2.0
280 + sys-devel/gcc
281 + wayland? (
282 + gui-libs/gtk-layer-shell
283 + )
284 +"
285 +BDEPEND="
286 + $DEPEND
287 + dev-lang/rust[nightly]
288 +"
289 +RDEPEND="
290 + $DEPEND
291 +"
292 +
293 +src_compile() {
294 + use wayland && features="--no-default-features --features=wayland"
295 + cargo_src_compile ${features}
296 +}
297 +
298 +src_install() {
299 + dodoc README.md CHANGELOG.md
300 + cd target/release || die
301 + dobin eww
302 + elog "Eww wont run without a config file (usually in ~/.config/eww)."
303 + elog "For example configs visit https://github.com/elkowar/eww#examples"
304 +}
305
306 diff --git a/gui-apps/eww/metadata.xml b/gui-apps/eww/metadata.xml
307 index ca6eacb9a..ea9d1cfc6 100644
308 --- a/gui-apps/eww/metadata.xml
309 +++ b/gui-apps/eww/metadata.xml
310 @@ -12,5 +12,6 @@
311 <upstream>
312 <doc>https://elkowar.github.io/eww</doc>
313 <bugs-to>https://github.com/elkowar/eww/issues</bugs-to>
314 + <remote-id type="github">elkowar/eww</remote-id>
315 </upstream>
316 -</pkgmetadata>
317 \ No newline at end of file
318 +</pkgmetadata>