media-video/bilibili: add 1.14.2_p1, drop 1.11.4
[gentoo-zh.git] / app-editors / zed / zed-0.152.3.ebuild
blobd23c9b93361c440c0c7dbb7f1d7090d824d2e4cb
1 # Copyright 2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 # Autogenerated by pycargoebuild 0.13.3
6 EAPI=8
8 CRATES="
9         addr2line@0.22.0
10         adler2@2.0.0
11         adler@1.0.2
12         aes@0.8.4
13         ahash@0.7.8
14         ahash@0.8.11
15         aho-corasick@1.1.3
16         aliasable@0.1.3
17         aligned-vec@0.5.0
18         allocator-api2@0.2.18
19         alsa-sys@0.3.1
20         alsa@0.9.1
21         ambient-authority@0.0.2
22         ammonia@4.0.0
23         android-tzdata@0.1.1
24         android_system_properties@0.1.5
25         anes@0.1.6
26         anstream@0.6.15
27         anstyle-parse@0.2.5
28         anstyle-query@1.1.1
29         anstyle-wincon@3.0.4
30         anstyle@1.0.8
31         any_vec@0.14.0
32         anyhow@1.0.86
33         approx@0.5.1
34         arbitrary@1.3.2
35         arg_enum_proc_macro@0.3.4
36         arrayref@0.3.8
37         arrayvec@0.7.6
38         as-raw-xcb-connection@1.0.1
39         ascii@1.1.0
40         ash-window@0.13.0
41         ash@0.38.0+1.3.281
42         ashpd@0.9.1
43         async-attributes@1.1.2
44         async-broadcast@0.7.1
45         async-channel@1.9.0
46         async-channel@2.3.1
47         async-compat@0.2.4
48         async-compression@0.4.12
49         async-dispatcher@0.1.2
50         async-executor@1.13.0
51         async-fs@1.6.0
52         async-fs@2.1.2
53         async-global-executor@2.4.1
54         async-io@1.13.0
55         async-io@2.3.4
56         async-lock@2.8.0
57         async-lock@3.4.0
58         async-native-tls@0.5.0
59         async-net@1.8.0
60         async-net@2.0.0
61         async-process@1.8.1
62         async-process@2.2.4
63         async-recursion@0.3.2
64         async-recursion@1.1.1
65         async-signal@0.2.10
66         async-std@1.12.0
67         async-stream-impl@0.3.5
68         async-stream@0.3.5
69         async-stripe@0.38.1
70         async-tar@0.5.0
71         async-task@4.7.1
72         async-trait@0.1.81
73         async-tungstenite@0.23.0
74         async-watch@0.3.1
75         async_zip@0.0.17
76         asynchronous-codec@0.7.0
77         atoi@2.0.0
78         atomic-waker@1.1.2
79         atomic@0.5.3
80         autocfg@1.3.0
81         av1-grain@0.2.3
82         avif-serialize@0.8.1
83         aws-config@1.5.5
84         aws-credential-types@1.2.1
85         aws-runtime@1.4.2
86         aws-sdk-s3@1.47.0
87         aws-sdk-sso@1.40.0
88         aws-sdk-ssooidc@1.41.0
89         aws-sdk-sts@1.40.0
90         aws-sigv4@1.2.3
91         aws-smithy-async@1.2.1
92         aws-smithy-checksums@0.60.12
93         aws-smithy-eventstream@0.60.4
94         aws-smithy-http@0.60.10
95         aws-smithy-json@0.60.7
96         aws-smithy-query@0.60.7
97         aws-smithy-runtime-api@1.7.2
98         aws-smithy-runtime@1.7.1
99         aws-smithy-types@1.2.4
100         aws-smithy-xml@0.60.8
101         aws-types@1.3.3
102         axum-core@0.3.4
103         axum-extra@0.4.2
104         axum@0.6.20
105         backtrace@0.3.73
106         base16ct@0.1.1
107         base64-simd@0.8.0
108         base64@0.13.1
109         base64@0.21.7
110         base64@0.22.1
111         base64ct@1.6.0
112         bigdecimal@0.4.5
113         bincode@1.3.3
114         bindgen@0.69.4
115         bindgen@0.70.1
116         bit-set@0.5.3
117         bit-set@0.6.0
118         bit-vec@0.6.3
119         bit-vec@0.7.0
120         bit_field@0.10.2
121         bitflags@1.3.2
122         bitflags@2.6.0
123         bitstream-io@2.5.3
124         bitvec@1.0.1
125         block-buffer@0.10.4
126         block-padding@0.3.3
127         block@0.1.6
128         blocking@1.6.1
129         borsh-derive@1.5.1
130         borsh@1.5.1
131         bstr@1.10.0
132         built@0.7.4
133         bumpalo@3.16.0
134         by_address@1.2.1
135         bytecheck@0.6.12
136         bytecheck_derive@0.6.12
137         bytemuck@1.17.1
138         bytemuck_derive@1.7.1
139         byteorder-lite@0.1.0
140         byteorder@1.5.0
141         bytes-utils@0.1.4
142         bytes@0.4.12
143         bytes@1.7.1
144         calloop-wayland-source@0.3.0
145         calloop@0.13.0
146         camino@1.1.9
147         cap-fs-ext@3.2.0
148         cap-net-ext@3.2.0
149         cap-primitives@3.2.0
150         cap-rand@3.2.0
151         cap-std@3.2.0
152         cap-time-ext@3.2.0
153         cargo-platform@0.1.8
154         cargo_metadata@0.18.1
155         cargo_toml@0.20.4
156         cast@0.3.0
157         castaway@0.1.2
158         cbc@0.1.2
159         cbindgen@0.27.0
160         cc@1.1.15
161         cesu8@1.1.0
162         cexpr@0.6.0
163         cfg-expr@0.15.8
164         cfg-if@1.0.0
165         cfg_aliases@0.1.1
166         cfg_aliases@0.2.1
167         chrono@0.4.38
168         chunked_transfer@1.5.0
169         ciborium-io@0.2.2
170         ciborium-ll@0.2.2
171         ciborium@0.2.2
172         cipher@0.4.4
173         clang-sys@1.8.1
174         clap@4.5.16
175         clap_builder@4.5.15
176         clap_complete@4.5.24
177         clap_derive@4.5.13
178         clap_lex@0.7.2
179         clickhouse-derive@0.1.1
180         clickhouse-rs-cityhash-sys@0.1.2
181         clickhouse@0.11.6
182         cobs@0.2.3
183         cocoa-foundation@0.1.2
184         cocoa-foundation@0.2.0
185         cocoa@0.25.0
186         cocoa@0.26.0
187         codespan-reporting@0.11.1
188         color_quant@1.1.0
189         colorchoice@1.0.2
190         combine@4.6.7
191         concurrent-queue@2.5.0
192         console@0.15.8
193         const-oid@0.9.6
194         const-random-macro@0.1.16
195         const-random@0.1.18
196         convert_case@0.4.0
197         convert_case@0.6.0
198         core-foundation-sys@0.8.7
199         core-foundation@0.10.0
200         core-foundation@0.9.4
201         core-graphics-types@0.1.3
202         core-graphics-types@0.2.0
203         core-graphics@0.23.2
204         core-graphics@0.24.0
205         core-services@0.2.1
206         core-text@20.1.0
207         coreaudio-rs@0.11.3
208         coreaudio-sys@0.2.15
209         cpal@0.15.3
210         cpp_demangle@0.4.4
211         cpufeatures@0.2.13
212         cranelift-bforest@0.108.1
213         cranelift-codegen-meta@0.108.1
214         cranelift-codegen-shared@0.108.1
215         cranelift-codegen@0.108.1
216         cranelift-control@0.108.1
217         cranelift-entity@0.108.1
218         cranelift-frontend@0.108.1
219         cranelift-isle@0.108.1
220         cranelift-native@0.108.1
221         cranelift-wasm@0.108.1
222         crc-catalog@2.4.0
223         crc32c@0.6.8
224         crc32fast@1.4.2
225         crc@3.2.1
226         criterion-plot@0.5.0
227         criterion@0.5.1
228         crossbeam-channel@0.5.13
229         crossbeam-deque@0.8.5
230         crossbeam-epoch@0.9.18
231         crossbeam-queue@0.3.11
232         crossbeam-utils@0.8.20
233         crunchy@0.2.2
234         crypto-bigint@0.4.9
235         crypto-bigint@0.5.5
236         crypto-common@0.1.6
237         ctor@0.2.8
238         ctrlc@3.4.5
239         curl-sys@0.4.74+curl-8.9.0
240         curl@0.4.46
241         cursor-icon@1.1.0
242         dashmap@5.5.3
243         dashmap@6.0.1
244         dasp_sample@0.11.0
245         data-encoding@2.6.0
246         data-url@0.3.1
247         dbus@0.9.7
248         deflate64@0.1.9
249         der@0.6.1
250         der@0.7.9
251         deranged@0.3.11
252         derive_more@0.99.18
253         dialoguer@0.11.0
254         diff@0.1.13
255         digest@0.10.7
256         dirs-sys@0.3.7
257         dirs-sys@0.4.1
258         dirs@4.0.0
259         dirs@5.0.1
260         dlib@0.5.2
261         dotenvy@0.15.7
262         downcast-rs@1.2.1
263         doxygen-rs@0.4.2
264         dwrote@0.11.1
265         dyn-clone@1.0.17
266         ecdsa@0.14.8
267         educe@0.5.11
268         either@1.13.0
269         elasticlunr-rs@3.0.2
270         elliptic-curve@0.12.3
271         embed-resource@2.4.3
272         embedded-io@0.4.0
273         embedded-io@0.6.1
274         emojis@0.6.3
275         encode_unicode@0.3.6
276         encoding_rs@0.8.34
277         endi@1.1.0
278         enum-ordinalize-derive@4.3.1
279         enum-ordinalize@4.3.0
280         enumflags2@0.7.10
281         enumflags2_derive@0.7.10
282         env_filter@0.1.2
283         env_logger@0.11.5
284         envy@0.4.2
285         equivalent@1.0.1
286         erased-serde@0.4.5
287         errno-dragonfly@0.1.2
288         errno@0.2.8
289         errno@0.3.9
290         etagere@0.2.13
291         etcetera@0.8.0
292         euclid@0.22.11
293         event-listener-strategy@0.5.2
294         event-listener@2.5.3
295         event-listener@3.1.0
296         event-listener@5.3.1
297         exec@0.3.1
298         exr@1.72.0
299         fallible-iterator@0.3.0
300         fancy-regex@0.12.0
301         fast-srgb8@1.0.0
302         fastrand@1.9.0
303         fastrand@2.1.1
304         fd-lock@4.0.2
305         fdeflate@0.3.4
306         ff@0.12.1
307         filedescriptor@0.8.2
308         filetime@0.2.25
309         fixedbitset@0.4.2
310         flate2@1.0.33
311         float-cmp@0.9.0
312         float-ord@0.3.2
313         flume@0.11.0
314         fnv@1.0.7
315         font-types@0.6.0
316         fontconfig-parser@0.5.7
317         fontdb@0.18.0
318         foreign-types-macros@0.2.3
319         foreign-types-shared@0.1.1
320         foreign-types-shared@0.3.1
321         foreign-types@0.3.2
322         foreign-types@0.5.0
323         fork@0.2.0
324         form_urlencoded@1.2.1
325         freetype-sys@0.20.1
326         fs-set-times@0.20.1
327         fsevent-sys@3.1.0
328         fsevent-sys@4.1.0
329         funty@2.0.0
330         futf@0.1.5
331         futures-batch@0.6.1
332         futures-channel@0.3.30
333         futures-core@0.3.30
334         futures-executor@0.3.30
335         futures-intrusive@0.5.0
336         futures-io@0.3.30
337         futures-lite@1.13.0
338         futures-lite@2.3.0
339         futures-macro@0.3.30
340         futures-sink@0.3.30
341         futures-task@0.3.30
342         futures-timer@3.0.3
343         futures-util@0.3.30
344         futures@0.1.31
345         futures@0.3.30
346         fuzzy-matcher@0.3.7
347         generic-array@0.14.7
348         gethostname@0.4.3
349         getrandom@0.1.16
350         getrandom@0.2.15
351         gif@0.13.1
352         gimli@0.28.1
353         gimli@0.29.0
354         git2@0.19.0
355         glob@0.3.1
356         globset@0.4.14
357         gloo-timers@0.2.6
358         glow@0.14.0
359         gpu-alloc-ash@0.7.0
360         gpu-alloc-types@0.3.0
361         gpu-alloc@0.6.0
362         grid@0.13.0
363         group@0.12.1
364         h2@0.3.26
365         half@2.4.1
366         handlebars@4.5.0
367         handlebars@5.1.2
368         hashbrown@0.12.3
369         hashbrown@0.13.2
370         hashbrown@0.14.5
371         hashlink@0.9.1
372         headers-core@0.2.0
373         headers@0.3.9
374         heck@0.3.3
375         heck@0.4.1
376         heck@0.5.0
377         heed-traits@0.20.0
378         heed-types@0.20.1
379         heed@0.20.5
380         hermit-abi@0.3.9
381         hermit-abi@0.4.0
382         hex@0.4.3
383         hexf-parse@0.2.1
384         hidden-trait@0.1.2
385         hkdf@0.12.4
386         hmac@0.12.1
387         home@0.5.9
388         hound@3.5.1
389         html5ever@0.27.0
390         html_to_markdown@0.1.0
391         http-body-util@0.1.2
392         http-body@0.4.6
393         http-body@1.0.1
394         http-range-header@0.3.1
395         http-types@2.12.0
396         http@0.2.12
397         http@1.1.0
398         httparse@1.9.4
399         httpdate@1.0.3
400         human_bytes@0.4.3
401         humantime@2.1.0
402         hyper-rustls@0.24.2
403         hyper-tls@0.5.0
404         hyper@0.14.30
405         iana-time-zone-haiku@0.1.2
406         iana-time-zone@0.1.60
407         id-arena@2.2.1
408         idna@0.5.0
409         ignore@0.4.22
410         image-webp@0.1.3
411         image@0.25.2
412         imagesize@0.12.0
413         imgref@1.10.1
414         indexmap@1.9.3
415         indexmap@2.4.0
416         indoc@2.0.5
417         infer@0.2.3
418         inherent@1.0.11
419         inotify-sys@0.1.5
420         inotify@0.9.6
421         inout@0.1.3
422         instant@0.1.13
423         interpolate_name@0.2.4
424         io-extras@0.18.2
425         io-lifetimes@1.0.11
426         io-lifetimes@2.0.3
427         iovec@0.1.4
428         ipc-channel@0.18.2
429         ipnet@2.9.0
430         is-docker@0.2.0
431         is-terminal@0.4.13
432         is-wsl@0.4.0
433         is_terminal_polyfill@1.70.1
434         isahc@1.7.2
435         itertools@0.10.5
436         itertools@0.12.1
437         itertools@0.13.0
438         itoa@1.0.11
439         jni-sys@0.3.0
440         jni@0.21.1
441         jobserver@0.1.32
442         jpeg-decoder@0.3.1
443         js-sys@0.3.70
444         jsonwebtoken@9.3.0
445         khronos-egl@6.0.0
446         kqueue-sys@1.0.4
447         kqueue@1.0.8
448         kurbo@0.11.0
449         kv-log-macro@1.0.7
450         lazy_static@1.5.0
451         lazycell@1.3.0
452         leb128@0.2.5
453         lebe@0.5.2
454         libc@0.2.158
455         libdbus-sys@0.2.5
456         libfuzzer-sys@0.4.7
457         libgit2-sys@0.17.0+1.8.1
458         libloading@0.8.5
459         libm@0.2.8
460         libmimalloc-sys@0.1.39
461         libredox@0.1.3
462         libsqlite3-sys@0.28.0
463         libz-sys@1.1.20
464         linkify@0.10.0
465         linkme-impl@0.3.28
466         linkme@0.3.28
467         linux-raw-sys@0.3.8
468         linux-raw-sys@0.4.14
469         lmdb-master-sys@0.2.4
470         lock_api@0.4.12
471         log@0.4.22
472         loop9@0.1.5
473         lru@0.12.4
474         lz4-sys@1.10.0
475         lz4@1.26.0
476         mac@0.1.1
477         mach2@0.4.2
478         malloc_buf@0.0.6
479         maplit@1.0.2
480         markup5ever@0.12.1
481         markup5ever_rcdom@0.3.0
482         matchers@0.1.0
483         matchit@0.7.3
484         maybe-owned@0.3.4
485         maybe-rayon@0.1.1
486         md-5@0.10.6
487         mdbook@0.4.40
488         memchr@2.7.4
489         memfd@0.6.4
490         memmap2@0.9.4
491         memoffset@0.9.1
492         metal@0.29.0
493         mimalloc@0.1.43
494         mime@0.3.17
495         mime_guess@2.0.5
496         minimal-lexical@0.2.1
497         miniz_oxide@0.7.4
498         miniz_oxide@0.8.0
499         mint@0.5.9
500         mio@0.8.11
501         mio@1.0.2
502         miow@0.6.0
503         multimap@0.8.3
504         naga@22.1.0
505         nanoid@0.4.0
506         nanorand@0.7.0
507         native-tls@0.2.12
508         ndk-context@0.1.1
509         ndk-sys@0.5.0+25.2.9519653
510         ndk@0.8.0
511         new_debug_unreachable@1.0.6
512         nix@0.28.0
513         nix@0.29.0
514         nom@7.1.3
515         noop_proc_macro@0.3.0
516         normpath@1.3.0
517         notify-debouncer-mini@0.4.1
518         notify@6.1.1
519         ntapi@0.4.1
520         nu-ansi-term@0.46.0
521         num-bigint-dig@0.8.4
522         num-bigint@0.4.6
523         num-complex@0.4.6
524         num-conv@0.1.0
525         num-derive@0.4.2
526         num-format@0.4.4
527         num-integer@0.1.46
528         num-iter@0.1.45
529         num-rational@0.4.2
530         num-traits@0.2.19
531         num@0.4.3
532         num_cpus@1.16.0
533         num_enum@0.7.3
534         num_enum_derive@0.7.3
535         num_threads@0.1.7
536         objc@0.2.7
537         object@0.33.0
538         object@0.36.4
539         oboe-sys@0.6.1
540         oboe@0.6.1
541         once_cell@1.19.0
542         oo7@0.3.3
543         oorandom@11.1.4
544         open@5.3.0
545         opener@0.7.2
546         openssl-macros@0.1.1
547         openssl-probe@0.1.5
548         openssl-src@300.3.1+3.3.1
549         openssl-sys@0.9.103
550         openssl@0.10.66
551         option-ext@0.2.0
552         ordered-float@2.10.1
553         ordered-float@3.9.2
554         ordered-stream@0.2.0
555         ouroboros@0.17.2
556         ouroboros_macro@0.17.2
557         outref@0.5.1
558         overload@0.1.1
559         p256@0.11.1
560         page_size@0.6.0
561         palette@0.7.6
562         palette_derive@0.7.6
563         parity-tokio-ipc@0.9.0
564         parking@2.2.0
565         parking_lot@0.12.3
566         parking_lot_core@0.9.10
567         password-hash@0.5.0
568         paste@1.0.15
569         pathdiff@0.2.1
570         pathfinder_geometry@0.5.1
571         pathfinder_simd@0.5.4
572         pbkdf2@0.12.2
573         pem-rfc7468@0.7.0
574         pem@3.0.4
575         percent-encoding@2.3.1
576         pest@2.7.11
577         pest_derive@2.7.11
578         pest_generator@2.7.11
579         pest_meta@2.7.11
580         petgraph@0.6.5
581         phf@0.11.2
582         phf_codegen@0.11.2
583         phf_generator@0.10.0
584         phf_generator@0.11.2
585         phf_macros@0.11.2
586         phf_shared@0.10.0
587         phf_shared@0.11.2
588         pico-args@0.5.0
589         pin-project-internal@1.1.5
590         pin-project-lite@0.2.14
591         pin-project@1.1.5
592         pin-utils@0.1.0
593         piper@0.2.4
594         pkcs1@0.7.5
595         pkcs8@0.10.2
596         pkcs8@0.9.0
597         pkg-config@0.3.30
598         plist@1.7.0
599         plotters-backend@0.3.6
600         plotters-svg@0.3.6
601         plotters@0.3.6
602         png@0.17.13
603         polling@2.8.0
604         polling@3.7.3
605         pollster@0.2.5
606         postage@0.5.0
607         postcard@1.0.10
608         powerfmt@0.2.0
609         ppv-lite86@0.2.20
610         precomputed-hash@0.1.1
611         pretty_assertions@1.4.0
612         prettyplease@0.2.22
613         proc-macro-crate@3.2.0
614         proc-macro-error-attr@1.0.4
615         proc-macro-error@1.0.4
616         proc-macro2@1.0.86
617         profiling-procmacros@1.0.15
618         profiling@1.0.15
619         prometheus@0.13.4
620         prost-build@0.9.0
621         prost-derive@0.9.0
622         prost-types@0.9.0
623         prost@0.9.0
624         protobuf@2.28.0
625         protols-tree-sitter-proto@0.2.0
626         psm@0.1.21
627         ptr_meta@0.1.4
628         ptr_meta_derive@0.1.4
629         pulldown-cmark-escape@0.10.1
630         pulldown-cmark@0.10.3
631         qoi@0.4.1
632         quick-error@2.0.1
633         quick-xml@0.32.0
634         quick-xml@0.34.0
635         quote@1.0.37
636         radium@0.7.0
637         rand@0.7.3
638         rand@0.8.5
639         rand_chacha@0.2.2
640         rand_chacha@0.3.1
641         rand_core@0.5.1
642         rand_core@0.6.4
643         rand_hc@0.2.0
644         rangemap@1.5.1
645         rav1e@0.7.1
646         ravif@0.11.10
647         raw-window-handle@0.6.2
648         raw-window-metal@0.4.0
649         rayon-core@1.12.1
650         rayon@1.10.0
651         read-fonts@0.20.0
652         redox_syscall@0.2.16
653         redox_syscall@0.4.1
654         redox_syscall@0.5.3
655         redox_users@0.4.6
656         regalloc2@0.9.3
657         regex-automata@0.1.10
658         regex-automata@0.4.7
659         regex-lite@0.1.6
660         regex-syntax@0.6.29
661         regex-syntax@0.8.4
662         regex@1.10.6
663         rend@0.4.2
664         reqwest@0.11.27
665         resvg@0.41.0
666         rfc6979@0.3.1
667         rgb@0.8.49
668         ring@0.17.8
669         rkyv@0.7.45
670         rkyv_derive@0.7.45
671         rmp@0.8.14
672         rmpv@1.3.0
673         rodio@0.17.3
674         roxmltree@0.19.0
675         roxmltree@0.20.0
676         rsa@0.9.6
677         runtimelib@0.15.0
678         rust-embed-impl@8.5.0
679         rust-embed-utils@8.5.0
680         rust-embed@8.5.0
681         rust_decimal@1.36.0
682         rustc-demangle@0.1.24
683         rustc-hash@1.1.0
684         rustc_version@0.4.1
685         rustix-openpty@0.1.1
686         rustix@0.37.27
687         rustix@0.38.35
688         rustls-native-certs@0.6.3
689         rustls-pemfile@1.0.4
690         rustls-webpki@0.101.7
691         rustls@0.21.12
692         rustversion@1.0.17
693         rustybuzz@0.14.1
694         ryu@1.0.18
695         salsa20@0.10.2
696         same-file@1.0.6
697         schannel@0.1.23
698         schemars@0.8.21
699         schemars_derive@0.8.21
700         scoped-tls@1.0.1
701         scopeguard@1.2.0
702         scrypt@0.11.0
703         sct@0.7.1
704         sea-bae@0.2.0
705         sea-orm-macros@1.1.0-rc.1
706         sea-orm@1.1.0-rc.1
707         sea-query-binder@0.7.0-rc.1
708         sea-query@0.32.0-rc.1
709         seahash@4.1.0
710         sealed@0.4.0
711         sec1@0.3.0
712         security-framework-sys@2.11.1
713         security-framework@2.11.1
714         self_cell@1.0.4
715         semver@1.0.23
716         serde@1.0.209
717         serde_derive@1.0.209
718         serde_derive_internals@0.26.0
719         serde_derive_internals@0.29.1
720         serde_fmt@1.0.3
721         serde_json@1.0.127
722         serde_json_lenient@0.1.8
723         serde_path_to_error@0.1.16
724         serde_qs@0.10.1
725         serde_qs@0.8.5
726         serde_repr@0.1.19
727         serde_spanned@0.6.7
728         serde_urlencoded@0.7.1
729         sha1@0.10.6
730         sha1_smol@1.0.1
731         sha2@0.10.8
732         sharded-slab@0.1.7
733         shell-words@1.1.0
734         shellexpand@2.1.2
735         shellexpand@3.1.0
736         shlex@1.3.0
737         signal-hook-registry@1.4.2
738         signal-hook@0.3.17
739         signature@1.6.4
740         signature@2.2.0
741         simd-adler32@0.3.7
742         simd_helpers@0.1.0
743         simdutf8@0.1.4
744         similar@1.3.0
745         simple_asn1@0.6.2
746         simplecss@0.2.1
747         simplelog@0.12.2
748         siphasher@0.3.11
749         siphasher@1.0.1
750         skrifa@0.20.0
751         slab@0.4.9
752         slice-group-by@0.3.1
753         slotmap@1.0.7
754         sluice@0.5.5
755         smallvec@1.13.2
756         smart-default@0.6.0
757         smol@1.3.0
758         smol_str@0.1.24
759         socket2@0.4.10
760         socket2@0.5.7
761         spdx@0.10.6
762         spin@0.9.8
763         spirv@0.3.0+sdk-1.3.268.0
764         spki@0.6.0
765         spki@0.7.3
766         sptr@0.3.2
767         sqlformat@0.2.4
768         sqlx-core@0.8.0
769         sqlx-macros-core@0.8.0
770         sqlx-macros@0.8.0
771         sqlx-mysql@0.8.0
772         sqlx-postgres@0.8.0
773         sqlx-sqlite@0.8.0
774         sqlx@0.8.0
775         stable_deref_trait@1.2.0
776         static_assertions@1.1.0
777         strict-num@0.1.1
778         string_cache@0.8.7
779         string_cache_codegen@0.5.2
780         stringprep@0.1.5
781         strsim@0.11.1
782         strum@0.25.0
783         strum@0.26.3
784         strum_macros@0.25.3
785         subtle@2.6.1
786         sval@2.13.0
787         sval_buffer@2.13.0
788         sval_dynamic@2.13.0
789         sval_fmt@2.13.0
790         sval_json@2.13.0
791         sval_nested@2.13.0
792         sval_ref@2.13.0
793         sval_serde@2.13.0
794         svg_fmt@0.4.3
795         svgtypes@0.15.2
796         swash@0.1.18
797         syn@1.0.109
798         syn@2.0.76
799         syn_derive@0.1.8
800         sync_wrapper@0.1.2
801         synchronoise@1.0.1
802         sys-locale@0.3.1
803         sysinfo@0.30.13
804         system-configuration-sys@0.5.0
805         system-configuration@0.5.1
806         system-deps@6.2.2
807         system-interface@0.27.2
808         taffy@0.4.4
809         take-until@0.2.0
810         tap@1.0.1
811         target-lexicon@0.12.16
812         tempfile@3.12.0
813         tendril@0.4.3
814         termcolor@1.4.1
815         terminal_size@0.3.0
816         thiserror-impl@1.0.63
817         thiserror@1.0.63
818         thread_local@1.1.8
819         tiff@0.9.1
820         tiktoken-rs@0.5.9
821         time-core@0.1.2
822         time-macros@0.2.18
823         time@0.3.36
824         tiny-keccak@2.0.2
825         tiny-skia-path@0.11.4
826         tiny-skia@0.11.4
827         tiny_http@0.8.2
828         tinytemplate@1.2.1
829         tinyvec@1.8.0
830         tinyvec_macros@0.1.1
831         tokio-io@0.1.13
832         tokio-macros@2.4.0
833         tokio-native-tls@0.3.1
834         tokio-rustls@0.24.1
835         tokio-socks@0.5.2
836         tokio-stream@0.1.15
837         tokio-tungstenite@0.20.1
838         tokio-tungstenite@0.21.0
839         tokio-util@0.7.11
840         tokio@1.40.0
841         toml@0.5.11
842         toml@0.7.8
843         toml@0.8.19
844         toml_datetime@0.6.8
845         toml_edit@0.19.15
846         toml_edit@0.22.20
847         topological-sort@0.2.2
848         tower-http@0.3.5
849         tower-http@0.4.4
850         tower-layer@0.3.3
851         tower-service@0.3.3
852         tower@0.4.13
853         tracing-attributes@0.1.27
854         tracing-core@0.1.32
855         tracing-futures@0.2.5
856         tracing-log@0.2.0
857         tracing-serde@0.1.3
858         tracing-subscriber@0.3.18
859         tracing@0.1.40
860         tree-sitter-bash@0.21.0
861         tree-sitter-c@0.21.4
862         tree-sitter-cpp@0.22.3
863         tree-sitter-css@0.21.1
864         tree-sitter-elixir@0.2.0
865         tree-sitter-embedded-template@0.20.0
866         tree-sitter-go@0.21.2
867         tree-sitter-html@0.20.4
868         tree-sitter-jsdoc@0.21.0
869         tree-sitter-json@0.21.0
870         tree-sitter-python@0.21.0
871         tree-sitter-regex@0.21.0
872         tree-sitter-ruby@0.21.0
873         tree-sitter-rust@0.21.2
874         tree-sitter-typescript@0.21.2
875         tree-sitter-yaml@0.6.1
876         try-lock@0.2.5
877         ttf-parser@0.21.1
878         tungstenite@0.20.1
879         tungstenite@0.21.0
880         typeid@1.0.2
881         typenum@1.17.0
882         ucd-trie@0.1.6
883         uds_windows@1.1.0
884         unicase@2.7.0
885         unicode-bidi-mirroring@0.2.0
886         unicode-bidi@0.3.15
887         unicode-ccc@0.2.0
888         unicode-ident@1.0.12
889         unicode-linebreak@0.1.5
890         unicode-normalization@0.1.23
891         unicode-properties@0.1.2
892         unicode-script@0.5.6
893         unicode-segmentation@1.11.0
894         unicode-width@0.1.13
895         unicode-xid@0.2.5
896         unicode_categories@0.1.1
897         unindent@0.1.11
898         untrusted@0.9.0
899         url@2.5.2
900         urlencoding@2.1.3
901         usvg@0.41.0
902         utf-8@0.7.6
903         utf8parse@0.2.2
904         uuid@1.10.0
905         v_frame@0.3.8
906         valuable@0.1.0
907         value-bag-serde1@1.9.0
908         value-bag-sval2@1.9.0
909         value-bag@1.9.0
910         vcpkg@0.2.15
911         version-compare@0.2.0
912         version_check@0.9.5
913         vscode_theme@0.2.0
914         vsimd@0.8.0
915         vswhom-sys@0.1.2
916         vswhom@0.1.0
917         vte@0.13.0
918         vte_generate_state_changes@0.1.2
919         waker-fn@1.2.0
920         walkdir@2.5.0
921         want@0.3.1
922         warp@0.3.7
923         wasi@0.11.0+wasi-snapshot-preview1
924         wasi@0.9.0+wasi-snapshot-preview1
925         wasite@0.1.0
926         wasm-bindgen-backend@0.2.93
927         wasm-bindgen-futures@0.4.43
928         wasm-bindgen-macro-support@0.2.93
929         wasm-bindgen-macro@0.2.93
930         wasm-bindgen-shared@0.2.93
931         wasm-bindgen@0.2.93
932         wasm-encoder@0.201.0
933         wasm-encoder@0.207.0
934         wasm-metadata@0.201.0
935         wasmparser@0.201.0
936         wasmparser@0.207.0
937         wasmprinter@0.207.0
938         wasmtime-asm-macros@21.0.1
939         wasmtime-c-api-impl@21.0.1
940         wasmtime-c-api-macros@21.0.1
941         wasmtime-component-macro@21.0.1
942         wasmtime-component-util@21.0.1
943         wasmtime-cranelift@21.0.1
944         wasmtime-environ@21.0.1
945         wasmtime-fiber@21.0.1
946         wasmtime-jit-icache-coherence@21.0.1
947         wasmtime-slab@21.0.1
948         wasmtime-types@21.0.1
949         wasmtime-versioned-export-macros@21.0.1
950         wasmtime-wasi@21.0.1
951         wasmtime-winch@21.0.1
952         wasmtime-wit-bindgen@21.0.1
953         wasmtime@21.0.1
954         wast@35.0.2
955         wayland-backend@0.3.6
956         wayland-client@0.31.5
957         wayland-cursor@0.31.5
958         wayland-protocols-plasma@0.2.0
959         wayland-protocols@0.31.2
960         wayland-scanner@0.31.4
961         wayland-sys@0.31.4
962         web-sys@0.3.70
963         webpki-roots@0.25.4
964         weezl@0.1.8
965         which@4.4.2
966         which@6.0.3
967         whoami@1.5.1
968         wiggle-generate@21.0.1
969         wiggle-macro@21.0.1
970         wiggle@21.0.1
971         winapi-i686-pc-windows-gnu@0.4.0
972         winapi-util@0.1.9
973         winapi-x86_64-pc-windows-gnu@0.4.0
974         winapi@0.3.9
975         winch-codegen@0.19.1
976         windows-core@0.52.0
977         windows-core@0.54.0
978         windows-core@0.58.0
979         windows-implement@0.58.0
980         windows-interface@0.58.0
981         windows-result@0.1.2
982         windows-result@0.2.0
983         windows-strings@0.1.0
984         windows-sys@0.45.0
985         windows-sys@0.48.0
986         windows-sys@0.52.0
987         windows-sys@0.59.0
988         windows-targets@0.42.2
989         windows-targets@0.48.5
990         windows-targets@0.52.6
991         windows@0.48.0
992         windows@0.52.0
993         windows@0.54.0
994         windows@0.58.0
995         windows_aarch64_gnullvm@0.42.2
996         windows_aarch64_gnullvm@0.48.5
997         windows_aarch64_gnullvm@0.52.6
998         windows_aarch64_msvc@0.42.2
999         windows_aarch64_msvc@0.48.5
1000         windows_aarch64_msvc@0.52.6
1001         windows_i686_gnu@0.42.2
1002         windows_i686_gnu@0.48.5
1003         windows_i686_gnu@0.52.6
1004         windows_i686_gnullvm@0.52.6
1005         windows_i686_msvc@0.42.2
1006         windows_i686_msvc@0.48.5
1007         windows_i686_msvc@0.52.6
1008         windows_x86_64_gnu@0.42.2
1009         windows_x86_64_gnu@0.48.5
1010         windows_x86_64_gnu@0.52.6
1011         windows_x86_64_gnullvm@0.42.2
1012         windows_x86_64_gnullvm@0.48.5
1013         windows_x86_64_gnullvm@0.52.6
1014         windows_x86_64_msvc@0.42.2
1015         windows_x86_64_msvc@0.48.5
1016         windows_x86_64_msvc@0.52.6
1017         winnow@0.5.40
1018         winnow@0.6.18
1019         winreg@0.50.0
1020         winreg@0.52.0
1021         winresource@0.1.17
1022         winsafe@0.0.19
1023         winx@0.36.3
1024         wio@0.2.2
1025         wit-bindgen-core@0.22.0
1026         wit-bindgen-rt@0.22.0
1027         wit-bindgen-rust-macro@0.22.0
1028         wit-bindgen-rust@0.22.0
1029         wit-bindgen@0.22.0
1030         wit-component@0.201.0
1031         wit-parser@0.201.0
1032         wit-parser@0.207.0
1033         witx@0.9.1
1034         wyz@0.5.1
1035         x11-clipboard@0.9.2
1036         x11rb-protocol@0.13.1
1037         x11rb@0.13.1
1038         xattr@0.2.3
1039         xcursor@0.3.8
1040         xdg-home@1.3.0
1041         xkeysym@0.2.1
1042         xml5ever@0.18.1
1043         xmlparser@0.13.6
1044         xmlwriter@0.1.0
1045         yansi@0.5.1
1046         yazi@0.1.6
1047         yeslogic-fontconfig-sys@6.0.0
1048         zbus@4.4.0
1049         zbus_macros@4.4.0
1050         zbus_names@3.0.0
1051         zed_extension_api@0.1.0
1052         zeno@0.2.3
1053         zerocopy-derive@0.7.35
1054         zerocopy@0.7.35
1055         zeroize@1.8.1
1056         zeroize_derive@1.4.2
1057         zeromq@0.4.0
1058         zstd-safe@5.0.2+zstd.1.5.2
1059         zstd-sys@2.0.13+zstd.1.5.6
1060         zstd@0.11.2+zstd.1.5.2
1061         zune-core@0.4.12
1062         zune-inflate@0.2.54
1063         zune-jpeg@0.4.13
1064         zvariant@4.2.0
1065         zvariant_derive@4.2.0
1066         zvariant_utils@2.1.0
1069 declare -A GIT_CRATES=(
1070         [alacritty_terminal]='https://github.com/alacritty/alacritty;91d034ff8b53867143c005acfaa14609147c9a2c;alacritty-%commit%/alacritty_terminal'
1071         [async-pipe]='https://github.com/zed-industries/async-pipe-rs;82d00a04211cf4e1236029aa03e6b6ce2a74c553;async-pipe-rs-%commit%'
1072         [blade-graphics]='https://github.com/kvark/blade;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-graphics'
1073         [blade-macros]='https://github.com/kvark/blade;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-macros'
1074         [blade-util]='https://github.com/kvark/blade;e142a3a5e678eb6a13e642ad8401b1f3aa38e969;blade-%commit%/blade-util'
1075         [cosmic-text]='https://github.com/pop-os/cosmic-text;542b20ca4376a3b5de5fa629db1a4ace44e18e0c;cosmic-text-%commit%'
1076         [font-kit]='https://github.com/zed-industries/font-kit;40391b7c0041d8a8572af2afa3de32ae088f0120;font-kit-%commit%'
1077         [lsp-types]='https://github.com/zed-industries/lsp-types;72357d6f6d212bdffba3b5ef4b31d8ca856058e7;lsp-types-%commit%'
1078         [nvim-rs]='https://github.com/KillTheMule/nvim-rs;69500bae73b8b3f02a05b7bee621a0d0e633da6c;nvim-rs-%commit%'
1079         [tree-sitter-gomod]='https://github.com/camdencheek/tree-sitter-go-mod;1f55029bacd0a6a11f6eb894c4312d429dcf735c;tree-sitter-go-mod-%commit%'
1080         [tree-sitter-gowork]='https://github.com/d1y/tree-sitter-go-work;dcbabff454703c3a4bc98a23cf8778d4be46fd22;tree-sitter-go-work-%commit%'
1081         [tree-sitter-heex]='https://github.com/phoenixframework/tree-sitter-heex;6dd0303acf7138dd2b9b432a229e16539581c701;tree-sitter-heex-%commit%'
1082         [tree-sitter-language]='https://github.com/tree-sitter/tree-sitter;7f4a57817d58a2f134fe863674acad6bbf007228;tree-sitter-%commit%/lib/language'
1083         [tree-sitter-md]='https://github.com/zed-industries/tree-sitter-markdown;e3855e37f8f2c71aa7513c18a9c95fb7461b1b10;tree-sitter-markdown-%commit%'
1084         [tree-sitter]='https://github.com/tree-sitter/tree-sitter;7f4a57817d58a2f134fe863674acad6bbf007228;tree-sitter-%commit%/lib'
1085         [xim-ctext]='https://github.com/npmania/xim-rs;27132caffc5b9bc9c432ca4afad184ab6e7c16af;xim-rs-%commit%/xim-ctext'
1086         [xim-parser]='https://github.com/npmania/xim-rs;27132caffc5b9bc9c432ca4afad184ab6e7c16af;xim-rs-%commit%/xim-parser'
1087         [xim]='https://github.com/npmania/xim-rs;27132caffc5b9bc9c432ca4afad184ab6e7c16af;xim-rs-%commit%'
1088         [xkbcommon]='https://github.com/ConradIrwin/xkbcommon-rs;fcbb4612185cc129ceeff51d22f7fb51810a03b2;xkbcommon-rs-%commit%'
1091 inherit cargo desktop edo toolchain-funcs xdg
1093 DESCRIPTION="high-performance, multiplayer code editor"
1094 HOMEPAGE="
1095         https://zed.dev/
1096         https://github.com/zed-industries/zed/
1098 SRC_URI="
1099         https://github.com/zed-industries/zed/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
1100         ${CARGO_CRATE_URIS}
1103 # OFL-1.1 for IBM Plex
1104 # TODO: more check
1105 LICENSE="GPL-3+ AGPL-3+ Apache-2.0 OFL-1.1"
1106 # Dependent crate licenses
1107 LICENSE+="
1108         Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC
1109         LGPL-3 MIT MPL-2.0 Unicode-DFS-2016 ZLIB
1111 SLOT="0"
1112 KEYWORDS="~amd64"
1113 IUSE="+lto"
1114 REQUIRED_USE="lto? ( !debug )"
1116 DEPEND="
1117         >=dev-db/sqlite-3.38.0:3
1118         dev-libs/libgit2
1119         dev-libs/openssl:0/3
1120         dev-libs/wayland
1121         dev-libs/wayland-protocols
1122         dev-util/wayland-scanner
1123         dev-util/vulkan-tools
1124         media-libs/alsa-lib
1125         media-libs/fontconfig
1126         media-libs/freetype
1127         media-libs/vulkan-loader
1128         net-misc/curl
1129         sys-libs/zlib
1130         x11-libs/libXau
1131         x11-libs/libxcb
1132         x11-libs/libxkbcommon
1134 RDEPEND="${DEPEND}"
1135 BDEPEND="
1136         >=dev-util/cargo-about-0.6.1
1137         dev-util/vulkan-headers
1138         >=sys-devel/clang-17:*
1139         sys-devel/gettext
1140         sys-devel/mold
1141         >=virtual/rust-1.80.1
1144 pkg_setup() {
1145         if use !debug && use lto; then
1146                 # NOTE: upstream sets to thinlto by default
1147                 if tc-is-gcc; then
1148                         einfo "Enforcing lto for CC is Gcc"
1149                         export CARGO_PROFILE_RELEASE_LTO="true"
1150                 elif tc-is-clang; then
1151                         einfo "Enforcing thinlto for CC is Clang"
1152                         export CARGO_PROFILE_RELEASE_LTO="thin"
1153                 fi
1154         else
1155                 export CARGO_PROFILE_RELEASE_LTO="false"
1156         fi
1157         # flags from upstream
1158         export RUSTFLAGS="${RUSTFLAGS} -C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
1160         # Upstream explicitly use sys-devel/mold as linker
1161         # Any other linker might just fail
1162         einfo "Enforcing mold linker"
1163         export RUSTFLAGS="${RUSTFLAGS} -C linker=clang -C link-arg=-fuse-ld=mold"
1165         # A possible (no warranty!) workaround for other linkers
1166         #export RUSTFLAGS="${RUSTFLAGS} -C link-args=-Wl,-z,nostart-stop-gc"
1169 src_prepare() {
1170         local PATCHES=(
1171                 "${FILESDIR}/${PN}-0.142.6-remove-cargo-install-in-generate-licenses.patch"
1172                 "${FILESDIR}/${P}-unbundle-sqlite.patch"
1173         )
1175         default
1177         # Cargo offline fetch workaround
1178         local TS_COMMIT="7f4a57817d58a2f134fe863674acad6bbf007228"
1179         local TS_GIT="git = \"https://github.com/tree-sitter/tree-sitter\", rev = \"${TS_COMMIT}\""
1180         local TS_PATH="path = \"${WORKDIR}/tree-sitter-${TS_COMMIT}/lib\""
1182         sed -e "s#${TS_GIT}#${TS_PATH}#" -i "${S}/Cargo.toml" || die "Cargo fetch workaround failed"
1184         export DO_STARTUP_NOTIFY="true"
1185         export APP_ICON="zed"
1186         export APP_NAME="Zed"
1187         export APP_CLI="zeditor"
1188         export APP_ID="dev.zed.Zed"
1189         export APP_ARGS="%U"
1190         # sys-devel/gettext
1191         envsubst < "crates/zed/resources/zed.desktop.in" > ${APP_ID}.desktop || die
1193         # For "View Denpendency licenses" Button in menu
1194         # This requires package *cargo-about*
1195         # Without this the button leads to crash
1196         edo ${BASH} ./script/generate-licenses
1199 src_compile() {
1200         # Set RELEASE_VERSION so it's compiled into GPUI and it knows about the version
1201         export RELEASE_VERSION="${PV}"
1202         export ZED_UPDATE_EXPLANATION='Updates are handled by portage'
1203         cargo_src_compile --package zed --package cli
1206 src_test() {
1207         cargo_src_test --all-features
1210 src_install() {
1211         newbin $(cargo_target_dir)/cli zeditor
1212         # hard-coded in crates/cli/src/main.rs
1213         # ["../libexec/zed-editor", "../lib/zed/zed-editor", "./zed"]
1214         exeinto "/usr/libexec"
1215         newexe $(cargo_target_dir)/zed zed-editor
1217         newicon -s 512 crates/zed/resources/app-icon.png zed.png
1218         newicon -s 1024 crates/zed/resources/app-icon@2x.png zed.png
1219         domenu "${S}/${APP_ID}.desktop"