From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/xplr/
Date: Wed, 5 Jan 2022 17:14:11 +0000 (UTC) [thread overview]
Message-ID: <1641302844.1cc122c65b90ef807a014fc0cfe4f7a4ddc0bf4d.flow@gentoo> (raw)
commit: 1cc122c65b90ef807a014fc0cfe4f7a4ddc0bf4d
Author: Luciano Degni <degni.public <AT> gmail <DOT> com>
AuthorDate: Tue Jan 4 13:27:24 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Jan 4 13:27:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1cc122c6
app-misc/xplr: fixed build in all ebuilds
Signed-off-by: Luciano Degni <degni.public <AT> gmail.com>
app-misc/xplr/xplr-0.15.2.ebuild | 22 +++++++++++++++-------
app-misc/xplr/xplr-0.17.0.ebuild | 22 +++++++++++++++-------
2 files changed, 30 insertions(+), 14 deletions(-)
diff --git a/app-misc/xplr/xplr-0.15.2.ebuild b/app-misc/xplr/xplr-0.15.2.ebuild
index ae20f4617..b40379f94 100644
--- a/app-misc/xplr/xplr-0.15.2.ebuild
+++ b/app-misc/xplr/xplr-0.15.2.ebuild
@@ -1,8 +1,10 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+LUA_COMPAT=( luajit )
+
CRATES="
ansi-to-tui-0.4.1
anyhow-1.0.51
@@ -129,7 +131,7 @@ CRATES="
yaml-rust-0.4.5
"
-inherit cargo
+inherit cargo flag-o-matic desktop lua-single
DESCRIPTION="A hackable, minimal, fast TUI file explorer"
# Double check the homepage as the cargo_metadata crate
@@ -153,18 +155,24 @@ LICENSE="
SLOT="0"
KEYWORDS="~amd64"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RDEPEND="
+ ${LUA_DEPS}
+"
DEPEND="
- dev-vcs/git
- sys-devel/make
- sys-devel/gcc
+ ${RDEPEND}
"
QA_FLAGS_IGNORED="usr/bin/.*"
src_configure() {
- cargo_src_configure --locked --bin xplr
- sed "s:\$(CROSS)::g" -i ../cargo_home/gentoo/luajit-src-210.3.2+resty1085a4d/luajit2/src/Makefile || die
+ cargo_src_configure --bin xplr
+}
+src_prepare() {
+ sed -i Cargo.toml -e 's/"vendored"\s*,//' || die
+ # for dynamic linking with lua
+ default
}
src_compile() {
diff --git a/app-misc/xplr/xplr-0.17.0.ebuild b/app-misc/xplr/xplr-0.17.0.ebuild
index ae20f4617..b40379f94 100644
--- a/app-misc/xplr/xplr-0.17.0.ebuild
+++ b/app-misc/xplr/xplr-0.17.0.ebuild
@@ -1,8 +1,10 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+LUA_COMPAT=( luajit )
+
CRATES="
ansi-to-tui-0.4.1
anyhow-1.0.51
@@ -129,7 +131,7 @@ CRATES="
yaml-rust-0.4.5
"
-inherit cargo
+inherit cargo flag-o-matic desktop lua-single
DESCRIPTION="A hackable, minimal, fast TUI file explorer"
# Double check the homepage as the cargo_metadata crate
@@ -153,18 +155,24 @@ LICENSE="
SLOT="0"
KEYWORDS="~amd64"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RDEPEND="
+ ${LUA_DEPS}
+"
DEPEND="
- dev-vcs/git
- sys-devel/make
- sys-devel/gcc
+ ${RDEPEND}
"
QA_FLAGS_IGNORED="usr/bin/.*"
src_configure() {
- cargo_src_configure --locked --bin xplr
- sed "s:\$(CROSS)::g" -i ../cargo_home/gentoo/luajit-src-210.3.2+resty1085a4d/luajit2/src/Makefile || die
+ cargo_src_configure --bin xplr
+}
+src_prepare() {
+ sed -i Cargo.toml -e 's/"vendored"\s*,//' || die
+ # for dynamic linking with lua
+ default
}
src_compile() {
next reply other threads:[~2022-01-05 17:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-05 17:14 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-28 10:46 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/xplr/ David Roman
2024-08-28 10:57 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-08-28 10:46 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-08-28 10:57 ` [gentoo-commits] repo/proj/guru:master " David Roman
2023-08-14 16:36 Haelwenn Monnier
2023-08-14 16:36 Haelwenn Monnier
2023-04-23 8:40 Florian Schmaus
2023-04-23 8:40 Florian Schmaus
2022-05-16 12:33 Andrew Ammerlaan
2022-02-26 18:16 Florian Schmaus
2022-01-20 19:25 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-01-20 19:25 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2022-01-20 19:21 Andrew Ammerlaan
2022-01-20 19:21 Andrew Ammerlaan
2022-01-20 19:21 Andrew Ammerlaan
2022-01-05 17:14 Florian Schmaus
2022-01-05 17:14 Florian Schmaus
2022-01-02 14:58 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-01-02 14:59 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-12-15 10:51 Andrew Ammerlaan
2021-12-15 10:35 Andrew Ammerlaan
2021-12-15 10:35 Andrew Ammerlaan
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=1641302844.1cc122c65b90ef807a014fc0cfe4f7a4ddc0bf4d.flow@gentoo \
--to=flow@gentoo.org \
--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