commit: 55fc2064e1967f23f907ab8669f277dabc100a71 Author: Jonas Frei <freijon <AT> pm <DOT> me> AuthorDate: Wed Aug 20 18:17:51 2025 +0000 Commit: Jonas Frei <freijon <AT> pm <DOT> me> CommitDate: Wed Aug 20 18:17:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=55fc2064
x11-terms/rio: add 0.2.29 Signed-off-by: Jonas Frei <freijon <AT> pm.me> x11-terms/rio/Manifest | 2 ++ x11-terms/rio/rio-0.2.29.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/x11-terms/rio/Manifest b/x11-terms/rio/Manifest index f8ed384177..2931308e9c 100644 --- a/x11-terms/rio/Manifest +++ b/x11-terms/rio/Manifest @@ -1,2 +1,4 @@ DIST rio-0.2.27-crates.tar.xz 51290832 BLAKE2B 6e13984c02dbad497184aeaf9d0f4c6cd7dd2f35764af8511c6e18affcbd27cd856901dcac98b8aaddada1459a730e12ea7bbd1525deef9919fb468eb65172b5 SHA512 e2dc6cf97440f22f108d5cd5449b6dfca42023e8a12747e214b418f349ece3fda0aaa0fe15693dfc617ab4150b683c1437ecb73acb38af9eddfd7d499dd8b674 DIST rio-0.2.27.tar.gz 86807192 BLAKE2B 77752ed8cca7e9c8629495f4224431719b22fe412b30a537a6d209be7c9322145a66c522821d05f54af0b53b1310c0dec9023993e1904e79004b1d89fbaac13e SHA512 c04f932ed78abb037711e6104b4d936f70b8aa65e69594fd86066b23a47545bad299a671c27e8fb04c16bbeac92122f55ea28c21003d2e73e4ad72aae8a2bfad +DIST rio-0.2.29-crates.tar.xz 51430972 BLAKE2B bfb1dcfd67da07e55003202ea048199ac434d61eecf579538931df9b3d475237cb704bf46a2b7965b8e50ca92c7b925689a1ec5d9460e426063ce0ce88cf79a9 SHA512 b69989066b460f60da43f20810515f49bac6469ce9cc536fa0555e9552915ba370122fcefd005b2c8d7b1428d791bd14454e2166c5d3b668d261fff203a041f0 +DIST rio-0.2.29.tar.gz 86807499 BLAKE2B aebdfd54b7054f356821c9cb64151c615f0242b659ddede248e0838c22ee71bc9f9f3889c0ec846ee2c62cf29426e0671b4132362bd6c70e70fbc7f4363a5e12 SHA512 4324661d1d2c193eeaabd8fad62eb42629310d97be971301618f8690347221df533c5cbc608b3c51a7bd00d1ea5155ad870eacefd3c409cf983399d2fd602b23 diff --git a/x11-terms/rio/rio-0.2.29.ebuild b/x11-terms/rio/rio-0.2.29.ebuild new file mode 100644 index 0000000000..b7fb749ec1 --- /dev/null +++ b/x11-terms/rio/rio-0.2.29.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.88.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" +}
