mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
*/*: update for slotted Rust
guru version of this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ba4dc61965ef7658a24728841c04c9a1ce4871 Closes: https://bugs.gentoo.org/943170 Closes: https://bugs.gentoo.org/943223 Closes: #260 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -465,6 +465,8 @@ CRATES="
|
||||
zune-inflate@0.2.54
|
||||
"
|
||||
|
||||
RUST_MIN_VER="1.74.0"
|
||||
|
||||
inherit cargo shell-completion
|
||||
|
||||
DESCRIPTION="Command-line Git information tool"
|
||||
@@ -486,7 +488,6 @@ DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-build/cmake
|
||||
virtual/pkgconfig
|
||||
>=virtual/rust-1.74.0
|
||||
test? (
|
||||
app-arch/xz-utils
|
||||
dev-vcs/git
|
||||
@@ -498,6 +499,7 @@ QA_FLAGS_IGNORED="usr/bin/onefetch"
|
||||
|
||||
pkg_setup() {
|
||||
export ZSTD_SYS_USE_PKG_CONFIG=1
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -205,6 +205,10 @@ CRATES="
|
||||
xdg@2.5.2
|
||||
"
|
||||
|
||||
# <time@0.3.35
|
||||
# https://github.com/time-rs/time/issues/693
|
||||
RUST_MAX_VER="1.79.0"
|
||||
|
||||
inherit cargo desktop lua-single xdg-utils
|
||||
|
||||
DESCRIPTION="A hackable, minimal, fast TUI file explorer"
|
||||
@@ -231,6 +235,11 @@ DEPEND="
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/xplr"
|
||||
|
||||
pkg_setup() {
|
||||
lua-single_pkg_setup
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cargo_src_configure --bin xplr
|
||||
}
|
||||
Reference in New Issue
Block a user