app-misc/joshuto: use optfeature for the patched font hint

devicons 需要 media-fonts/nerd-fonts,属于可选运行时功能。

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-09-11 01:03:53 +10:00
1 parent c3ae7c6256
commit 12fcbeb50e
1 file changed
+3 -7
+3 -7
View File
@@ -8,7 +8,7 @@ EAPI=8
CRATES="
"
inherit cargo
inherit cargo optfeature
DESCRIPTION="Terminal file manager inspired by ranger"
HOMEPAGE="https://github.com/kamiyaa/joshuto"
@@ -51,10 +51,6 @@ src_compile() {
}
pkg_postinst() {
elog ""
elog "For proper devicons support, correct patched font is needed"
elog "For example:"
elog "https://github.com/ryanoasis/nerd-fonts"
elog "or media-fonts/nerd-fonts"
elog ""
optfeature "devicons support, which needs a patched font" \
media-fonts/nerd-fonts
}