mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
@@ -1,2 +1,4 @@
|
||||
DIST rio-0.2.3-crates.tar.xz 49150288 BLAKE2B 28a1f1be44d058315dd327a69dbca8138bcf7348ea3d185c49f1face242eeef5b8fd61875cb61a4f0bda288ada0881e5da0c1dd86a77b815f8635f0fe0916cb4 SHA512 155cac6175dc5b1451c9f87c7d8ea7c15eef7fd73f2591470fcc7fc76171180f58d09802ed2062416fc93e003b438445ca4f32ba3c5f9e3d6494fff364488e93
|
||||
DIST rio-0.2.3.tar.gz 80551843 BLAKE2B 2a989e46772d80c08a4573e51b4917aa14df0830f351525714ea63b5ab6c65257732ebe65a4ba858752d06dd38e83cfc3f7946f9187790d786d14e4c457ccb7b SHA512 ae3d08ef988cec425c78e210c40b61732236830540bc494e6046a2c60985d95adcebd988b211b0de88c091eb99040dd4402e3f6baa2ae334c0538bea811f5a0b
|
||||
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
|
||||
|
||||
71
x11-terms/rio/rio-0.2.5.ebuild
Normal file
71
x11-terms/rio/rio-0.2.5.ebuild
Normal file
@@ -0,0 +1,71 @@
|
||||
# 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"
|
||||
}
|
||||
Reference in New Issue
Block a user