# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.13.4 EAPI=8 CRATES=" ab_glyph@0.2.29 ab_glyph_rasterizer@0.1.8 adler2@2.0.0 adler32@1.2.0 ahash@0.8.11 aho-corasick@1.1.3 allocator-api2@0.2.19 android_system_properties@0.1.5 anes@0.1.6 anstream@0.6.18 anstyle-parse@0.2.6 anstyle-query@1.1.2 anstyle-wincon@3.0.6 anstyle@1.0.10 approx@0.5.1 arc-swap@1.7.1 array-concat@0.5.3 arrayref@0.3.9 arrayvec@0.7.6 as-raw-xcb-connection@1.0.1 ash@0.38.0+1.3.281 atomic-waker@1.1.2 autocfg@1.4.0 base64@0.22.1 bincode@2.0.0-rc.3 bincode_derive@2.0.0-rc.3 bit-set@0.6.0 bit-set@0.8.0 bit-vec@0.7.0 bit-vec@0.8.0 bitflags@1.3.2 bitflags@2.6.0 blake3@1.5.4 block2@0.5.1 block@0.1.6 borsh@1.5.2 bumpalo@3.16.0 bytecount@0.6.8 bytemuck@1.19.0 bytemuck_derive@1.8.0 byteorder-lite@0.1.0 byteorder@1.5.0 bytes@0.3.0 calloop-wayland-source@0.3.0 calloop@0.13.0 cast@0.3.0 cc@1.1.37 cfg-if@0.1.10 cfg-if@1.0.0 cfg_aliases@0.1.1 cfg_aliases@0.2.1 ciborium-io@0.2.2 ciborium-ll@0.2.2 ciborium@0.2.2 clap@4.5.20 clap_builder@4.5.20 clap_derive@4.5.18 clap_lex@0.7.2 clipboard-win@3.1.1 cocoa-foundation@0.1.2 cocoa@0.25.0 codespan-reporting@0.11.1 color_quant@1.1.0 colorchoice@1.0.3 concurrent-queue@2.5.0 console_error_panic_hook@0.1.7 console_log@0.2.2 constant_time_eq@0.3.1 copypasta@0.10.1 core-foundation-sys@0.8.7 core-foundation@0.10.0 core-foundation@0.9.4 core-graphics-types@0.1.3 core-graphics-types@0.2.0 core-graphics@0.23.2 core-graphics@0.24.0 core-text@20.1.0 crc-catalog@2.4.0 crc32fast@1.4.2 crc@3.2.1 criterion-plot@0.5.0 criterion@0.5.1 crossbeam-channel@0.5.13 crossbeam-deque@0.8.5 crossbeam-epoch@0.9.18 crossbeam-utils@0.8.20 crossfont@0.8.0 crunchy@0.2.2 cstr@0.2.12 ctor-lite@0.1.0 cursor-icon@1.1.0 data-encoding@2.6.0 deflate@1.0.0 diff@0.1.13 dirs-next@1.0.2 dirs-sys-next@0.1.2 dirs-sys@0.4.1 dirs@5.0.1 dispatch@0.2.0 displaydoc@0.2.5 dlib@0.5.2 document-features@0.2.10 downcast-rs@1.2.1 dpi@0.1.1 dwrote@0.11.2 either@1.13.0 encoding_rs@0.8.35 env_logger@0.4.3 equivalent@1.0.1 errno@0.3.9 euclid@0.22.11 fastrand@2.2.0 fdeflate@0.3.6 filetime@0.2.25 fixedbitset@0.4.2 flate2@1.0.34 fnv@1.0.7 foldhash@0.1.3 font-types@0.7.3 fontconfig-parser@0.5.7 foreign-types-macros@0.2.3 foreign-types-shared@0.3.1 foreign-types@0.5.0 form_urlencoded@1.2.1 freetype-rs@0.36.0 freetype-sys@0.20.1 fs2@0.4.3 fsevent-sys@4.1.0 fuchsia-cprng@0.1.1 fuchsia-zircon-sys@0.3.3 fuchsia-zircon@0.3.3 futures-channel@0.3.31 futures-core@0.3.31 futures-executor@0.3.31 futures-io@0.3.31 futures-macro@0.3.31 futures-sink@0.3.31 futures-task@0.3.31 futures-util@0.3.31 futures@0.3.31 gethostname@0.4.3 getrandom@0.2.15 gif@0.13.1 gl_generator@0.14.0 glob@0.3.1 glow@0.14.2 glslang-sys@0.6.2+3454c36 glslang@0.6.1 glutin_wgl_sys@0.6.0 gpu-alloc-types@0.3.0 gpu-alloc@0.6.0 gpu-allocator@0.27.0 gpu-descriptor-types@0.2.0 gpu-descriptor@0.3.0 guillotiere@0.6.2 half@2.4.1 halfbrown@0.2.5 hashbrown@0.14.5 hashbrown@0.15.1 heck@0.5.0 hermit-abi@0.3.9 hermit-abi@0.4.0 hexf-parse@0.2.1 icu_collections@1.5.0 icu_locid@1.5.0 icu_locid_transform@1.5.0 icu_locid_transform_data@1.5.0 icu_normalizer@1.5.0 icu_normalizer_data@1.5.0 icu_properties@1.5.1 icu_properties_data@1.5.0 icu_provider@1.5.0 icu_provider_macros@1.5.0 idna@1.0.3 idna_adapter@1.2.0 image-webp@0.2.0 image@0.25.5 indexmap@2.6.0 inotify-sys@0.1.5 inotify@0.10.2 instant@0.1.13 iovec@0.1.4 is-terminal@0.4.13 is_terminal_polyfill@1.70.1 itertools@0.10.5 itoa@1.0.11 jni-sys@0.3.0 jobserver@0.1.32 jpeg-decoder@0.3.1 js-sys@0.3.72 khronos-egl@6.0.0 khronos_api@3.1.0 kqueue-sys@1.0.4 kqueue@1.0.8 lazy-bytes-cast@5.0.1 lazy_static@1.5.0 libc@0.2.162 libloading@0.8.5 librashader-cache@0.5.1 librashader-common@0.5.1 librashader-pack@0.5.1 librashader-preprocess@0.5.1 librashader-presets@0.5.1 librashader-reflect@0.5.1 librashader-runtime@0.5.1 libredox@0.1.3 linked-hash-map@0.5.6 linux-raw-sys@0.4.14 litemap@0.7.3 litrs@0.4.1 lock_api@0.4.12 log@0.3.9 log@0.4.22 lru@0.12.5 malloc_buf@0.0.6 matchers@0.1.0 memchr@2.7.4 memmap2@0.9.5 metal@0.29.0 minicov@0.3.7 minimal-lexical@0.2.1 miniz_oxide@0.8.0 mio@1.0.2 miow@0.5.0 miow@0.6.0 naga@22.1.0 naga@23.0.0 ndk-sys@0.5.0+25.2.9519653 net2@0.2.39 nom@7.1.3 nom_locate@4.2.0 notify-types@1.0.0 notify@7.0.0 nu-ansi-term@0.46.0 num-derive@0.4.2 num-traits@0.2.19 objc-foundation@0.1.1 objc-sys@0.3.5 objc2-app-kit@0.2.2 objc2-core-data@0.2.2 objc2-core-image@0.2.2 objc2-encode@4.0.3 objc2-foundation@0.2.2 objc2-metal@0.2.2 objc2-quartz-core@0.2.2 objc2@0.5.2 objc@0.2.7 objc_id@0.1.1 once_cell@1.20.2 oorandom@11.1.4 option-ext@0.2.0 orbclient@0.3.48 ordered-float@4.5.0 overload@0.1.1 owned_ttf_parser@0.25.0 parking_lot@0.12.3 parking_lot_core@0.9.10 paste@1.0.15 percent-encoding@2.3.1 persy@1.5.2 petgraph@0.6.5 pin-project-internal@1.1.7 pin-project-lite@0.2.15 pin-project@1.1.7 pin-utils@0.1.0 pkg-config@0.3.31 platform-dirs@0.3.0 plotters-backend@0.3.7 plotters-svg@0.3.7 plotters@0.3.7 png@0.17.14 polling@3.7.4 ppv-lite86@0.2.20 presser@0.3.1 pretty_assertions@1.4.1 proc-macro2@1.0.89 profiling@1.0.16 quick-error@2.0.1 quick-xml@0.36.2 quote@1.0.37 rand@0.4.6 rand@0.8.5 rand_chacha@0.3.1 rand_core@0.3.1 rand_core@0.4.2 rand_core@0.6.4 range-alloc@0.1.3 raw-window-handle@0.6.2 rayon-core@1.12.1 rayon@1.10.0 rdrand@0.4.0 read-fonts@0.23.2 redox_syscall@0.4.1 redox_syscall@0.5.7 redox_users@0.4.6 regex-automata@0.1.10 regex-automata@0.4.8 regex-syntax@0.6.29 regex-syntax@0.8.5 regex@1.11.1 remove_dir_all@0.5.3 renderdoc-sys@1.1.0 roxmltree@0.20.0 rspirv@0.12.0+sdk-1.3.268.0 rustc-hash@1.1.0 rustc-hash@2.0.0 rustix@0.38.39 ryu@1.0.18 same-file@1.0.6 scoped-tls@1.0.1 scopeguard@1.2.0 sctk-adwaita@0.10.1 serde@1.0.214 serde_derive@1.0.214 serde_json@1.0.132 serde_spanned@0.6.8 sharded-slab@0.1.7 shlex@1.3.0 signal-hook-registry@1.4.2 signal-hook@0.3.17 simd-adler32@0.3.7 skrifa@0.24.1 slab@0.4.9 slotmap@1.0.7 smallvec@1.13.2 smartstring@1.0.1 smithay-client-toolkit@0.19.2 smithay-clipboard@0.7.2 smol_str@0.3.2 softbuffer@0.4.6 spirv-cross-sys@0.4.3+e670b39 spirv-cross2-derive@0.1.0 spirv-cross2@0.4.6 spirv@0.3.0+sdk-1.3.268.0 stable_deref_trait@1.2.0 static_assertions@1.1.0 strict-num@0.1.1 strsim@0.11.1 svg_fmt@0.4.4 syn@2.0.87 synstructure@0.13.1 tempdir@0.3.7 termcolor@1.4.1 thiserror-impl@1.0.68 thiserror-impl@2.0.1 thiserror@1.0.68 thiserror@2.0.1 thread_local@1.1.8 tiff@0.9.1 tiny-skia-path@0.11.4 tiny-skia@0.11.4 tiny-xlib@0.2.3 tinystr@0.7.6 tinytemplate@1.2.1 tinyvec@1.8.0 tinyvec_macros@0.1.1 toml@0.8.19 toml_datetime@0.6.8 toml_edit@0.22.22 tracing-attributes@0.1.27 tracing-core@0.1.32 tracing-log@0.2.0 tracing-subscriber@0.3.18 tracing-web@0.1.3 tracing@0.1.40 ttf-parser@0.25.0 twox-hash@1.6.3 unicode-ident@1.0.13 unicode-segmentation@1.12.0 unicode-width@0.1.14 unicode-width@0.2.0 unicode-xid@0.2.6 unsigned-varint@0.8.0 url@2.5.3 utf16_iter@1.0.5 utf8_iter@1.0.4 utf8parse@0.2.2 valuable@0.1.0 vec_extract_if_polyfill@0.1.0 version_check@0.9.5 virtue@0.0.13 walkdir@2.5.0 wasi@0.11.0+wasi-snapshot-preview1 wasm-bindgen-backend@0.2.95 wasm-bindgen-futures@0.4.45 wasm-bindgen-macro-support@0.2.95 wasm-bindgen-macro@0.2.95 wasm-bindgen-shared@0.2.95 wasm-bindgen-test-macro@0.3.45 wasm-bindgen-test@0.3.45 wasm-bindgen@0.2.95 wayland-backend@0.3.7 wayland-client@0.31.7 wayland-csd-frame@0.3.0 wayland-cursor@0.31.7 wayland-protocols-plasma@0.3.5 wayland-protocols-wlr@0.3.5 wayland-protocols@0.32.5 wayland-scanner@0.31.5 wayland-sys@0.31.5 web-sys@0.3.72 web-time@1.1.0 weezl@0.1.8 wgpu-core@23.0.0 wgpu-hal@23.0.0 wgpu-types@23.0.0 wgpu@23.0.0 winapi-i686-pc-windows-gnu@0.4.0 winapi-util@0.1.9 winapi-x86_64-pc-windows-gnu@0.4.0 winapi@0.3.9 windows-core@0.58.0 windows-implement@0.58.0 windows-interface@0.58.0 windows-result@0.2.0 windows-strings@0.1.0 windows-sys@0.42.0 windows-sys@0.48.0 windows-sys@0.52.0 windows-sys@0.59.0 windows-targets@0.48.5 windows-targets@0.52.6 windows@0.42.0 windows@0.58.0 windows_aarch64_gnullvm@0.42.2 windows_aarch64_gnullvm@0.48.5 windows_aarch64_gnullvm@0.52.6 windows_aarch64_msvc@0.42.2 windows_aarch64_msvc@0.48.5 windows_aarch64_msvc@0.52.6 windows_i686_gnu@0.42.2 windows_i686_gnu@0.48.5 windows_i686_gnu@0.52.6 windows_i686_gnullvm@0.52.6 windows_i686_msvc@0.42.2 windows_i686_msvc@0.48.5 windows_i686_msvc@0.52.6 windows_x86_64_gnu@0.42.2 windows_x86_64_gnu@0.48.5 windows_x86_64_gnu@0.52.6 windows_x86_64_gnullvm@0.42.2 windows_x86_64_gnullvm@0.48.5 windows_x86_64_gnullvm@0.52.6 windows_x86_64_msvc@0.42.2 windows_x86_64_msvc@0.48.5 windows_x86_64_msvc@0.52.6 winnow@0.6.20 wio@0.2.2 write16@1.0.0 writeable@0.5.5 x11-clipboard@0.9.3 x11-dl@2.21.0 x11rb-protocol@0.13.1 x11rb@0.13.1 xcursor@0.3.8 xi-unicode@0.3.0 xkbcommon-dl@0.4.2 xkeysym@0.2.1 xml-rs@0.8.23 yansi@1.0.1 yazi@0.2.0 yeslogic-fontconfig-sys@5.0.0 yoke-derive@0.7.4 yoke@0.7.4 zeno@0.2.3 zerocopy-derive@0.7.35 zerocopy@0.7.35 zerofrom-derive@0.1.4 zerofrom@0.1.4 zerovec-derive@0.10.3 zerovec@0.10.4 zigzag@0.1.0 zune-core@0.4.12 zune-jpeg@0.4.13 " RUST_MIN_VER="1.80.1" inherit cargo desktop DESCRIPTION="A hardware-accelerated GPU terminal emulator powered by WebGPU" HOMEPAGE="https://raphamorim.io/rio/" SRC_URI=" ${CARGO_CRATE_URIS} https://github.com/raphamorim/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz " LICENSE="MIT" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 ZLIB " SLOT="0" KEYWORDS="~amd64" IUSE="+wayland +X" REQUIRED_USE="|| ( wayland X )" DEPEND=" media-libs/freetype:2 media-libs/fontconfig wayland? ( dev-libs/wayland ) wayland? ( x11-libs/libxkbcommon[wayland] ) X? ( x11-libs/libxkbcommon[X] ) >=sys-libs/ncurses-6.4_p20240330 " RDEPEND="${DEPEND}" BDEPEND=" dev-build/cmake virtual/pkgconfig " QA_FLAGS_IGNORED="usr/bin/rio" DOCS=( "README.md" "docs/docs" ) src_prepare() { default sed -i '/^strip =/d' Cargo.toml || die } src_configure() { local myfeatures=( $(usev wayland) $(usev X x11) ) cargo_src_configure --verbose --no-default-features } src_install() { dobin "$(cargo_target_dir)/${PN}" dodoc -r "${DOCS[@]}" newicon -s scalable "misc/logo.svg" "${PN}.svg" domenu "misc/${PN}.desktop" }