Gentoo Archives: gentoo-commits

From: Luciano Degni <degni.public@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/zellij/
Date: Fri, 25 Feb 2022 09:46:29
Message-Id: 1645781335.f659d6628d0b6f76b497055e4f6946d748a733a7.degni.public@gentoo
1 commit: f659d6628d0b6f76b497055e4f6946d748a733a7
2 Author: Luciano Degni <degni.public <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 25 09:28:39 2022 +0000
4 Commit: Luciano Degni <degni.public <AT> gmail <DOT> com>
5 CommitDate: Fri Feb 25 09:28:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f659d662
7
8 app-misc/zellij: add 0.25.0
9
10 Signed-off-by: Luciano Degni <degni.public <AT> gmail.com>
11
12 app-misc/zellij/metadata.xml | 13 ++
13 app-misc/zellij/zellij-0.25.0.ebuild | 397 +++++++++++++++++++++++++++++++++++
14 2 files changed, 410 insertions(+)
15
16 diff --git a/app-misc/zellij/metadata.xml b/app-misc/zellij/metadata.xml
17 new file mode 100644
18 index 000000000..a013763c1
19 --- /dev/null
20 +++ b/app-misc/zellij/metadata.xml
21 @@ -0,0 +1,13 @@
22 +<?xml version="1.0" encoding="UTF-8"?>
23 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
24 +<pkgmetadata>
25 + <maintainer type="person">
26 + <email>degni.public@×××××.com</email>
27 + <name>Luciano Degni</name>
28 + </maintainer>
29 + <upstream>
30 + <doc>https://github.com/zellij-org/zellij</doc>
31 + <bugs-to>https://github.com/zellij-org/zellij/issues</bugs-to>
32 + </upstream>
33 +</pkgmetadata>
34 +
35
36 diff --git a/app-misc/zellij/zellij-0.25.0.ebuild b/app-misc/zellij/zellij-0.25.0.ebuild
37 new file mode 100644
38 index 000000000..ffbcf894a
39 --- /dev/null
40 +++ b/app-misc/zellij/zellij-0.25.0.ebuild
41 @@ -0,0 +1,397 @@
42 +# Copyright 2022 Gentoo Authors
43 +# Distributed under the terms of the GNU General Public License v2
44 +
45 +EAPI=8
46 +
47 +CRATES="
48 + addr2line-0.15.2
49 + adler-1.0.2
50 + aho-corasick-0.7.15
51 + ansi_term-0.12.1
52 + anyhow-1.0.45
53 + arc-swap-0.4.8
54 + arrayvec-0.5.2
55 + async-channel-1.6.1
56 + async-executor-1.4.1
57 + async-global-executor-2.0.2
58 + async-io-1.6.0
59 + async-lock-2.4.0
60 + async-mutex-1.4.0
61 + async-process-1.2.0
62 + async-std-1.10.0
63 + async-task-4.0.3
64 + async-trait-0.1.51
65 + atomic-waker-1.0.0
66 + atty-0.2.14
67 + autocfg-1.1.0
68 + backtrace-0.3.59
69 + base64-0.13.0
70 + bincode-1.3.3
71 + bitflags-1.3.2
72 + blocking-1.0.2
73 + boxfnonce-0.1.1
74 + bumpalo-3.8.0
75 + byteorder-1.4.3
76 + cache-padded-1.1.1
77 + cassowary-0.3.0
78 + cc-1.0.71
79 + cfg-if-0.1.10
80 + cfg-if-1.0.0
81 + chrono-0.4.19
82 + clap-3.0.10
83 + clap_complete-3.0.4
84 + clap_derive-3.0.6
85 + close_fds-0.3.2
86 + colored-2.0.0
87 + colorsys-0.6.5
88 + concurrent-queue-1.2.2
89 + console-0.14.1
90 + console-0.15.0
91 + core-foundation-sys-0.8.3
92 + cranelift-bforest-0.68.0
93 + cranelift-codegen-0.68.0
94 + cranelift-codegen-meta-0.68.0
95 + cranelift-codegen-shared-0.68.0
96 + cranelift-entity-0.68.0
97 + cranelift-frontend-0.68.0
98 + crc32fast-1.2.1
99 + crossbeam-0.8.1
100 + crossbeam-channel-0.5.1
101 + crossbeam-deque-0.8.1
102 + crossbeam-epoch-0.9.5
103 + crossbeam-queue-0.3.2
104 + crossbeam-utils-0.8.5
105 + ctor-0.1.21
106 + daemonize-0.4.1
107 + darling-0.13.0
108 + darling_core-0.13.0
109 + darling_macro-0.13.0
110 + derivative-2.2.0
111 + dialoguer-0.9.0
112 + directories-next-2.0.0
113 + dirs-2.0.2
114 + dirs-sys-0.3.6
115 + dirs-sys-next-0.1.2
116 + dtoa-0.4.8
117 + either-1.6.1
118 + encode_unicode-0.3.6
119 + enumset-1.0.8
120 + enumset_derive-0.5.5
121 + erased-serde-0.3.16
122 + event-listener-2.5.1
123 + fallible-iterator-0.2.0
124 + fastrand-1.5.0
125 + fnv-1.0.7
126 + form_urlencoded-1.0.1
127 + fuchsia-cprng-0.1.1
128 + futures-0.3.17
129 + futures-channel-0.3.17
130 + futures-core-0.3.17
131 + futures-executor-0.3.17
132 + futures-io-0.3.17
133 + futures-lite-1.12.0
134 + futures-macro-0.3.17
135 + futures-sink-0.3.17
136 + futures-task-0.3.17
137 + futures-util-0.3.17
138 + generational-arena-0.2.8
139 + getopts-0.2.21
140 + getrandom-0.1.16
141 + getrandom-0.2.3
142 + ghost-0.1.2
143 + gimli-0.22.0
144 + gimli-0.24.0
145 + gloo-timers-0.2.1
146 + hashbrown-0.11.2
147 + heck-0.3.3
148 + heck-0.4.0
149 + hermit-abi-0.1.19
150 + highway-0.6.4
151 + humantime-2.1.0
152 + ident_case-1.0.1
153 + idna-0.2.3
154 + indexmap-1.7.0
155 + insta-1.8.0
156 + instant-0.1.12
157 + interprocess-1.1.1
158 + intmap-0.7.0
159 + inventory-0.1.10
160 + inventory-impl-0.1.10
161 + itoa-0.4.8
162 + js-sys-0.3.55
163 + kv-log-macro-1.0.7
164 + lazy_static-1.4.0
165 + leb128-0.2.5
166 + lev_distance-0.1.0
167 + libc-0.2.112
168 + libloading-0.6.7
169 + libssh2-sys-0.2.23
170 + libz-sys-1.1.3
171 + linked-hash-map-0.5.4
172 + lock_api-0.4.5
173 + log-0.4.14
174 + log-mdc-0.1.0
175 + log4rs-1.0.0
176 + mach-0.3.2
177 + matches-0.1.9
178 + memchr-2.4.1
179 + memmap2-0.2.3
180 + memoffset-0.6.4
181 + miniz_oxide-0.4.4
182 + mio-0.7.14
183 + miow-0.3.7
184 + more-asserts-0.2.1
185 + names-0.11.0
186 + nix-0.19.1
187 + nom-5.1.2
188 + ntapi-0.3.6
189 + num-integer-0.1.44
190 + num-traits-0.2.14
191 + num_cpus-1.13.0
192 + numtoa-0.1.0
193 + object-0.22.0
194 + object-0.24.0
195 + once_cell-1.8.0
196 + openssl-sys-0.9.70
197 + ordered-float-2.8.0
198 + os_str_bytes-6.0.0
199 + parking-2.0.0
200 + parking_lot-0.11.2
201 + parking_lot_core-0.8.5
202 + percent-encoding-2.1.0
203 + phf-0.8.0
204 + phf_codegen-0.8.0
205 + phf_generator-0.8.0
206 + phf_shared-0.8.0
207 + pin-project-lite-0.2.7
208 + pin-utils-0.1.0
209 + pkg-config-0.3.22
210 + polling-2.1.0
211 + ppv-lite86-0.2.15
212 + pretty-bytes-0.2.2
213 + proc-macro-error-1.0.4
214 + proc-macro-error-attr-1.0.4
215 + proc-macro-hack-0.5.19
216 + proc-macro-nested-0.1.7
217 + proc-macro2-1.0.32
218 + quote-1.0.10
219 + rand-0.3.23
220 + rand-0.4.6
221 + rand-0.7.3
222 + rand-0.8.4
223 + rand_chacha-0.2.2
224 + rand_chacha-0.3.1
225 + rand_core-0.3.1
226 + rand_core-0.4.2
227 + rand_core-0.5.1
228 + rand_core-0.6.3
229 + rand_hc-0.2.0
230 + rand_hc-0.3.1
231 + rand_pcg-0.2.1
232 + rayon-1.5.1
233 + rayon-core-1.9.1
234 + rdrand-0.4.0
235 + redox_syscall-0.1.57
236 + redox_syscall-0.2.10
237 + redox_termios-0.1.2
238 + redox_users-0.4.0
239 + regalloc-0.0.31
240 + regex-1.4.6
241 + regex-syntax-0.6.25
242 + region-2.2.0
243 + remove_dir_all-0.5.3
244 + rustc-demangle-0.1.21
245 + rustc-hash-1.1.0
246 + ryu-1.0.5
247 + scopeguard-1.1.0
248 + serde-1.0.130
249 + serde-value-0.7.0
250 + serde_bytes-0.11.5
251 + serde_derive-1.0.130
252 + serde_json-1.0.69
253 + serde_yaml-0.8.21
254 + signal-hook-0.3.10
255 + signal-hook-registry-1.4.0
256 + similar-1.3.0
257 + siphasher-0.3.7
258 + slab-0.4.5
259 + smallvec-1.7.0
260 + socket2-0.4.2
261 + spinning-0.1.0
262 + ssh2-0.9.3
263 + stable_deref_trait-1.2.0
264 + strip-ansi-escapes-0.1.1
265 + strsim-0.10.0
266 + strum-0.20.0
267 + strum_macros-0.20.1
268 + suggestion-0.1.0
269 + syn-1.0.81
270 + sysinfo-0.22.5
271 + target-lexicon-0.11.2
272 + tempfile-3.2.0
273 + termcolor-1.1.2
274 + terminal_size-0.1.17
275 + terminfo-0.7.3
276 + termion-1.5.6
277 + textwrap-0.14.2
278 + thiserror-1.0.30
279 + thiserror-impl-1.0.30
280 + thread-id-3.3.0
281 + time-0.1.44
282 + tinyvec-1.5.0
283 + tinyvec_macros-0.1.0
284 + tracing-0.1.29
285 + tracing-attributes-0.1.18
286 + tracing-core-0.1.21
287 + traitobject-0.1.0
288 + typemap-0.3.3
289 + typetag-0.1.7
290 + typetag-impl-0.1.7
291 + unicode-bidi-0.3.7
292 + unicode-normalization-0.1.19
293 + unicode-segmentation-1.8.0
294 + unicode-width-0.1.9
295 + unicode-xid-0.2.2
296 + unsafe-any-0.4.2
297 + url-2.2.2
298 + utf8parse-0.2.0
299 + uuid-0.8.2
300 + value-bag-1.0.0-alpha.8
301 + vcpkg-0.2.15
302 + version_check-0.9.3
303 + vte-0.10.1
304 + vte_generate_state_changes-0.1.1
305 + waker-fn-1.1.0
306 + wasi-0.9.0+wasi-snapshot-preview1
307 + wasi-0.10.0+wasi-snapshot-preview1
308 + wasm-bindgen-0.2.78
309 + wasm-bindgen-backend-0.2.78
310 + wasm-bindgen-futures-0.4.28
311 + wasm-bindgen-macro-0.2.78
312 + wasm-bindgen-macro-support-0.2.78
313 + wasm-bindgen-shared-0.2.78
314 + wasmer-1.0.2
315 + wasmer-compiler-1.0.2
316 + wasmer-compiler-cranelift-1.0.2
317 + wasmer-derive-1.0.2
318 + wasmer-engine-1.0.2
319 + wasmer-engine-jit-1.0.2
320 + wasmer-engine-native-1.0.2
321 + wasmer-object-1.0.2
322 + wasmer-types-1.0.2
323 + wasmer-vm-1.0.2
324 + wasmer-wasi-1.0.2
325 + wasmparser-0.65.0
326 + wast-38.0.1
327 + wat-1.0.40
328 + web-sys-0.3.55
329 + wepoll-ffi-0.1.2
330 + which-4.2.2
331 + winapi-0.3.9
332 + winapi-i686-pc-windows-gnu-0.4.0
333 + winapi-util-0.1.5
334 + winapi-x86_64-pc-windows-gnu-0.4.0
335 + yaml-rust-0.4.5
336 + zeroize-1.4.3
337 +"
338 +
339 +inherit cargo xdg-utils desktop optfeature
340 +
341 +DESCRIPTION="A terminal workspace with batteries included"
342 +HOMEPAGE="https://github.com/zellij-org/zellij"
343 +SRC_URI="
344 + https://github.com/zellij-org/zellij/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
345 + $(cargo_crate_uris)
346 +"
347 +LICENSE="
348 + || ( Apache-2.0 MIT )
349 + || ( Apache-2.0 MIT )
350 + || ( Apache-2.0 MIT MPL-2.0 )
351 + || ( MIT )
352 + || ( MIT Unlicense )
353 + || ( BSD )
354 + || ( BSD-2 )
355 + ||
356 + Apache-2.0
357 + MIT
358 + Unlicense
359 + MPL-2.0
360 + BSD
361 + BSD-2
362 +"
363 +SLOT="0"
364 +KEYWORDS="~amd64"
365 +IUSE="bash-completion fish-completion zsh-completion doc examples"
366 +REQUIRED_USE="|| ( bash-completion fish-completion zsh-completion )"
367 +
368 +DEPEND="
369 + bash? (
370 + app-shells/bash
371 + )
372 + fish? (
373 + app-shells/fish
374 + )
375 + zsh? (
376 + app-shells/zsh
377 + )
378 + dev-lang/rust
379 +
380 +BDEPEND="
381 + $DEPEND
382 +"
383 +RDEPEND="
384 + $DEPEND
385 + !x11-wm/$PN-bin
386 +"
387 +
388 +QA_FLAGS_IGNORED="usr/bin/.*"
389 +
390 +src_compile() {
391 + cargo_src_compile
392 +}
393 +
394 +src_install() {
395 + dobin target/release/"$PN"
396 +
397 + if use examples; then
398 + insinto "/usr/share/zellij/layouts/"
399 + doins -r assets/example/layouts/*
400 + fi
401 +
402 +
403 + insinto "/usr/share/zellij/plugins/"
404 + doins-r assets/plugins/*
405 +
406 +
407 + if use bash-completion; then
408 + insinto "usr/share/bash-completion/completions/"
409 + doins assets/completions/zellij.bash
410 + fi
411 +
412 + if use fish-completion; then
413 + insinto usr/share/fish/vendor_completions.d/
414 + doins assets/completions/zellij.fish
415 + fi
416 +
417 + if use zsh-completion; then
418 + insinto usr/share/zsh/vendor-completions/
419 + use zsh && doins assets/completions/_zellij
420 + fi
421 +
422 +
423 + #insinto /usr/share/xsessions/
424 + #doins assets/zellij.desktop
425 +
426 + use doc && dodoc README.md GOVERNANCE.md
427 +}
428 +
429 +pkg_postinst() {
430 + elog "Read the documentation for $PN at <https://zellij.dev/documentation>"
431 + elog "for usage, customization and other instructions"
432 + optfeature "Emerge nerdfonts for best experience"
433 + xdg_desktop_database_update
434 +}
435 +
436 +pkg_postrm() {
437 + xdg_desktop_database_update
438 +}