app-misc/yazi - 26.5.6 (gentoo-zh)

Search

Install

Install this version:

emerge -a =app-misc/yazi-26.5.6

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/yazi-26.5.6

Or alternatively:

emerge --autounmask-write -a =app-misc/yazi-26.5.6

Package Information

Description:
Blazing fast terminal file manager written in Rust, based on async I/O.
Homepage:
https://yazi-rs.github.io
License:
MIT Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 UoI-NCSA Unicode-3.0 Unicode-DFS-2016 WTFPL-2 ZLIB

Ebuild Details

Version EAPI Keywords Slot
26.5.6 8 ~amd64 ~riscv 0
View Raw Ebuild
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.13.5

EAPI=8

CRATES="
"

RUST_MIN_VER="1.95.0"

inherit cargo desktop shell-completion xdg

DESCRIPTION="Blazing fast terminal file manager written in Rust, based on async I/O."
HOMEPAGE="https://yazi-rs.github.io"
SRC_URI="
	https://github.com/sxyazi/yazi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/gentoo-zh-drafts/${PN}/releases/download/v${PV}/${P}-crates.tar.xz
	${CARGO_CRATE_URIS}
"

LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 UoI-NCSA
	Unicode-3.0 Unicode-DFS-2016 WTFPL-2 ZLIB
"
SLOT="0"
KEYWORDS="~amd64 ~riscv"

IUSE="+cli"

QA_FLAGS_IGNORED="
	usr/bin/ya.*
"

DOCS=(
	README.md
)

src_prepare() {
	export YAZI_GEN_COMPLETIONS=true
	sed -i -r 's/strip\s+= true/strip = false/' Cargo.toml || die "Sed failed!"
	eapply_user
}

src_compile() {
	cargo_src_compile --locked
	use cli && cargo_src_compile -p "${PN}-cli"
}

src_install() {
	dobin "$(cargo_target_dir)/${PN}"
	use cli && dobin "$(cargo_target_dir)/ya"

	newbashcomp "${S}/yazi-boot/completions/${PN}.bash" "${PN}"
	dozshcomp "${S}/yazi-boot/completions/_${PN}"
	dofishcomp "${S}/yazi-boot/completions/${PN}.fish"

	if use cli
	then
		newbashcomp "${S}/yazi-cli/completions/ya.bash" "ya"
		dozshcomp "${S}/yazi-cli/completions/_ya"
		dofishcomp "${S}/yazi-cli/completions/ya.fish"
	fi

	domenu "assets/${PN}.desktop"
	einstalldocs
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-misc/yazi | euse -E <flag> -p app-misc/yazi | euse -D <flag> -p app-misc/yazi

Global/Standard Flags

cli
Default: Enabled (+)

Inherited Eclasses

xdg

Manifest for 26.5.6

Type File Size Source URLs
DIST yazi-26.5.6-crates.tar.xz 48368116 bytes https://github.com/gentoo-zh-drafts/yazi/releases/download/v26.5.6/yazi-26.5.6-crates.tar.xz
DIST yazi-26.5.6.tar.gz 1065686 bytes https://github.com/sxyazi/yazi/archive/refs/tags/v26.5.6.tar.gz