From: "Saad Abdullah" <ingenarelitems@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/yazi/
Date: Sat, 08 Mar 2025 11:41:41 +0000 (UTC) [thread overview]
Message-ID: <1741434058.611129d1c5425587cc201724bb37f035a3b1355c.ingenarelitems@gentoo> (raw)
commit: 611129d1c5425587cc201724bb37f035a3b1355c
Author: ingenarel <ingenarelitems <AT> gmail <DOT> com>
AuthorDate: Sat Mar 8 11:40:30 2025 +0000
Commit: Saad Abdullah <ingenarelitems <AT> gmail <DOT> com>
CommitDate: Sat Mar 8 11:40:58 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=611129d1
app-misc/yazi: add 9999
Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com>
app-misc/yazi/yazi-9999.ebuild | 74 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
diff --git a/app-misc/yazi/yazi-9999.ebuild b/app-misc/yazi/yazi-9999.ebuild
new file mode 100644
index 000000000..f82f02011
--- /dev/null
+++ b/app-misc/yazi/yazi-9999.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cargo git-r3 desktop shell-completion xdg
+
+DESCRIPTION="Blazing fast terminal file manager written in Rust, based on async I/O."
+HOMEPAGE="https://yazi-rs.github.io"
+EGIT_REPO_URI="https://github.com/sxyazi/yazi.git"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0
+CC0-1.0 ISC MIT MPL-2.0 UoI-NCSA Unicode-3.0 ZLIB
+"
+
+SLOT="0"
+IUSE="+cli"
+
+QA_FLAGS_IGNORED="
+usr/bin/ya.*
+"
+
+RDEPEND="
+dev-libs/oniguruma
+"
+DEPEND="${RDEPEND}"
+
+DOCS=(
+ "README.md"
+ "yazi-config/preset/keymap-default.toml"
+ "yazi-config/preset/theme-dark.toml"
+ "yazi-config/preset/theme-light.toml"
+ "yazi-config/preset/yazi-default.toml"
+)
+
+src_unpack() {
+ git-r3_src_unpack
+ cargo_live_src_unpack
+}
+
+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() {
+ # workaround for GCC 15 issues:
+ # unvendor libonig from rust-onig. see bugs 943785, 945008
+ export RUSTONIG_SYSTEM_LIBONIG=1
+ cargo_src_compile
+ 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
+}
next reply other threads:[~2025-03-08 11:41 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-08 11:41 Saad Abdullah [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-08 11:03 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/yazi/ Saad Abdullah
2025-02-15 16:57 demize
2025-02-15 16:57 demize
2025-02-12 19:31 demize
2025-01-02 19:07 f00wl
2025-01-02 18:46 David Roman
2024-10-08 0:13 Amano Kenji
2024-09-15 11:09 f00wl
2024-09-07 20:42 f00wl
2024-08-28 15:37 Takuya Wakazono
2024-06-26 19:21 Jonas Frei
2024-06-26 18:30 Jonas Frei
2024-05-14 8:10 Remigiusz Micielski
2024-05-14 8:04 Remigiusz Micielski
2024-04-16 3:52 Jonas Frei
2024-04-15 20:19 Jonas Frei
2024-02-23 12:18 Remigiusz Micielski
2024-02-23 12:18 Remigiusz Micielski
2024-01-27 11:50 Remigiusz Micielski
2024-01-17 10:02 Remigiusz Micielski
2024-01-01 3:26 Joe Kappus
2024-01-01 3:23 Joe Kappus
2023-10-08 13:38 Remigiusz Micielski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1741434058.611129d1c5425587cc201724bb37f035a3b1355c.ingenarelitems@gentoo \
--to=ingenarelitems@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox