mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 13:03:31 -04:00
app-misc/xplr: fixed build in all ebuilds
Signed-off-by: Luciano Degni <degni.public@gmail.com>
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
# Copyright 2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
LUA_COMPAT=( luajit )
|
||||||
|
|
||||||
CRATES="
|
CRATES="
|
||||||
ansi-to-tui-0.4.1
|
ansi-to-tui-0.4.1
|
||||||
anyhow-1.0.51
|
anyhow-1.0.51
|
||||||
@@ -129,7 +131,7 @@ CRATES="
|
|||||||
yaml-rust-0.4.5
|
yaml-rust-0.4.5
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit cargo
|
inherit cargo flag-o-matic desktop lua-single
|
||||||
|
|
||||||
DESCRIPTION="A hackable, minimal, fast TUI file explorer"
|
DESCRIPTION="A hackable, minimal, fast TUI file explorer"
|
||||||
# Double check the homepage as the cargo_metadata crate
|
# Double check the homepage as the cargo_metadata crate
|
||||||
@@ -153,18 +155,24 @@ LICENSE="
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||||
|
RDEPEND="
|
||||||
|
${LUA_DEPS}
|
||||||
|
"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
dev-vcs/git
|
${RDEPEND}
|
||||||
sys-devel/make
|
|
||||||
sys-devel/gcc
|
|
||||||
"
|
"
|
||||||
|
|
||||||
QA_FLAGS_IGNORED="usr/bin/.*"
|
QA_FLAGS_IGNORED="usr/bin/.*"
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
cargo_src_configure --locked --bin xplr
|
cargo_src_configure --bin xplr
|
||||||
sed "s:\$(CROSS)::g" -i ../cargo_home/gentoo/luajit-src-210.3.2+resty1085a4d/luajit2/src/Makefile || die
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i Cargo.toml -e 's/"vendored"\s*,//' || die
|
||||||
|
# for dynamic linking with lua
|
||||||
|
default
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
# Copyright 2021-2022 Gentoo Authors
|
# Copyright 2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
LUA_COMPAT=( luajit )
|
||||||
|
|
||||||
CRATES="
|
CRATES="
|
||||||
ansi-to-tui-0.4.1
|
ansi-to-tui-0.4.1
|
||||||
anyhow-1.0.51
|
anyhow-1.0.51
|
||||||
@@ -129,7 +131,7 @@ CRATES="
|
|||||||
yaml-rust-0.4.5
|
yaml-rust-0.4.5
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit cargo
|
inherit cargo flag-o-matic desktop lua-single
|
||||||
|
|
||||||
DESCRIPTION="A hackable, minimal, fast TUI file explorer"
|
DESCRIPTION="A hackable, minimal, fast TUI file explorer"
|
||||||
# Double check the homepage as the cargo_metadata crate
|
# Double check the homepage as the cargo_metadata crate
|
||||||
@@ -153,18 +155,24 @@ LICENSE="
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||||
|
RDEPEND="
|
||||||
|
${LUA_DEPS}
|
||||||
|
"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
dev-vcs/git
|
${RDEPEND}
|
||||||
sys-devel/make
|
|
||||||
sys-devel/gcc
|
|
||||||
"
|
"
|
||||||
|
|
||||||
QA_FLAGS_IGNORED="usr/bin/.*"
|
QA_FLAGS_IGNORED="usr/bin/.*"
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
cargo_src_configure --locked --bin xplr
|
cargo_src_configure --bin xplr
|
||||||
sed "s:\$(CROSS)::g" -i ../cargo_home/gentoo/luajit-src-210.3.2+resty1085a4d/luajit2/src/Makefile || die
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i Cargo.toml -e 's/"vendored"\s*,//' || die
|
||||||
|
# for dynamic linking with lua
|
||||||
|
default
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
|
|||||||
Reference in New Issue
Block a user