x11-terms/rio: add 0.4.4

Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
Jonas Frei
2026-05-17 13:46:06 +02:00
parent 7d5868a002
commit bec79375e7
2 changed files with 79 additions and 0 deletions

View File

@@ -4,3 +4,5 @@ DIST rio-0.3.11-crates.tar.xz 78814424 BLAKE2B c4f6b02b2867c5293188cdcc8666cdb66
DIST rio-0.3.11.tar.gz 83931160 BLAKE2B 9bb09b9fcce7a4b9e914b7665b10e5591c2d54c5f9f52aace62faea3092778faf12aec0ca0dc6071a5d3042af129e86713bfd5077633d5f9a6830045e90b861d SHA512 67c073f583ab5bc01f98ac3ef191dc752be228f6dfadb5d1845392a3a295408f9c83878c41357e0d5a3fa9ea940f0741f4825c5edb5f3ecc71f8edff7dc323e5
DIST rio-0.4.2-crates.tar.xz 79171720 BLAKE2B d17a670c7b26a704047831a02544f490d08780d8df51f74203d924de7b97f493399e081544fd9582f892d56539fd2e964f19b9751fc66185bf7d72d2c1b2ab7b SHA512 24888d035124fe247ce349808c420070b7e7ac7addb043115c20834c3168f22c621d9c4b64c7211ea495e0ebb1c88139890371e029a82d56fef0590b28b3a093
DIST rio-0.4.2.tar.gz 10679292 BLAKE2B ceb93236ff650108918e9dd4b8a046bce19c43e6bba0ee56d336eadc10d9a70b55b51a0f6c7bbec73b68a8b4a418e4f6906fed8cc09b531c05fe4959fdd2d9fc SHA512 6f6d2f61f9bfdbb555e023522446ddac06fc08ad34e4b636d4fd2b0ae8893d040ff691203de84649f6e2e0c7ecb9f3ebd29534a06f2158ce47bec998a58ac91c
DIST rio-0.4.4-crates.tar.xz 79367768 BLAKE2B 1a695194c28e2e9015bddc0b912c62988a331fd5b20266bb6da67bbc1eeff92e207c0f629f99e15b2b28ba33cc944ce0a97159a2aa0fdda5b8ade753d8bd8ace SHA512 71466b9393a9ed94c62f9c3354d1e2e346e7a6b92a15d11f8e4fec7554d06ae6dca50c41b2fd215e1892bbee8f0f897cb0b7d49558ecd4ae91a1c08058fb850e
DIST rio-0.4.4.tar.gz 10662667 BLAKE2B c094342f3758784bc29f2f32e289d3b0e5b0f875ec33e3cf9c27ca607baca415c4378831bd93378df6022c066b7facfa09d8ecdd0d269af0bfe208d94e1c118a SHA512 81540c7b8e8a2cdc220c0ec9ee1d4659a405d24a8fd3b2651609904b0bd572163b115630d8aee7c41d61a82374b17a70ce911374f29941832dd142026e05eac2

View File

@@ -0,0 +1,77 @@
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
RUST_MIN_VER="1.92.0"
inherit cargo desktop xdg
DESCRIPTION="A hardware-accelerated GPU terminal emulator powered by WebGPU"
HOMEPAGE="https://rioterm.com"
SRC_URI="https://github.com/raphamorim/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
DEPS_URI="https://github.com/gentoo-crate-dist/${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="
app-text/scdoc
dev-build/cmake
virtual/pkgconfig
"
QA_FLAGS_IGNORED="usr/bin/rio"
DOCS=(
"README.md"
)
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_compile() {
cargo_src_compile
scdoc < extra/man/rio.1.scd > extra/man/rio.1
scdoc < extra/man/rio.5.scd > extra/man/rio.5
scdoc < extra/man/rio-bindings.5.scd > extra/man/rio-bindings.5
}
src_install() {
dobin "$(cargo_target_dir)/${PN}"
doman extra/man/rio.1
doman extra/man/rio.5
doman extra/man/rio-bindings.5
dodoc -r "${DOCS[@]}"
newicon -s scalable "misc/logo.svg" "${PN}.svg"
domenu "misc/${PN}.desktop"
}