mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
@@ -1,4 +1,2 @@
|
||||
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
|
||||
DIST rio-0.2.37-crates.tar.xz 60136940 BLAKE2B 0c5dbfb58a96f6bddd8259b6b023bf94488af27227b844c987be8285260c2cf95678b0625bd56077f4569f3a9e244e3dd41bffc43a6a72d8c89bc4d8d3e94e5a SHA512 cf8673ecc7e05886cc1cce0e62ae41f5b9974b7553644551069b4f142b0f2f1229b4b8442db60079661163605e6ee175abe657f036987e3c0e862cb91ad7ccf8
|
||||
DIST rio-0.2.37.tar.gz 86820210 BLAKE2B 06729da2283f495196b0c11dbc91a0a2f621ac9d84192cc8ef3b11367baa33794340650d4b154a4c4c4a28dbc9d08e595b2c584bf0b0c5a6e8c4d2d36ab2169e SHA512 937ea1bff257396b37eff3a93e14cc0aea22f40e526b760255da1fa40687d959810e9e68133b76856f6df3a7f4fb846d3520643cfe7bea2b6f2b5c909a83e269
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# 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