commit: 78fb852b1b0c2f2c307b45e8603ae999251b0e6b Author: Jonas Frei <freijon <AT> pm <DOT> me> AuthorDate: Fri Oct 17 04:31:11 2025 +0000 Commit: Jonas Frei <freijon <AT> pm <DOT> me> CommitDate: Fri Oct 17 04:33:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78fb852b
x11-terms/rio: add 0.2.32 Signed-off-by: Jonas Frei <freijon <AT> pm.me> x11-terms/rio/Manifest | 2 ++ x11-terms/rio/rio-0.2.32.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/x11-terms/rio/Manifest b/x11-terms/rio/Manifest index 0be52e289c..e61471df9b 100644 --- a/x11-terms/rio/Manifest +++ b/x11-terms/rio/Manifest @@ -1,2 +1,4 @@ DIST rio-0.2.31-crates.tar.xz 59327040 BLAKE2B d6f9106aed0a56282a89cb87ac8600e0a125b01a3581401bf004552b28211abfeeb718a1bfbc6f1e7c514f2d7d41e9be07d1441e196033550ce5e0537a367285 SHA512 da386e5d59b67f7bc5b43b2cab927ffbd5c187f0774ab8bad597e01ceba67b33ea1d851cd2cf48dfcdd37abb06d1548c78c6ae4b12381dac9f8fa12329997497 DIST rio-0.2.31.tar.gz 86815090 BLAKE2B 8bf1a178b6810dcaf08a3eb116ccfc7d37c80a303a4252804164d7dd9e4c6eb9e9d065e2c07df23575fab47dc810f57d647e40cfccf7aa58fcfcc59b94b1d816 SHA512 35d9c22f178da9a1d7db8ac991b7bb25a2d030724facfbbd131c359777fba5b3ab3d7b6c0378842b7a46ec119ed520a63a14012b4aba6d9ba5e697d5a62e9006 +DIST rio-0.2.32-crates.tar.xz 57552720 BLAKE2B 7d1a0f1056faa8adb21c9dfb10df4cbcbb6fc7b394d73222d5398784ee98e160960ba7e21ddde2d716aa3ced84b75a50203592b1fbb9dde7dd0a0d6f92cdad0e SHA512 1b02d96945822e2f406fdc9813feed947cf0f43826259ff315a8a4f4845ed43c5f54a7f81b9fabff10684c7691e2cccc94565a3b1dac3db92d093028713fcf5c +DIST rio-0.2.32.tar.gz 86814331 BLAKE2B 890b8f01eedb1a154b913e23637ac5769b38c3d7ea3a004c9815cb801d330ec3e10a7e834e05ab283a15362d7f5b9de3ad1b69bc6fb72000628f6c0021d9f8de SHA512 38a58721b560b3320467205b8daa6564cdf70c4ae00ba27af3258b0fd3ed27c5916ef9f282390a337a6134876d75454bbab4a80648e470763b7401ebbdc33355 diff --git a/x11-terms/rio/rio-0.2.32.ebuild b/x11-terms/rio/rio-0.2.32.ebuild new file mode 100644 index 0000000000..7278913dfb --- /dev/null +++ b/x11-terms/rio/rio-0.2.32.ebuild @@ -0,0 +1,67 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RUST_MIN_VER="1.90.0" + +inherit cargo desktop xdg + +DESCRIPTION="A hardware-accelerated GPU terminal emulator powered by WebGPU" +HOMEPAGE="https://raphamorim.io/rio/" +SRC_URI="https://github.com/raphamorim/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +DEPS_URI="https://github.com/freijon/${PN}/releases/download/v${PV}/${P}-crates.tar.xz" +SRC_URI+=" ${DEPS_URI}" + +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" +}
