# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.13.2 EAPI=8 CRATES=" adler@1.0.2 ahash@0.8.11 aho-corasick@1.1.2 allocator-api2@0.2.16 alphanumeric-sort@1.5.3 android-tzdata@0.1.1 android_system_properties@0.1.5 ansi-to-tui@3.1.0 anstream@0.6.13 anstyle-parse@0.2.3 anstyle-query@1.0.2 anstyle-wincon@3.0.2 anstyle@1.0.6 autocfg@1.1.0 base64@0.21.7 bit_field@0.10.2 bitflags@1.3.2 bitflags@2.4.2 bstr@1.9.1 bumpalo@3.15.4 bytemuck@1.15.0 byteorder@1.5.0 cassowary@0.3.0 castaway@0.2.2 cc@1.0.90 cfg-if@1.0.0 cfg_aliases@0.1.1 chrono@0.4.35 clap@4.5.3 clap_builder@4.5.2 clap_complete@4.5.1 clap_derive@4.5.3 clap_lex@0.7.0 clipboard-win@4.5.0 color_quant@1.1.0 colorchoice@1.0.0 colors-transform@0.2.11 compact_str@0.7.1 const_fn@0.4.9 const_format@0.2.32 const_format_proc_macros@0.2.32 core-foundation-sys@0.8.6 crc32fast@1.4.0 crossbeam-channel@0.5.12 crossbeam-deque@0.8.5 crossbeam-epoch@0.9.18 crossbeam-utils@0.8.19 crunchy@0.2.2 deranged@0.3.11 dirs-next@2.0.0 dirs-sys-next@0.1.2 dirs-sys@0.4.1 dirs@5.0.1 dyn-clone@1.0.17 either@1.10.0 endian-type@0.1.2 equivalent@1.0.1 errno@0.3.8 error-code@2.3.1 exr@1.72.0 fd-lock@3.0.13 fdeflate@0.3.4 filetime@0.2.23 flate2@1.0.28 flume@0.11.0 form_urlencoded@1.2.1 fsevent-sys@4.1.0 getrandom@0.2.12 gif@0.13.1 git2@0.18.2 globset@0.4.14 half@2.4.0 hashbrown@0.14.3 heck@0.4.1 heck@0.5.0 home@0.5.9 iana-time-zone-haiku@0.1.2 iana-time-zone@0.1.60 icy_sixel@0.1.2 idna@0.5.0 image@0.24.9 indexmap@2.2.5 indoc@2.0.4 inotify-sys@0.1.5 inotify@0.9.6 is-docker@0.2.0 is-wsl@0.4.0 is_debug@1.0.1 itertools@0.12.1 itoa@1.0.10 jobserver@0.1.28 jpeg-decoder@0.3.1 js-sys@0.3.69 kqueue-sys@1.0.4 kqueue@1.0.8 lazy_static@1.4.0 lebe@0.5.2 libc@0.2.153 libgit2-sys@0.16.2+1.7.2 libredox@0.0.1 libredox@0.0.2 libz-sys@1.1.15 linux-raw-sys@0.4.13 lock_api@0.4.11 log@0.4.21 lru@0.12.3 lscolors@0.17.0 memchr@2.7.1 minimal-lexical@0.2.1 miniz_oxide@0.7.2 mio@0.8.11 nibble_vec@0.1.0 nix@0.26.4 nix@0.28.0 nom@7.1.3 notify@6.1.1 nu-ansi-term@0.50.0 num-conv@0.1.0 num-traits@0.2.18 num_threads@0.1.7 numtoa@0.1.0 once_cell@1.19.0 open@5.1.2 option-ext@0.2.0 os_str_bytes@6.6.1 paste@1.0.14 pathdiff@0.2.1 percent-encoding@2.3.1 phf@0.11.2 phf_generator@0.11.2 phf_macros@0.11.2 phf_shared@0.11.2 pkg-config@0.3.30 png@0.17.13 powerfmt@0.2.0 ppv-lite86@0.2.17 proc-macro2@1.0.79 qoi@0.4.1 quote@1.0.35 radix_trie@0.2.1 rand@0.8.5 rand_chacha@0.3.1 rand_core@0.6.4 ratatui-image@0.8.1 ratatui@0.26.1 rayon-core@1.12.1 rayon@1.9.0 redox_syscall@0.4.1 redox_termios@0.1.3 redox_users@0.4.4 regex-automata@0.4.6 regex-syntax@0.8.2 regex@1.10.3 rustix@0.38.31 rustversion@1.0.14 rustyline@12.0.0 ryu@1.0.17 same-file@1.0.6 scopeguard@1.2.0 serde@1.0.197 serde_derive@1.0.197 serde_spanned@0.6.5 shadow-rs@0.26.1 shell-words@1.1.0 shellexpand@3.1.0 signal-hook-registry@1.4.1 signal-hook@0.3.17 simd-adler32@0.3.7 siphasher@0.3.11 smallvec@1.13.1 spin@0.9.8 stability@0.1.1 static_assertions@1.1.0 str-buf@1.0.6 strsim@0.11.0 strum@0.26.2 strum_macros@0.26.2 syn@1.0.109 syn@2.0.52 termion@2.0.3 termion@3.0.0 thiserror-impl@1.0.58 thiserror@1.0.58 tiff@0.9.1 time-core@0.1.2 time-macros@0.2.17 time@0.3.34 tinyvec@1.6.0 tinyvec_macros@0.1.1 toml@0.8.11 toml_datetime@0.6.5 toml_edit@0.22.7 tz-rs@0.6.14 tzdb@0.6.1 tzdb_data@0.1.2 unicode-bidi@0.3.15 unicode-ident@1.0.12 unicode-normalization@0.1.23 unicode-segmentation@1.11.0 unicode-width@0.1.11 unicode-xid@0.2.4 url@2.5.0 utf8parse@0.2.1 uuid-macro-internal@1.7.0 uuid@1.7.0 vcpkg@0.2.15 version_check@0.9.4 walkdir@2.5.0 wasi@0.11.0+wasi-snapshot-preview1 wasite@0.1.0 wasm-bindgen-backend@0.2.92 wasm-bindgen-macro-support@0.2.92 wasm-bindgen-macro@0.2.92 wasm-bindgen-shared@0.2.92 wasm-bindgen@0.2.92 web-sys@0.3.69 weezl@0.1.8 whoami@1.5.1 winapi-i686-pc-windows-gnu@0.4.0 winapi-util@0.1.6 winapi-x86_64-pc-windows-gnu@0.4.0 winapi@0.3.9 windows-core@0.52.0 windows-sys@0.48.0 windows-sys@0.52.0 windows-targets@0.48.5 windows-targets@0.52.4 windows_aarch64_gnullvm@0.48.5 windows_aarch64_gnullvm@0.52.4 windows_aarch64_msvc@0.48.5 windows_aarch64_msvc@0.52.4 windows_i686_gnu@0.48.5 windows_i686_gnu@0.52.4 windows_i686_msvc@0.48.5 windows_i686_msvc@0.52.4 windows_x86_64_gnu@0.48.5 windows_x86_64_gnu@0.52.4 windows_x86_64_gnullvm@0.48.5 windows_x86_64_gnullvm@0.52.4 windows_x86_64_msvc@0.48.5 windows_x86_64_msvc@0.52.4 winnow@0.6.5 xdg@2.5.2 zerocopy-derive@0.7.32 zerocopy@0.7.32 zune-inflate@0.2.54 " inherit cargo DESCRIPTION="Terminal file manager inspired by ranger" HOMEPAGE="https://github.com/kamiyaa/joshuto" SRC_URI=" https://github.com/kamiyaa/joshuto/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS} " LICENSE="LGPL-3" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC MIT MIT-0 MPL-2.0 Unicode-DFS-2016 ZLIB " SLOT="0" KEYWORDS="~amd64" IUSE="X wayland +fzf" RDEPEND=" fzf? ( app-shells/fzf ) wayland? ( gui-apps/wl-clipboard ) X? ( x11-misc/xclip x11-misc/xsel ) " RESTRICT="mirror" # rust does not use *FLAGS from make.conf, silence portage warning # update with proper path to binaries this crate installs, omit leading / QA_FLAGS_IGNORED="usr/bin/${PN}" src_compile() { # project set strip=true in [profile.release] # portage complains: QA Notice: Pre-stripped files found # let portage do the strip export CARGO_PROFILE_RELEASE_STRIP=false cargo_src_compile } pkg_postinst() { elog "" elog "For proper devicons support, correct patched font is needed" elog "For example:" elog "https://github.com/ryanoasis/nerd-fonts" elog "or media-fonts/nerd-fonts" elog "" }