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.35-crates.tar.xz 60062664 BLAKE2B 4de2386327a225524e8aa4b9898e94eca832e198d98f51f59441579d1eab3b834a43e1701beadd1a68cbf7ba1215157846db81702107a97b2625a92d4745847d SHA512 5d1e335d9fa4152a6555750ab2208e473168eaf99ffb49807daa9df215df01d354620db42e8840999d3544c1ac7e7954a2eb75cc596050de429b1c694a0e4daa
|
||||
DIST rio-0.2.35.tar.gz 86817332 BLAKE2B 39e5280f9160f5bc30c207c0af16e71cf0b1a989d115c6b0f615887bccebbe265c4140ebd456da67ddae6fb9c212c80113ee906761dc030a541d9e7e25884b95 SHA512 bbfdedaeb57dbd46e25fc1babfd2e63e0b3a157248628a45e3a5c514c7af1448de53356865fe31034512362644d28a98c333e754a68f545af222fd4ded417a17
|
||||
DIST rio-0.2.36-crates.tar.xz 60087352 BLAKE2B c8c7503769d1615fc08eedd61c4f670b9702ca30e6abb17c32e9a6aa48573a859c1c4d87509e7579022fd05720f06da10650f343388d8a2de4b5509fde2da9e2 SHA512 e33a97b77cdea845e5a323fe6621633934e0d39e501c9e1f90248a3d101370195ec49d5159d8ed9094184c67f8d4a2ddf072877c93ed5368bd2319c47dbd413a
|
||||
DIST rio-0.2.36.tar.gz 86817375 BLAKE2B 0a94b1ab717d8a1570f6e5c22717cc9c7d078c6f7ab1d21834fd91329c7afe272641ca11257f6f538e845c2252a39735e2760ab8af2299d4eb8a30522e0077c8 SHA512 b21b2e0164ff72db7bfc19cfe8528e47409df8d2a11a2cff6ea0bc1e4c27c0cbc681e652f9d77c3b18f6549127b3b900018f290ef58438782fdb275ceb9b9189
|
||||
|
||||
67
x11-terms/rio/rio-0.2.36.ebuild
Normal file
67
x11-terms/rio/rio-0.2.36.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user