dev-util/mongodb-compass-bin: bump version to 1.43.5, drop old version
[gentoo-zh.git] / media-sound / termusic / termusic-0.9.0.ebuild
blobe7c84d2544a3edb3725183b5b00e87599e29d5df
1 # Copyright 2022-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 # Autogenerated by pycargoebuild 0.13.2
6 EAPI=8
8 CRATES="
9 ab_glyph@0.2.23
10 ab_glyph_rasterizer@0.1.8
11 addr2line@0.21.0
12 adler@1.0.2
13 ahash@0.8.11
14 aho-corasick@1.1.2
15 allocator-api2@0.2.16
16 alsa-sys@0.3.1
17 alsa@0.9.0
18 android-activity@0.5.2
19 android-properties@0.2.2
20 android-tzdata@0.1.1
21 android_system_properties@0.1.5
22 ansi_colours@1.2.2
23 anstream@0.6.13
24 anstyle-parse@0.2.3
25 anstyle-query@1.0.2
26 anstyle-wincon@3.0.2
27 anstyle@1.0.6
28 anyhow@1.0.81
29 arrayref@0.3.7
30 arrayvec@0.7.4
31 as-raw-xcb-connection@1.0.1
32 async-channel@2.2.0
33 async-compression@0.4.6
34 async-stream-impl@0.3.5
35 async-stream@0.3.5
36 async-trait@0.1.78
37 atom_syndication@0.12.2
38 atomic-waker@1.1.2
39 atomic@0.6.0
40 autocfg@1.1.0
41 axum-core@0.3.4
42 axum@0.6.20
43 backtrace@0.3.69
44 base64@0.21.7
45 base64@0.22.0
46 bindgen@0.69.4
47 bit_field@0.10.2
48 bitflags@1.3.2
49 bitflags@2.4.2
50 block-sys@0.2.1
51 block2@0.3.0
52 block@0.1.6
53 bumpalo@3.15.4
54 bytemuck@1.15.0
55 byteorder@1.5.0
56 bytes@1.5.0
57 calloop-wayland-source@0.2.0
58 calloop@0.12.4
59 camino@1.1.6
60 cassowary@0.3.0
61 cc@1.0.90
62 cesu8@1.1.0
63 cexpr@0.6.0
64 cfg-expr@0.15.7
65 cfg-if@1.0.0
66 cfg_aliases@0.1.1
67 chrono@0.4.35
68 clang-sys@1.7.0
69 clap@4.5.3
70 clap_builder@4.5.2
71 clap_derive@4.5.3
72 clap_lex@0.7.0
73 cocoa-foundation@0.1.2
74 cocoa@0.24.1
75 color_quant@1.1.0
76 colorchoice@1.0.0
77 colored@2.1.0
78 combine@4.6.6
79 concurrent-queue@2.4.0
80 console@0.15.8
81 cookie@0.17.0
82 cookie_store@0.20.0
83 core-foundation-sys@0.8.6
84 core-foundation@0.9.4
85 core-graphics-types@0.1.3
86 core-graphics@0.22.3
87 core-graphics@0.23.1
88 coreaudio-rs@0.11.3
89 coreaudio-sys@0.2.15
90 cpal@0.15.3
91 crc32fast@1.4.0
92 crossbeam-deque@0.8.5
93 crossbeam-epoch@0.9.18
94 crossbeam-utils@0.8.19
95 crossterm@0.25.0
96 crossterm@0.27.0
97 crossterm_winapi@0.9.1
98 crunchy@0.2.2
99 ctrlc@3.4.4
100 cursor-icon@1.1.0
101 darling@0.14.4
102 darling_core@0.14.4
103 darling_macro@0.14.4
104 dasp_sample@0.11.0
105 data-encoding@2.5.0
106 dbus-crossroads@0.5.2
107 dbus@0.9.7
108 deranged@0.3.11
109 derive_builder@0.12.0
110 derive_builder_core@0.12.0
111 derive_builder_macro@0.12.0
112 diff@0.1.13
113 diligent-date-parser@0.1.4
114 dirs-sys@0.4.1
115 dirs@5.0.1
116 discord-rich-presence@0.2.3
117 dispatch@0.2.0
118 dlib@0.5.2
119 downcast-rs@1.2.0
120 either@1.10.0
121 encode_unicode@0.3.6
122 encoding_rs@0.8.33
123 entities@1.0.1
124 equivalent@1.0.1
125 errno@0.3.8
126 escaper@0.1.1
127 event-listener-strategy@0.5.0
128 event-listener@5.2.0
129 exr@1.72.0
130 extended@0.1.0
131 fallible-iterator@0.3.0
132 fallible-streaming-iterator@0.1.9
133 fastrand@2.0.1
134 fdeflate@0.3.4
135 figment@0.10.15
136 fixedbitset@0.4.2
137 flate2@1.0.28
138 flexi_logger@0.28.0
139 flume@0.11.0
140 fnv@1.0.7
141 foreign-types-macros@0.2.3
142 foreign-types-shared@0.1.1
143 foreign-types-shared@0.3.1
144 foreign-types@0.3.2
145 foreign-types@0.5.0
146 form_urlencoded@1.2.1
147 futures-channel@0.3.30
148 futures-core@0.3.30
149 futures-executor@0.3.30
150 futures-io@0.3.30
151 futures-macro@0.3.30
152 futures-sink@0.3.30
153 futures-task@0.3.30
154 futures-util@0.3.30
155 futures@0.3.30
156 gethostname@0.4.3
157 getrandom@0.2.12
158 gif@0.13.1
159 gimli@0.28.1
160 gio-sys@0.19.0
161 glib-macros@0.19.2
162 glib-sys@0.19.0
163 glib@0.19.2
164 glob@0.3.1
165 gobject-sys@0.19.0
166 gstreamer-sys@0.22.2
167 gstreamer@0.22.2
168 h2@0.3.25
169 half@2.4.0
170 hard-xml-derive@1.36.0
171 hard-xml@1.36.0
172 hashbrown@0.12.3
173 hashbrown@0.14.3
174 hashlink@0.9.0
175 heck@0.4.1
176 heck@0.5.0
177 hermit-abi@0.3.9
178 hex@0.4.3
179 home@0.5.9
180 http-body@0.4.6
181 http@0.2.12
182 httparse@1.8.0
183 httpdate@1.0.3
184 hyper-rustls@0.24.2
185 hyper-timeout@0.4.1
186 hyper-tls@0.5.0
187 hyper@0.14.28
188 iana-time-zone-haiku@0.1.2
189 iana-time-zone@0.1.60
190 icrate@0.0.4
191 id3@1.13.1
192 ident_case@1.0.1
193 idna@0.3.0
194 idna@0.5.0
195 image@0.24.9
196 include_dir@0.7.3
197 include_dir_macros@0.7.3
198 indexmap@1.9.3
199 indexmap@2.2.5
200 ipnet@2.9.0
201 is-terminal@0.4.12
202 itertools@0.11.0
203 itertools@0.12.1
204 itoa@1.0.10
205 jetscii@0.5.3
206 jni-sys@0.3.0
207 jni@0.21.1
208 jobserver@0.1.28
209 jpeg-decoder@0.3.1
210 js-sys@0.3.69
211 lazy-regex-proc_macros@2.4.1
212 lazy-regex@2.5.0
213 lazy_static@1.4.0
214 lazycell@1.3.0
215 lebe@0.5.2
216 libaes@0.7.0
217 libc@0.2.153
218 libdbus-sys@0.2.5
219 libloading@0.8.3
220 libmpv-sirno@2.0.2-fork.1
221 libmpv-sys-sirno@2.0.0-fork.1
222 libredox@0.0.1
223 libredox@0.0.2
224 libsqlite3-sys@0.28.0
225 linked-hash-map@0.5.6
226 linux-raw-sys@0.4.13
227 lock_api@0.4.11
228 lofty@0.18.2
229 lofty_attr@0.9.0
230 log@0.4.21
231 mach2@0.4.2
232 malloc_buf@0.0.6
233 matchit@0.7.3
234 md5@0.7.0
235 mediatype@0.19.18
236 memchr@2.7.1
237 memmap2@0.9.4
238 mime@0.3.17
239 minimal-lexical@0.2.1
240 miniz_oxide@0.7.2
241 mio@0.8.11
242 muldiv@1.0.1
243 multimap@0.8.3
244 native-tls@0.2.11
245 ndk-context@0.1.1
246 ndk-sys@0.5.0+25.2.9519653
247 ndk@0.8.0
248 never@0.1.0
249 nix@0.28.0
250 nom@7.1.3
251 ntapi@0.4.1
252 nu-ansi-term@0.49.0
253 num-bigint@0.4.4
254 num-conv@0.1.0
255 num-derive@0.4.2
256 num-integer@0.1.46
257 num-rational@0.4.1
258 num-traits@0.2.18
259 num_cpus@1.16.0
260 num_enum@0.7.2
261 num_enum_derive@0.7.2
262 objc-sys@0.3.2
263 objc2-encode@3.0.0
264 objc2@0.4.1
265 objc@0.2.7
266 object@0.32.2
267 oboe-sys@0.6.1
268 oboe@0.6.1
269 ogg_pager@0.6.0
270 once_cell@1.19.0
271 openssl-macros@0.1.1
272 openssl-probe@0.1.5
273 openssl-sys@0.9.101
274 openssl@0.10.64
275 opml@1.1.6
276 option-ext@0.2.0
277 option-operations@0.5.0
278 orange-trees@0.1.0
279 orbclient@0.3.47
280 owned_ttf_parser@0.20.0
281 parking@2.2.0
282 parking_lot@0.12.1
283 parking_lot_core@0.9.9
284 paste@1.0.14
285 pathdiff@0.2.1
286 percent-encoding@2.3.1
287 petgraph@0.6.4
288 pin-project-internal@1.1.5
289 pin-project-lite@0.2.13
290 pin-project@1.1.5
291 pin-utils@0.1.0
292 pinyin@0.10.0
293 pkg-config@0.3.30
294 png@0.17.13
295 polling@3.5.0
296 powerfmt@0.2.0
297 ppv-lite86@0.2.17
298 pretty_assertions@1.4.0
299 prettyplease@0.2.16
300 proc-macro-crate@3.1.0
301 proc-macro2@1.0.79
302 prost-build@0.12.3
303 prost-derive@0.12.3
304 prost-types@0.12.3
305 prost@0.12.3
306 psl-types@2.0.11
307 publicsuffix@2.2.3
308 qoi@0.4.1
309 quick-xml@0.30.0
310 quick-xml@0.31.0
311 quote@1.0.35
312 rand@0.8.5
313 rand_chacha@0.3.1
314 rand_core@0.6.4
315 rangemap@1.5.1
316 raw-window-handle@0.6.0
317 rayon-core@1.12.1
318 rayon@1.9.0
319 redox_syscall@0.3.5
320 redox_syscall@0.4.1
321 redox_users@0.4.4
322 regex-automata@0.4.6
323 regex-syntax@0.8.2
324 regex@1.10.3
325 reqwest@0.11.26
326 rfc822_sanitizer@0.3.6
327 rgb@0.8.37
328 ring@0.17.8
329 rss@2.0.7
330 rusqlite@0.31.0
331 rustc-demangle@0.1.23
332 rustc-hash@1.1.0
333 rustix@0.38.31
334 rustls-pemfile@1.0.4
335 rustls-webpki@0.101.7
336 rustls@0.21.10
337 rustversion@1.0.14
338 ryu@1.0.17
339 same-file@1.0.6
340 sanitize-filename@0.5.0
341 schannel@0.1.23
342 scoped-tls@1.0.1
343 scopeguard@1.2.0
344 sct@0.7.1
345 sctk-adwaita@0.8.1
346 security-framework-sys@2.9.1
347 security-framework@2.9.2
348 semver@1.0.22
349 serde@1.0.197
350 serde_derive@1.0.197
351 serde_json@1.0.114
352 serde_spanned@0.6.5
353 serde_urlencoded@0.7.1
354 shellexpand@3.1.0
355 shlex@1.3.0
356 signal-hook-mio@0.2.3
357 signal-hook-registry@1.4.1
358 signal-hook@0.3.17
359 simd-adler32@0.3.7
360 slab@0.4.9
361 smallvec@1.13.1
362 smawk@0.3.2
363 smithay-client-toolkit@0.18.1
364 smol_str@0.2.1
365 socket2@0.5.6
366 souvlaki@0.7.3
367 spin@0.9.8
368 stream-download@0.5.0
369 strict-num@0.1.1
370 strsim@0.10.0
371 strsim@0.11.0
372 symphonia-bundle-flac@0.5.4
373 symphonia-bundle-mp3@0.5.4
374 symphonia-codec-aac@0.5.4
375 symphonia-codec-adpcm@0.5.4
376 symphonia-codec-alac@0.5.4
377 symphonia-codec-pcm@0.5.4
378 symphonia-codec-vorbis@0.5.4
379 symphonia-core@0.5.4
380 symphonia-format-isomp4@0.5.4
381 symphonia-format-mkv@0.5.4
382 symphonia-format-ogg@0.5.4
383 symphonia-format-riff@0.5.4
384 symphonia-metadata@0.5.4
385 symphonia-utils-xiph@0.5.4
386 symphonia@0.5.4
387 syn@1.0.109
388 syn@2.0.53
389 sync_wrapper@0.1.2
390 sysinfo@0.30.7
391 system-configuration-sys@0.5.0
392 system-configuration@0.5.1
393 system-deps@6.2.1
394 tap@1.0.1
395 target-lexicon@0.12.14
396 tempfile@3.10.1
397 termcolor@1.4.1
398 textwrap@0.15.2
399 textwrap@0.16.1
400 thiserror-impl@1.0.58
401 thiserror@1.0.58
402 tiff@0.9.1
403 time-core@0.1.2
404 time-macros@0.2.17
405 time@0.3.34
406 tiny-skia-path@0.11.4
407 tiny-skia@0.11.4
408 tinyvec@1.6.0
409 tinyvec_macros@0.1.1
410 tokio-io-timeout@1.2.0
411 tokio-macros@2.2.0
412 tokio-native-tls@0.3.1
413 tokio-rustls@0.24.1
414 tokio-stream@0.1.15
415 tokio-util@0.7.10
416 tokio@1.36.0
417 toml@0.8.11
418 toml_datetime@0.6.5
419 toml_edit@0.21.1
420 toml_edit@0.22.7
421 tonic-build@0.11.0
422 tonic@0.11.0
423 tower-layer@0.3.2
424 tower-service@0.3.2
425 tower@0.4.13
426 tracing-attributes@0.1.27
427 tracing-core@0.1.32
428 tracing@0.1.40
429 try-lock@0.2.5
430 ttf-parser@0.20.0
431 tui-realm-stdlib@1.2.0
432 tui-realm-treeview@1.1.0
433 tui@0.19.0
434 tuirealm@1.8.0
435 tuirealm_derive@1.0.0
436 uncased@0.9.10
437 unicode-bidi@0.3.15
438 unicode-ident@1.0.12
439 unicode-linebreak@0.1.5
440 unicode-normalization@0.1.23
441 unicode-segmentation@1.11.0
442 unicode-width@0.1.11
443 untrusted@0.9.0
444 url@2.5.0
445 urlencoding@2.1.3
446 utf8parse@0.2.1
447 uuid@0.8.2
448 vcpkg@0.2.15
449 version-compare@0.1.1
450 version_check@0.9.4
451 viuer@0.7.1
452 walkdir@2.5.0
453 want@0.3.1
454 wasi@0.11.0+wasi-snapshot-preview1
455 wasm-bindgen-backend@0.2.92
456 wasm-bindgen-futures@0.4.42
457 wasm-bindgen-macro-support@0.2.92
458 wasm-bindgen-macro@0.2.92
459 wasm-bindgen-shared@0.2.92
460 wasm-bindgen@0.2.92
461 wasm-streams@0.4.0
462 wayland-backend@0.3.3
463 wayland-client@0.31.2
464 wayland-csd-frame@0.3.0
465 wayland-cursor@0.31.1
466 wayland-protocols-plasma@0.2.0
467 wayland-protocols-wlr@0.2.0
468 wayland-protocols@0.31.2
469 wayland-scanner@0.31.1
470 wayland-sys@0.31.1
471 web-sys@0.3.69
472 web-time@0.2.4
473 webpki-roots@0.25.4
474 weezl@0.1.8
475 which@4.4.2
476 wildmatch@2.3.3
477 winapi-i686-pc-windows-gnu@0.4.0
478 winapi-util@0.1.6
479 winapi-x86_64-pc-windows-gnu@0.4.0
480 winapi@0.3.9
481 windows-core@0.52.0
482 windows-core@0.54.0
483 windows-result@0.1.0
484 windows-sys@0.45.0
485 windows-sys@0.48.0
486 windows-sys@0.52.0
487 windows-targets@0.42.2
488 windows-targets@0.48.5
489 windows-targets@0.52.4
490 windows@0.44.0
491 windows@0.52.0
492 windows@0.54.0
493 windows_aarch64_gnullvm@0.42.2
494 windows_aarch64_gnullvm@0.48.5
495 windows_aarch64_gnullvm@0.52.4
496 windows_aarch64_msvc@0.42.2
497 windows_aarch64_msvc@0.48.5
498 windows_aarch64_msvc@0.52.4
499 windows_i686_gnu@0.42.2
500 windows_i686_gnu@0.48.5
501 windows_i686_gnu@0.52.4
502 windows_i686_msvc@0.42.2
503 windows_i686_msvc@0.48.5
504 windows_i686_msvc@0.52.4
505 windows_x86_64_gnu@0.42.2
506 windows_x86_64_gnu@0.48.5
507 windows_x86_64_gnu@0.52.4
508 windows_x86_64_gnullvm@0.42.2
509 windows_x86_64_gnullvm@0.48.5
510 windows_x86_64_gnullvm@0.52.4
511 windows_x86_64_msvc@0.42.2
512 windows_x86_64_msvc@0.48.5
513 windows_x86_64_msvc@0.52.4
514 winit@0.29.15
515 winnow@0.5.40
516 winnow@0.6.5
517 winreg@0.50.0
518 x11-dl@2.21.0
519 x11rb-protocol@0.13.0
520 x11rb@0.13.0
521 xcursor@0.3.5
522 xkbcommon-dl@0.4.2
523 xkeysym@0.2.0
524 xmlparser@0.13.6
525 yaml-rust@0.4.5
526 yansi@0.5.1
527 ytd-rs@0.1.7
528 zerocopy-derive@0.7.32
529 zerocopy@0.7.32
530 zune-inflate@0.2.54
533 inherit cargo
535 DESCRIPTION="Terminal Music and Podcast Player written in Rust"
536 HOMEPAGE="https://github.com/tramhao/termusic"
537 SRC_URI="
538 https://github.com/tramhao/termusic/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
539 ${CARGO_CRATE_URIS}
542 LICENSE="MIT"
543 # Dependent crate licenses
544 LICENSE+="
545 Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD GPL-3+ ISC
546 LGPL-2.1 LGPL-3+ MIT MPL-2.0 Unicode-DFS-2016
548 SLOT="0"
549 KEYWORDS="~amd64"
551 IUSE="+symphonia gst mpv +yt-dlp"
552 REQUIRED_USE="^^ ( symphonia gst mpv )"
553 RESTRICT="mirror"
555 DEPEND="
556 symphonia? (
557 media-libs/alsa-lib
560 gst? (
561 dev-libs/glib:2
562 media-libs/gstreamer:1.0
563 media-libs/gst-plugins-base:1.0
564 media-libs/gst-plugins-bad:1.0
565 media-libs/gst-plugins-good
566 media-libs/gst-plugins-ugly
567 media-plugins/gst-plugins-libav
569 mpv? (
570 media-video/mpv[libmpv]
573 dev-libs/protobuf
574 sys-apps/dbus
576 RDEPEND="
577 ${DEPEND}
578 yt-dlp? (
579 media-video/ffmpeg
580 net-misc/yt-dlp
584 src_configure() {
585 # default backend is *symphonia*
586 # feature gates : *gst* *mpv*
587 if use symphonia; then
588 local myfeatures=(
589 cover
591 cargo_src_configure
592 else
593 local myfeatures=(
594 cover
595 $(usev gst)
596 $(usev mpv)
598 cargo_src_configure --no-default-features
602 src_install() {
603 # use 'debug' defined in cargo.eclass
604 dobin "target/$(usex debug debug release)/termusic"
605 dobin "target/$(usex debug debug release)/termusic-server"
607 local DOCS=(
608 CHANGELOG.md README.md
610 einstalldocs
613 pkg_postinst() {
614 if [[ -z ${REPLACING_VERSIONS} ]]; then
615 einfo "Configuration files for ${CATEGORY}/${PN} will be"
616 einfo "written to \$HOME/.config/${PN} at first launch."
619 einfo "For x11-terms/kitty, album cover support is built in"
620 einfo "Using media-gfx/ueberzugpp or media-gfx/ueberzug for other terminals"