commit:     80e5a3edd9815905e838eab378557b7b6630e91c
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Tue Feb 11 18:55:52 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Feb 11 18:56:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80e5a3ed

x11-terms/rio: add 0.2.7

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

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

diff --git a/x11-terms/rio/Manifest b/x11-terms/rio/Manifest
index 39a3bf2cd..859690b04 100644
--- a/x11-terms/rio/Manifest
+++ b/x11-terms/rio/Manifest
@@ -1,2 +1,4 @@
 DIST rio-0.2.5-crates.tar.xz 49643380 BLAKE2B 
bdeb63e1b749a9c8d7eab8425840c104e518c9dfbfc3519608b0b783794c0ec982a7c4966bd7eee28a05b28a8413a17a8bd87641a3254d7e9c1795c2646a3c65
 SHA512 
084c8be9ba7dd89848aab6e66c9c63cd9f2e49a9da5420588fd3fb75ff551020d1b5752c3cc4c757f3f801a44ec78f4c13c6cbd6e74a53e63d2b2b58d546cc41
 DIST rio-0.2.5.tar.gz 82600360 BLAKE2B 
08c66afc6e8aeaee7e736759ffefb90cb6bec50dc767daa165accb8db417257965d79de5680afa821352e7b575b9281c7ebefe4835e08ff44b3d2cd1a7eca89b
 SHA512 
a5c0f690c996d12973732f9ffd8a5908123f16519f2e2133ea533200b356828d06c207be2c2b02dc23ada4aa07efd4d8173ee7313e2c47d170244cd57b6fa4d9
+DIST rio-0.2.7-crates.tar.xz 49610300 BLAKE2B 
35569816795aabaf551d7d8f27b39f9428270e02178b02b50a305204db4431172028813aa8b24b9e419e0b2ff80994833e9eb1ecd5e4042e6a3018e2976a1f20
 SHA512 
7854cbea05b5c1e9ab794052f0ba5b8e1909f60589759898373ca35bae9a79642a3da9c5541a31f11d842e79f7ccbe0eafe42ce80148add90f98821397ed16a3
+DIST rio-0.2.7.tar.gz 82604125 BLAKE2B 
9a62b1762d1e6afc1f7ed49ae51a8a2d0dd32d1d2e2e9fc51438fd554e994f69adaa0ef190fca4e8b8558a8e1733788cd8d18e61a0aeccadfd49d9b9e2bd9538
 SHA512 
1961cb17a47b44fe1017031906156ca3fec0eb62a38e60e20049cd4a722b49a727a579b73f53b5262d07e09dfb9d767a0e045024c2814b2af276fba4f97bc7b6

diff --git a/x11-terms/rio/rio-0.2.7.ebuild b/x11-terms/rio/rio-0.2.7.ebuild
new file mode 100644
index 000000000..979954213
--- /dev/null
+++ b/x11-terms/rio/rio-0.2.7.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=""
+
+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="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