app-editors/appflowy-bin: add 0.7.4, drop 0.7.3
[gentoo-zh.git] / net-proxy / clash-nyanpasu / clash-nyanpasu-1.5.1.ebuild
blobf2c334ae642a20f5341bcbcb6e14a474461ee64a
1 # Copyright 2023-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         addr2line@0.21.0
10         adler@1.0.2
11         aes@0.8.4
12         ahash@0.7.8
13         ahash@0.8.11
14         aho-corasick@1.1.3
15         aligned-vec@0.5.0
16         alloc-no-stdlib@2.0.4
17         alloc-stdlib@0.2.2
18         allocator-api2@0.2.16
19         android-tzdata@0.1.1
20         android_system_properties@0.1.5
21         anstream@0.6.13
22         anstyle-parse@0.2.3
23         anstyle-query@1.0.2
24         anstyle-wincon@3.0.2
25         anstyle@1.0.6
26         anyhow@1.0.81
27         arbitrary@1.3.2
28         arc-swap@1.7.1
29         arg_enum_proc_macro@0.3.4
30         arrayvec@0.7.4
31         async-broadcast@0.5.1
32         async-channel@1.9.0
33         async-channel@2.2.0
34         async-executor@1.9.1
35         async-fs@1.6.0
36         async-io@1.13.0
37         async-io@2.3.2
38         async-lock@2.8.0
39         async-lock@3.3.0
40         async-net@1.8.0
41         async-process@1.8.1
42         async-recursion@1.1.0
43         async-signal@0.2.5
44         async-task@4.7.0
45         async-trait@0.1.79
46         atk-sys@0.15.1
47         atk@0.15.1
48         atomic-waker@1.1.2
49         auto-launch@0.5.0
50         autocfg@1.2.0
51         av1-grain@0.2.3
52         avif-serialize@0.8.1
53         backon@0.4.4
54         backtrace@0.3.71
55         base64@0.13.1
56         base64@0.21.7
57         base64@0.22.0
58         base64ct@1.6.0
59         bindgen@0.69.4
60         bit_field@0.10.2
61         bitflags@1.3.2
62         bitflags@2.5.0
63         bitstream-io@2.2.0
64         block-buffer@0.10.4
65         block-buffer@0.9.0
66         block@0.1.6
67         blocking@1.5.1
68         brotli-decompressor@2.5.1
69         brotli@3.5.0
70         bstr@1.9.1
71         built@0.7.1
72         bumpalo@3.15.4
73         bytemuck@1.15.0
74         byteorder@1.5.0
75         bytes@1.6.0
76         bzip2-sys@0.1.11+1.0.8
77         bzip2@0.4.4
78         cairo-rs@0.15.12
79         cairo-sys-rs@0.15.1
80         cargo_toml@0.15.3
81         cc@1.0.90
82         cesu8@1.1.0
83         cexpr@0.6.0
84         cfb@0.7.3
85         cfg-expr@0.15.7
86         cfg-expr@0.9.1
87         cfg-if@1.0.0
88         cfg_aliases@0.1.1
89         chrono@0.4.37
90         cipher@0.4.4
91         clang-sys@1.7.0
92         clap@4.5.4
93         clap_builder@4.5.2
94         clap_derive@4.5.4
95         clap_lex@0.7.0
96         cocoa-foundation@0.1.2
97         cocoa@0.24.1
98         cocoa@0.25.0
99         color_quant@1.1.0
100         colorchoice@1.0.0
101         combine@4.6.6
102         concat-idents@1.1.5
103         concurrent-queue@2.4.0
104         constant_time_eq@0.1.5
105         convert_case@0.4.0
106         core-foundation-sys@0.8.6
107         core-foundation@0.9.4
108         core-graphics-types@0.1.3
109         core-graphics@0.22.3
110         core-graphics@0.23.1
111         cpufeatures@0.2.12
112         crc32fast@1.4.0
113         cron_clock@0.8.0
114         crossbeam-channel@0.5.12
115         crossbeam-deque@0.8.5
116         crossbeam-epoch@0.9.18
117         crossbeam-utils@0.8.19
118         crunchy@0.2.2
119         crypto-common@0.1.6
120         cssparser-macros@0.6.1
121         cssparser@0.27.2
122         ctor@0.2.7
123         ctrlc@3.4.4
124         cursor-icon@1.1.0
125         darling@0.20.8
126         darling_core@0.20.8
127         darling_macro@0.20.8
128         dashmap@4.0.2
129         dashmap@5.5.3
130         data-encoding@2.5.0
131         deelevate@0.2.0
132         delay_timer@0.11.5
133         deranged@0.3.11
134         derivative@2.2.0
135         derive_more@0.99.17
136         digest@0.10.7
137         digest@0.9.0
138         dirs-next@2.0.0
139         dirs-sys-next@0.1.2
140         dirs-sys@0.3.7
141         dirs-sys@0.4.1
142         dirs@4.0.0
143         dirs@5.0.1
144         dispatch@0.2.0
145         display-info@0.5.0
146         dlib@0.5.2
147         downcast-rs@1.2.0
148         dtoa-short@0.3.4
149         dtoa@1.0.9
150         dunce@1.0.4
151         dyn-clone@1.0.17
152         either@1.10.0
153         embed-resource@2.4.2
154         embed_plist@1.2.2
155         encoding_rs@0.8.33
156         enumflags2@0.7.9
157         enumflags2_derive@0.7.9
158         equivalent@1.0.1
159         errno@0.3.8
160         event-listener-strategy@0.4.0
161         event-listener-strategy@0.5.1
162         event-listener@2.5.3
163         event-listener@3.1.0
164         event-listener@4.0.3
165         event-listener@5.2.0
166         exr@1.72.0
167         fast_image_resize@3.0.4
168         fastrand@1.9.0
169         fastrand@2.0.2
170         fdeflate@0.3.4
171         field-offset@0.3.6
172         filedescriptor@0.8.2
173         filetime@0.2.23
174         fixedbitset@0.4.2
175         flate2@1.0.28
176         float-cmp@0.9.0
177         flume@0.11.0
178         fnv@1.0.7
179         foreign-types-macros@0.2.3
180         foreign-types-shared@0.1.1
181         foreign-types-shared@0.3.1
182         foreign-types@0.3.2
183         foreign-types@0.5.0
184         form_urlencoded@1.2.1
185         fs_extra@1.3.0
186         futf@0.1.5
187         futures-channel@0.3.30
188         futures-core@0.3.30
189         futures-executor@0.3.30
190         futures-io@0.3.30
191         futures-lite@1.13.0
192         futures-lite@2.3.0
193         futures-macro@0.3.30
194         futures-sink@0.3.30
195         futures-task@0.3.30
196         futures-util@0.3.30
197         futures@0.3.30
198         fxhash@0.2.1
199         gdk-pixbuf-sys@0.15.10
200         gdk-pixbuf@0.15.11
201         gdk-sys@0.15.1
202         gdk@0.15.4
203         gdkwayland-sys@0.15.3
204         gdkx11-sys@0.15.1
205         generator@0.7.5
206         generic-array@0.14.7
207         getrandom@0.1.16
208         getrandom@0.2.12
209         gif@0.13.1
210         gimli@0.28.1
211         gio-sys@0.15.10
212         gio@0.15.12
213         glib-macros@0.15.13
214         glib-sys@0.15.10
215         glib@0.15.12
216         glob@0.3.1
217         globset@0.4.14
218         globwalk@0.8.1
219         gobject-sys@0.15.10
220         gtk-sys@0.15.3
221         gtk3-macros@0.15.6
222         gtk@0.15.5
223         h2@0.3.25
224         half@2.4.0
225         halfbrown@0.2.5
226         handlebars@3.5.5
227         hashbrown@0.12.3
228         hashbrown@0.14.3
229         headers-core@0.2.0
230         headers@0.3.9
231         heck@0.3.3
232         heck@0.4.1
233         heck@0.5.0
234         hermit-abi@0.3.9
235         hex@0.4.3
236         hmac@0.12.1
237         home@0.5.9
238         html5ever@0.26.0
239         http-body@0.4.6
240         http-range@0.1.5
241         http@0.2.12
242         http@1.1.0
243         httparse@1.8.0
244         httpdate@1.0.3
245         hyper-rustls@0.24.2
246         hyper-tls@0.5.0
247         hyper@0.14.28
248         iana-time-zone-haiku@0.1.2
249         iana-time-zone@0.1.60
250         ico@0.3.0
251         ident_case@1.0.1
252         idna@0.5.0
253         ignore@0.4.22
254         image-webp@0.1.1
255         image@0.24.9
256         image@0.25.1
257         imgref@1.10.1
258         indexmap@1.9.3
259         indexmap@2.2.6
260         infer@0.13.0
261         infer@0.9.0
262         inout@0.1.3
263         instant@0.1.12
264         interfaces@0.0.9
265         interpolate_name@0.2.4
266         interprocess@1.2.1
267         io-lifetimes@1.0.11
268         ipnet@2.9.0
269         iptools@0.2.5
270         is-docker@0.2.0
271         is-wsl@0.4.0
272         itertools@0.12.1
273         itoa@0.4.8
274         itoa@1.0.11
275         javascriptcore-rs-sys@0.4.0
276         javascriptcore-rs@0.16.0
277         jni-sys@0.3.0
278         jni@0.20.0
279         jobserver@0.1.28
280         jpeg-decoder@0.3.1
281         js-sys@0.3.69
282         json-patch@1.2.0
283         kuchikiki@0.8.2
284         lazy_static@1.4.0
285         lazycell@1.3.0
286         lebe@0.5.2
287         lexical-core@0.8.5
288         lexical-parse-float@0.8.5
289         lexical-parse-integer@0.8.6
290         lexical-util@0.8.5
291         lexical-write-float@0.8.5
292         lexical-write-integer@0.8.5
293         libappindicator-sys@0.7.3
294         libappindicator@0.7.1
295         libc@0.2.153
296         libfuzzer-sys@0.4.7
297         libloading@0.7.4
298         libloading@0.8.3
299         libredox@0.1.3
300         librocksdb-sys@0.16.0+8.10.0
301         libz-sys@1.1.16
302         line-wrap@0.2.0
303         linked-hash-map@0.5.6
304         linux-raw-sys@0.3.8
305         linux-raw-sys@0.4.13
306         lock_api@0.4.11
307         log@0.4.21
308         loom@0.5.6
309         loop9@0.1.5
310         lru@0.7.8
311         lz4-sys@1.9.4
312         mac-notification-sys@0.6.1
313         mac@0.1.1
314         malloc_buf@0.0.6
315         markup5ever@0.11.0
316         matchers@0.1.0
317         matches@0.1.10
318         maybe-rayon@0.1.1
319         memchr@2.7.2
320         memmap2@0.9.4
321         memmem@0.1.1
322         memoffset@0.6.5
323         memoffset@0.7.1
324         memoffset@0.9.1
325         mime@0.3.17
326         mime_guess@2.0.4
327         minimal-lexical@0.2.1
328         minisign-verify@0.2.1
329         miniz_oxide@0.7.2
330         mio@0.8.11
331         multer@2.1.0
332         nanoid@0.4.0
333         native-tls@0.2.11
334         ndk-context@0.1.1
335         ndk-sys@0.3.0
336         ndk@0.6.0
337         new_debug_unreachable@1.0.6
338         nix@0.23.2
339         nix@0.26.4
340         nix@0.28.0
341         nodrop@0.1.14
342         nom@5.1.3
343         nom@7.1.3
344         noop_proc_macro@0.3.0
345         normpath@1.2.0
346         notify-rust@4.10.0
347         ntapi@0.4.1
348         nu-ansi-term@0.46.0
349         num-bigint@0.4.4
350         num-conv@0.1.0
351         num-derive@0.3.3
352         num-derive@0.4.2
353         num-integer@0.1.46
354         num-rational@0.4.1
355         num-traits@0.2.18
356         num_cpus@1.16.0
357         num_enum@0.5.11
358         num_enum_derive@0.5.11
359         objc-foundation@0.1.1
360         objc-sys@0.3.2
361         objc2-encode@4.0.0
362         objc2@0.5.0
363         objc@0.2.7
364         objc_exception@0.1.2
365         objc_id@0.1.1
366         object@0.32.2
367         once_cell@1.19.0
368         opaque-debug@0.3.1
369         open@3.2.0
370         open@5.1.2
371         openssl-macros@0.1.1
372         openssl-probe@0.1.5
373         openssl-src@300.2.3+3.2.1
374         openssl-sys@0.9.102
375         openssl@0.10.64
376         option-ext@0.2.0
377         ordered-float@2.10.1
378         ordered-stream@0.2.0
379         os_info@3.8.2
380         os_pipe@1.1.5
381         overload@0.1.1
382         pango-sys@0.15.10
383         pango@0.15.10
384         parking@2.2.0
385         parking_lot@0.12.1
386         parking_lot_core@0.9.9
387         password-hash@0.4.2
388         paste@1.0.14
389         pathdiff@0.2.1
390         pathsearch@0.2.0
391         pbkdf2@0.11.0
392         percent-encoding@2.3.1
393         pest@2.7.9
394         pest_derive@2.7.9
395         pest_generator@2.7.9
396         pest_meta@2.7.9
397         petgraph@0.6.4
398         phf@0.10.1
399         phf@0.11.2
400         phf@0.8.0
401         phf_codegen@0.10.0
402         phf_codegen@0.11.2
403         phf_codegen@0.8.0
404         phf_generator@0.10.0
405         phf_generator@0.11.2
406         phf_generator@0.8.0
407         phf_macros@0.11.2
408         phf_macros@0.8.0
409         phf_shared@0.10.0
410         phf_shared@0.11.2
411         phf_shared@0.8.0
412         pin-project-internal@1.1.5
413         pin-project-lite@0.2.14
414         pin-project@1.1.5
415         pin-utils@0.1.0
416         piper@0.2.1
417         pkg-config@0.3.30
418         plist@1.6.1
419         png@0.17.13
420         polling@2.8.0
421         polling@3.6.0
422         port_scanner@0.1.5
423         powerfmt@0.2.0
424         ppv-lite86@0.2.17
425         precomputed-hash@0.1.1
426         proc-macro-crate@1.3.1
427         proc-macro-error-attr@1.0.4
428         proc-macro-error@1.0.4
429         proc-macro-hack@0.5.20+deprecated
430         proc-macro2@1.0.79
431         profiling-procmacros@1.0.15
432         profiling@1.0.15
433         qoi@0.4.1
434         quick-error@2.0.1
435         quick-xml@0.30.0
436         quick-xml@0.31.0
437         quote@1.0.35
438         rand@0.7.3
439         rand@0.8.5
440         rand_chacha@0.2.2
441         rand_chacha@0.3.1
442         rand_core@0.5.1
443         rand_core@0.6.4
444         rand_hc@0.2.0
445         rand_pcg@0.2.1
446         rav1e@0.7.1
447         ravif@0.11.5
448         raw-window-handle@0.5.2
449         raw-window-handle@0.6.0
450         rayon-core@1.12.1
451         rayon@1.10.0
452         redox_syscall@0.4.1
453         redox_users@0.4.5
454         ref-cast-impl@1.0.22
455         ref-cast@1.0.22
456         regex-automata@0.1.10
457         regex-automata@0.4.6
458         regex-syntax@0.6.29
459         regex-syntax@0.8.3
460         regex@1.10.4
461         reqwest@0.11.27
462         rfd@0.10.0
463         rgb@0.8.37
464         ring@0.17.8
465         rocksdb@0.22.0
466         rquickjs-core@0.5.1
467         rquickjs-sys@0.5.1
468         rquickjs@0.5.1
469         rs-snowflake@0.6.0
470         runas@1.2.0
471         rust-i18n-macro@3.0.0
472         rust-i18n-support@3.0.1
473         rust-i18n@3.0.1
474         rustc-demangle@0.1.23
475         rustc-hash@1.1.0
476         rustc_version@0.2.3
477         rustc_version@0.4.0
478         rustix@0.37.27
479         rustix@0.38.32
480         rustls-pemfile@1.0.4
481         rustls-webpki@0.101.7
482         rustls@0.21.10
483         rustversion@1.0.14
484         ryu@1.0.17
485         same-file@1.0.6
486         schannel@0.1.23
487         scoped-tls@1.0.1
488         scopeguard@1.2.0
489         sct@0.7.1
490         security-framework-sys@2.10.0
491         security-framework@2.10.0
492         selectors@0.22.0
493         semver-parser@0.10.2
494         semver-parser@0.7.0
495         semver@0.11.0
496         semver@0.9.0
497         semver@1.0.22
498         serde@1.0.197
499         serde_derive@1.0.197
500         serde_json@1.0.115
501         serde_repr@0.1.18
502         serde_spanned@0.6.5
503         serde_urlencoded@0.7.1
504         serde_with@3.7.0
505         serde_with_macros@3.7.0
506         serde_yaml@0.8.26
507         serde_yaml@0.9.34+deprecated
508         serialize-to-javascript-impl@0.1.1
509         serialize-to-javascript@0.1.1
510         servo_arc@0.1.1
511         sha1@0.10.6
512         sha2@0.10.8
513         sha2@0.9.9
514         sharded-slab@0.1.7
515         shared_child@1.0.0
516         shared_library@0.1.9
517         shlex@1.3.0
518         signal-hook-registry@1.4.1
519         signal-hook@0.1.17
520         simd-adler32@0.3.7
521         simd-json@0.13.9
522         simd_helpers@0.1.0
523         simdutf8@0.1.4
524         single-instance@0.3.3
525         siphasher@0.3.11
526         slab@0.4.9
527         smallvec@1.13.2
528         smithay-client-toolkit@0.18.1
529         smol@1.3.0
530         socket2@0.4.10
531         socket2@0.5.6
532         soup2-sys@0.2.0
533         soup2@0.2.1
534         spin@0.9.8
535         stable_deref_trait@1.2.0
536         state@0.5.3
537         static_assertions@1.1.0
538         string_cache@0.8.7
539         string_cache_codegen@0.5.2
540         strsim@0.10.0
541         strsim@0.11.0
542         subtle@2.5.0
543         syn@1.0.109
544         syn@2.0.57
545         sync_wrapper@0.1.2
546         sys-locale@0.2.4
547         sysinfo@0.30.8
548         system-configuration-sys@0.5.0
549         system-configuration@0.5.1
550         system-deps@5.0.0
551         system-deps@6.2.2
552         tao-macros@0.1.2
553         tao@0.16.8
554         tar@0.4.40
555         target-lexicon@0.12.14
556         tauri-build@1.5.1
557         tauri-codegen@1.4.2
558         tauri-macros@1.4.3
559         tauri-runtime-wry@0.14.5
560         tauri-runtime@0.14.2
561         tauri-utils@1.5.3
562         tauri-winres@0.1.1
563         tauri-winrt-notification@0.1.3
564         tauri@1.6.1
565         tempfile@3.10.1
566         tendril@0.4.3
567         terminfo@0.7.5
568         termios@0.3.3
569         termwiz@0.15.0
570         thin-slice@0.1.1
571         thiserror-impl@1.0.58
572         thiserror@1.0.58
573         thread-id@4.2.1
574         thread_local@1.1.8
575         tiff@0.9.1
576         time-core@0.1.2
577         time-macros@0.2.17
578         time@0.3.34
579         tinyvec@1.6.0
580         tinyvec_macros@0.1.1
581         to_method@1.1.0
582         tokio-macros@2.2.0
583         tokio-native-tls@0.3.1
584         tokio-rustls@0.24.1
585         tokio-tungstenite@0.21.0
586         tokio-util@0.7.10
587         tokio@1.37.0
588         toml@0.5.11
589         toml@0.7.8
590         toml@0.8.12
591         toml_datetime@0.6.5
592         toml_edit@0.19.15
593         toml_edit@0.22.9
594         tower-service@0.3.2
595         tracing-appender@0.2.3
596         tracing-attributes@0.1.27
597         tracing-core@0.1.32
598         tracing-error@0.2.0
599         tracing-futures@0.2.5
600         tracing-log@0.2.0
601         tracing-serde@0.1.3
602         tracing-subscriber@0.3.18
603         tracing@0.1.40
604         treediff@4.0.3
605         triomphe@0.1.11
606         try-lock@0.2.5
607         tungstenite@0.21.0
608         typenum@1.17.0
609         ucd-trie@0.1.6
610         uds_windows@1.1.0
611         unicase@2.7.0
612         unicode-bidi@0.3.15
613         unicode-ident@1.0.12
614         unicode-normalization@0.1.23
615         unicode-segmentation@1.11.0
616         unsafe-libyaml@0.2.11
617         untrusted@0.9.0
618         url@2.5.0
619         utf-8@0.7.6
620         utf8parse@0.2.1
621         uuid@1.8.0
622         v_frame@0.3.8
623         valuable@0.1.0
624         value-trait@0.8.1
625         vcpkg@0.2.15
626         version-compare@0.0.11
627         version-compare@0.2.0
628         version_check@0.9.4
629         vswhom-sys@0.1.2
630         vswhom@0.1.0
631         vtparse@0.6.2
632         waker-fn@1.1.1
633         walkdir@2.5.0
634         want@0.3.1
635         warp@0.3.7
636         wasi@0.11.0+wasi-snapshot-preview1
637         wasi@0.9.0+wasi-snapshot-preview1
638         wasm-bindgen-backend@0.2.92
639         wasm-bindgen-futures@0.4.42
640         wasm-bindgen-macro-support@0.2.92
641         wasm-bindgen-macro@0.2.92
642         wasm-bindgen-shared@0.2.92
643         wasm-bindgen@0.2.92
644         wasm-streams@0.4.0
645         wayland-backend@0.3.3
646         wayland-client@0.31.2
647         wayland-csd-frame@0.3.0
648         wayland-cursor@0.31.1
649         wayland-protocols-wlr@0.2.0
650         wayland-protocols@0.31.2
651         wayland-scanner@0.31.1
652         wayland-sys@0.31.1
653         web-sys@0.3.69
654         webkit2gtk-sys@0.18.0
655         webkit2gtk@0.18.2
656         webpki-roots@0.25.4
657         webview2-com-macros@0.6.0
658         webview2-com-sys@0.19.0
659         webview2-com@0.19.1
660         weezl@0.1.8
661         which@4.4.2
662         which@6.0.1
663         widestring@0.4.3
664         widestring@1.0.2
665         winapi-i686-pc-windows-gnu@0.4.0
666         winapi-util@0.1.6
667         winapi-x86_64-pc-windows-gnu@0.4.0
668         winapi@0.3.9
669         window-shadows@0.2.2
670         window-vibrancy@0.5.0
671         windows-bindgen@0.39.0
672         windows-core@0.51.1
673         windows-core@0.52.0
674         windows-core@0.54.0
675         windows-implement@0.39.0
676         windows-metadata@0.39.0
677         windows-result@0.1.0
678         windows-sys@0.42.0
679         windows-sys@0.45.0
680         windows-sys@0.48.0
681         windows-sys@0.52.0
682         windows-targets@0.42.2
683         windows-targets@0.48.5
684         windows-targets@0.52.4
685         windows-tokens@0.39.0
686         windows-version@0.1.0
687         windows@0.37.0
688         windows@0.39.0
689         windows@0.48.0
690         windows@0.51.1
691         windows@0.52.0
692         windows@0.54.0
693         windows_aarch64_gnullvm@0.42.2
694         windows_aarch64_gnullvm@0.48.5
695         windows_aarch64_gnullvm@0.52.4
696         windows_aarch64_msvc@0.37.0
697         windows_aarch64_msvc@0.39.0
698         windows_aarch64_msvc@0.42.2
699         windows_aarch64_msvc@0.48.5
700         windows_aarch64_msvc@0.52.4
701         windows_i686_gnu@0.37.0
702         windows_i686_gnu@0.39.0
703         windows_i686_gnu@0.42.2
704         windows_i686_gnu@0.48.5
705         windows_i686_gnu@0.52.4
706         windows_i686_msvc@0.37.0
707         windows_i686_msvc@0.39.0
708         windows_i686_msvc@0.42.2
709         windows_i686_msvc@0.48.5
710         windows_i686_msvc@0.52.4
711         windows_x86_64_gnu@0.37.0
712         windows_x86_64_gnu@0.39.0
713         windows_x86_64_gnu@0.42.2
714         windows_x86_64_gnu@0.48.5
715         windows_x86_64_gnu@0.52.4
716         windows_x86_64_gnullvm@0.42.2
717         windows_x86_64_gnullvm@0.48.5
718         windows_x86_64_gnullvm@0.52.4
719         windows_x86_64_msvc@0.37.0
720         windows_x86_64_msvc@0.39.0
721         windows_x86_64_msvc@0.42.2
722         windows_x86_64_msvc@0.48.5
723         windows_x86_64_msvc@0.52.4
724         winnow@0.5.40
725         winnow@0.6.5
726         winreg@0.10.1
727         winreg@0.50.0
728         winreg@0.52.0
729         winsafe@0.0.19
730         wry@0.24.7
731         x11-dl@2.21.0
732         x11@2.21.0
733         xattr@1.3.1
734         xcb@1.3.0
735         xcursor@0.3.5
736         xdg-home@1.1.0
737         xkeysym@0.2.0
738         yaml-rust@0.4.5
739         zbus@3.15.2
740         zbus_macros@3.15.2
741         zbus_names@2.6.1
742         zerocopy-derive@0.7.32
743         zerocopy@0.7.32
744         zip-extensions@0.6.2
745         zip@0.6.6
746         zstd-safe@5.0.2+zstd.1.5.2
747         zstd-sys@2.0.10+zstd.1.5.6
748         zstd@0.11.2+zstd.1.5.2
749         zune-core@0.4.12
750         zune-inflate@0.2.54
751         zune-jpeg@0.4.11
752         zvariant@3.15.2
753         zvariant_derive@3.15.2
754         zvariant_utils@1.0.1
757 declare -A GIT_CRATES=(
758         [gunzip]='https://github.com/TechHara/gunzip;adfed97f7fa4ad705364e7fc151eaaf0950cd6ba;gunzip-%commit%'
761 inherit cargo desktop xdg
763 DESCRIPTION="Clash GUI based on tauri"
764 HOMEPAGE="https://github.com/LibNyanpasu/clash-nyanpasu"
765 SRC_URI="
766         https://github.com/LibNyanpasu/clash-nyanpasu/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
767         ${CARGO_CRATE_URIS}
769 SRC_URI+="https://github.com/liuyujielol/gentoo-go-deps/releases/download/${P}/${P}-node_modules-pnpm.tar.xz"
771 LICENSE="GPL-3"
772 # Dependent crate licenses
773 LICENSE+="
774         Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 ISC MIT
775         MPL-2.0 Unicode-DFS-2016 WTFPL-2
777 SLOT="0"
778 KEYWORDS="~amd64"
779 IUSE="clash-rs +mihomo"
780 REQUIRED_USE="
781         || ( clash-rs mihomo )
784 DEPEND="
785         app-alternatives/v2ray-geoip
786         app-alternatives/v2ray-geosite
787         dev-libs/glib:2
788         dev-libs/openssl:=
789         dev-libs/libayatana-appindicator
790         net-libs/libsoup:2.4
791         net-libs/webkit-gtk:4=
792         x11-libs/cairo
793         x11-libs/gdk-pixbuf:2
794         x11-libs/gtk+:3
796 RDEPEND="
797         ${DEPEND}
798         clash-rs? ( net-proxy/clash-rs )
799         mihomo? ( net-proxy/mihomo )
801 BDEPEND="
802         <dev-util/tauri-cli-2.0.0_alpha1
803         app-misc/jq
804         dev-lang/typescript
805         dev-lang/quickjs
806         sys-apps/moreutils
807         sys-apps/pnpm
810 src_prepare() {
811         ln -sv "${WORKDIR}/node_modules" "${S}/node_modules" || die
812         # pretend we have prebuilt binaries
813         mkdir -pv "${S}/backend/tauri/"{sidecar,resources} || die
814         touch "${S}/backend/tauri/sidecar/clash-x86_64-unknown-linux-gnu"
815         touch "${S}/backend/tauri/sidecar/clash-rs-x86_64-unknown-linux-gnu"
816         touch "${S}/backend/tauri/sidecar/mihomo-x86_64-unknown-linux-gnu"
817         touch "${S}/backend/tauri/sidecar/mihomo-alpha-x86_64-unknown-linux-gnu"
818         touch "${S}/backend/tauri/resources/Country.mmdb"
820         jq 'del(.scripts.prepare)' package.json|sponge package.json
821         cd ./backend/tauri
822         # only build the excutable
823         jq '.tauri.bundle.active = false' tauri.conf.json|sponge tauri.conf.json
824         # disable updater
825         jq '.tauri.updater.active = false' tauri.conf.json|sponge tauri.conf.json
827         default
830 src_compile() {
831         cargo-tauri build $(usex debug "-d" "") || die "cargo-tauri build failed"
832         #pnpm build || die
835 src_install() {
836         dobin backend/target/$(usex debug "debug" "release")/clash-nyanpasu
838         newicon -s 32 backend/tauri/icons/32x32.png clash-nyanpasu.png
839         newicon -s 128 backend/tauri/icons/128x128.png clash-nyanpasu.png
840         newicon -s 256 backend/tauri/icons/128x128@2x.png clash-nyanpasu.png
841         newicon -s scalable src/assets/image/logo.svg clash-nyanpasu.svg
843         make_desktop_entry clash-nyanpasu clash-nyanpasu clash-nyanpasu 'Network;Development' 'Terminal=false'
845         dosym -r "/usr/share/v2ray/geosite.dat" "/usr/lib/${PN}/resources/geosite.dat"
846         dosym -r "/usr/share/v2ray/geoip.dat" "/usr/lib/${PN}/resources/geoip.dat"