commit:     dff37bf4b8cf6ba89a2f8cedfdc5d01b497611a2
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Thu Oct 16 15:45:01 2025 +0000
Commit:     Jonas Frei <freijon <AT> pm <DOT> me>
CommitDate: Thu Oct 16 15:51:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dff37bf4

x11-terms/rio: add 0.2.31

Signed-off-by: Jonas Frei <freijon <AT> pm.me>

 x11-terms/rio/Manifest          |  2 ++
 x11-terms/rio/rio-0.2.31.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/x11-terms/rio/Manifest b/x11-terms/rio/Manifest
index 2bee7be31d..4658e0982f 100644
--- a/x11-terms/rio/Manifest
+++ b/x11-terms/rio/Manifest
@@ -1,2 +1,4 @@
 DIST rio-0.2.30-crates.tar.xz 59700464 BLAKE2B 
475b59ba4a5721b1dc040e5f0c882af211437521f2d396a04331eac82835fd120cf1e139353ae07ac27658e0f729f66208b5fe3f636ee0e72910a092ad665c99
 SHA512 
e55d56094266145010247a2077818ba8c1ad2f54e8df2b5d78bcdcbe677a3d9ba290085b226818e7d73eec528e27d2a144bd7e23e88bca25fe47105a741df99d
 DIST rio-0.2.30.tar.gz 86813549 BLAKE2B 
0ca8166769cbe236a90d7d411b18ec88dc8ecc7df338f1bbf74f304f8fef00cee7751ed60f27a3fc0a0e03c567282a09abceb07200128d5f993c343fa3ec4a18
 SHA512 
bc17ede011457c99adfe4efb0162cef5de69640d9cc1c1d91ae11883a5c9cd80648a9a54e5871b83ec29e4dab5abc0e5fd1de3ee1d6f9dffea118ad6beed2c0b
+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

diff --git a/x11-terms/rio/rio-0.2.31.ebuild b/x11-terms/rio/rio-0.2.31.ebuild
new file mode 100644
index 0000000000..7278913dfb
--- /dev/null
+++ b/x11-terms/rio/rio-0.2.31.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"
+}

Reply via email to