# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.14.0 EAPI=8 CRATES=" addr2line@0.20.0 adler@1.0.2 aho-corasick@1.0.4 android-tzdata@0.1.1 android_system_properties@0.1.5 ansi_term@0.12.1 anyhow@1.0.75 arrayref@0.3.7 atty@0.2.14 autocfg@0.1.8 autocfg@1.1.0 backtrace@0.3.68 base-x@0.2.11 base64@0.10.1 base64@0.13.1 base64@0.21.2 base64@0.9.3 bitflags@1.3.2 bitflags@2.4.0 block-buffer@0.7.3 block-buffer@0.9.0 block-padding@0.1.5 block@0.1.6 bumpalo@3.13.0 byte-tools@0.3.1 byteorder@1.4.3 bytes@0.4.12 bytes@1.4.0 cc@1.0.82 cfg-if@0.1.10 cfg-if@1.0.0 chbs@0.1.1 checked_int_cast@1.0.0 chrono@0.4.26 clap@2.34.0 clipboard-win@2.2.0 clipboard@0.5.0 cloudabi@0.0.3 colored@2.0.4 const_fn@0.4.9 core-foundation-sys@0.8.4 core-foundation@0.9.3 cpufeatures@0.2.9 crossbeam-channel@0.5.8 crossbeam-utils@0.7.2 crossbeam-utils@0.8.16 crossterm@0.23.2 crossterm_winapi@0.9.1 crypto-mac@0.11.1 darling@0.10.2 darling@0.12.4 darling_core@0.10.2 darling_core@0.12.4 darling_macro@0.10.2 darling_macro@0.12.4 derive_builder@0.10.2 derive_builder@0.9.0 derive_builder_core@0.10.2 derive_builder_core@0.9.0 derive_builder_macro@0.10.2 digest@0.8.1 digest@0.9.0 directories@4.0.1 dirs-next@2.0.0 dirs-sys-next@0.1.2 dirs-sys@0.3.7 discard@1.0.4 either@1.9.0 encode_unicode@1.0.0 encoding_rs@0.8.32 errno-dragonfly@0.1.2 errno@0.3.2 failure@0.1.8 failure_derive@0.1.8 fake-simd@0.1.2 fastrand@2.0.0 ffsend-api@0.7.3 filetime@0.2.22 fnv@1.0.7 foreign-types-shared@0.1.1 foreign-types@0.3.2 form_urlencoded@1.2.0 fs2@0.4.3 fuchsia-cprng@0.1.1 fuchsia-zircon-sys@0.3.3 fuchsia-zircon@0.3.3 futures-channel@0.3.28 futures-core@0.3.28 futures-io@0.3.28 futures-macro@0.3.28 futures-sink@0.3.28 futures-task@0.3.28 futures-util@0.3.28 futures@0.1.31 generic-array@0.12.4 generic-array@0.14.7 getrandom@0.2.10 gimli@0.27.3 h2@0.3.20 hashbrown@0.12.3 hermit-abi@0.1.19 hermit-abi@0.3.2 hkdf@0.11.0 hmac@0.11.0 http-body@0.4.5 http@0.2.9 httparse@1.8.0 httpdate@1.0.3 hyper-rustls@0.24.1 hyper-tls@0.5.0 hyper@0.10.16 hyper@0.14.27 iana-time-zone-haiku@0.1.2 iana-time-zone@0.1.57 ident_case@1.0.1 idna@0.1.5 idna@0.4.0 indexmap@1.9.3 iovec@0.1.4 ipnet@2.8.0 is-terminal@0.4.9 itoa@1.0.9 js-sys@0.3.64 kernel32-sys@0.2.2 language-tags@0.2.2 lazy_static@1.4.0 libc@0.2.147 linux-raw-sys@0.4.5 lock_api@0.3.4 lock_api@0.4.10 log@0.3.9 log@0.4.20 malloc_buf@0.0.6 matches@0.1.10 maybe-uninit@2.0.0 memchr@2.5.0 mime@0.2.6 mime@0.3.17 mime_guess@2.0.4 miniz_oxide@0.7.1 mio@0.6.23 mio@0.8.8 miow@0.2.2 native-tls@0.2.11 net2@0.2.39 num-traits@0.2.16 num_cpus@1.16.0 objc-foundation@0.1.1 objc@0.2.7 objc_id@0.1.1 object@0.31.1 once_cell@1.18.0 opaque-debug@0.2.3 opaque-debug@0.3.0 open@2.1.3 openssl-macros@0.1.1 openssl-probe@0.1.5 openssl-sys@0.9.91 openssl@0.10.56 parking_lot@0.12.1 parking_lot@0.9.0 parking_lot_core@0.6.3 parking_lot_core@0.9.8 pathdiff@0.2.1 pbr@1.1.1 percent-encoding@1.0.1 percent-encoding@2.3.0 pin-project-lite@0.2.12 pin-utils@0.1.0 pkg-config@0.3.27 ppv-lite86@0.2.17 prettytable-rs@0.10.0 proc-macro-hack@0.5.20+deprecated proc-macro2@1.0.66 qr2term@0.2.3 qrcode@0.12.0 quote@1.0.33 rand@0.6.5 rand@0.8.5 rand_chacha@0.1.1 rand_chacha@0.3.1 rand_core@0.3.1 rand_core@0.4.2 rand_core@0.6.4 rand_hc@0.1.0 rand_isaac@0.1.1 rand_jitter@0.1.4 rand_os@0.1.3 rand_pcg@0.1.2 rand_xorshift@0.1.1 rdrand@0.4.0 redox_syscall@0.1.57 redox_syscall@0.2.16 redox_syscall@0.3.5 redox_users@0.4.3 regex-automata@0.3.6 regex-syntax@0.7.4 regex@1.9.3 reqwest@0.11.18 ring@0.16.20 rpassword@5.0.1 rustc-demangle@0.1.23 rustc_version@0.2.3 rustix@0.38.8 rustls-pemfile@1.0.3 rustls-webpki@0.101.3 rustls@0.21.6 rustversion@1.0.14 ryu@1.0.15 safemem@0.3.3 schannel@0.1.22 scopeguard@1.2.0 sct@0.7.0 security-framework-sys@2.9.1 security-framework@2.9.2 semver-parser@0.7.0 semver@0.9.0 serde@1.0.183 serde_derive@1.0.183 serde_json@1.0.105 serde_urlencoded@0.7.1 sha-1@0.8.2 sha1@0.6.1 sha1_smol@1.0.0 sha2@0.9.9 signal-hook-mio@0.2.3 signal-hook-registry@1.4.1 signal-hook@0.3.17 slab@0.4.8 smallvec@0.6.14 smallvec@1.11.0 socket2@0.4.9 socket2@0.5.3 spin@0.5.2 standback@0.2.17 stdweb-derive@0.5.3 stdweb-internal-macros@0.2.9 stdweb-internal-runtime@0.1.5 stdweb@0.4.20 strsim@0.10.0 strsim@0.8.0 strsim@0.9.3 subtle@2.4.1 syn@1.0.109 syn@2.0.29 synstructure@0.12.6 tar@0.4.40 tempfile@3.8.0 term@0.7.0 textwrap@0.11.0 thiserror-impl@1.0.47 thiserror@1.0.47 time-macros-impl@0.1.2 time-macros@0.1.1 time@0.1.45 time@0.2.27 tinyvec@1.6.0 tinyvec_macros@0.1.1 tokio-codec@0.1.2 tokio-executor@0.1.10 tokio-io@0.1.13 tokio-native-tls@0.3.1 tokio-reactor@0.1.12 tokio-rustls@0.24.1 tokio-sync@0.1.8 tokio-tcp@0.1.4 tokio-tls@0.2.1 tokio-util@0.7.8 tokio@1.32.0 toml@0.5.11 tower-service@0.3.2 tracing-core@0.1.31 tracing@0.1.37 traitobject@0.1.0 try-lock@0.2.4 typeable@0.1.2 typenum@1.16.0 unicase@1.4.2 unicase@2.6.0 unicode-bidi@0.3.13 unicode-ident@1.0.11 unicode-normalization@0.1.22 unicode-width@0.1.10 unicode-xid@0.2.4 untrusted@0.7.1 url@1.7.2 url@2.4.0 urlshortener@3.0.2 vcpkg@0.2.15 vec_map@0.8.2 version-compare@0.0.11 version-compare@0.1.1 version_check@0.1.5 version_check@0.9.4 want@0.3.1 wasi@0.10.0+wasi-snapshot-preview1 wasi@0.11.0+wasi-snapshot-preview1 wasm-bindgen-backend@0.2.87 wasm-bindgen-futures@0.4.37 wasm-bindgen-macro-support@0.2.87 wasm-bindgen-macro@0.2.87 wasm-bindgen-shared@0.2.87 wasm-bindgen@0.2.87 web-sys@0.3.64 webpki-roots@0.22.6 webpki@0.22.0 websocket-base@0.26.5 websocket@0.26.5 which@4.4.0 winapi-build@0.1.1 winapi-i686-pc-windows-gnu@0.4.0 winapi-x86_64-pc-windows-gnu@0.4.0 winapi@0.2.8 winapi@0.3.9 windows-sys@0.36.1 windows-sys@0.48.0 windows-targets@0.48.5 windows@0.48.0 windows_aarch64_gnullvm@0.48.5 windows_aarch64_msvc@0.36.1 windows_aarch64_msvc@0.48.5 windows_i686_gnu@0.36.1 windows_i686_gnu@0.48.5 windows_i686_msvc@0.36.1 windows_i686_msvc@0.48.5 windows_x86_64_gnu@0.36.1 windows_x86_64_gnu@0.48.5 windows_x86_64_gnullvm@0.48.5 windows_x86_64_msvc@0.36.1 windows_x86_64_msvc@0.48.5 winreg@0.10.1 ws2_32-sys@0.2.1 x11-clipboard@0.3.3 xattr@1.0.1 xcb@0.8.2 " inherit cargo optfeature shell-completion DESCRIPTION="Easily and securely share files from the command line" HOMEPAGE="https://timvisee.com/projects/ffsend/" SRC_URI=" https://github.com/timvisee/ffsend/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS} " LICENSE="GPL-3" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 Unicode-DFS-2016" SLOT="0" KEYWORDS="~amd64" DOCS=( res/ CONTRIBUTING.md README.md SECURITY.md ) src_install() { einstalldocs cargo_src_install newbashcomp contrib/completions/ffsend.bash ffsend dofishcomp contrib/completions/ffsend.fish dozshcomp contrib/completions/_ffsend exeinto /usr/share/nautilus-script doexe contrib/util/nautilus/firefox-send } pkg_postinst() { optfeature "the Nautilus script support" \ "gnome-base/nautilus" \ "gnome-extra/zenity" }