summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-09-22 22:08:16 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-09-22 22:58:52 -0700
commitc9b8dafc4b3a37d843332365b4a17d1f40b93bc4 (patch)
tree8e4fa0afd5fe777cec324093119742289052f8a3 /x11-terms/alacritty/alacritty-0.4.3.ebuild
parenteclass/cargo.eclass: add cargo_src_configure (revised) (diff)
downloadgentoo-c9b8dafc4b3a37d843332365b4a17d1f40b93bc4.tar.gz
gentoo-c9b8dafc4b3a37d843332365b4a17d1f40b93bc4.tar.bz2
gentoo-c9b8dafc4b3a37d843332365b4a17d1f40b93bc4.zip
x11-terms/alacritty: adjust for cargo_src_configure
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'x11-terms/alacritty/alacritty-0.4.3.ebuild')
-rw-r--r--x11-terms/alacritty/alacritty-0.4.3.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11-terms/alacritty/alacritty-0.4.3.ebuild b/x11-terms/alacritty/alacritty-0.4.3.ebuild
index 6276183c7ed8..e3e93f13d662 100644
--- a/x11-terms/alacritty/alacritty-0.4.3.ebuild
+++ b/x11-terms/alacritty/alacritty-0.4.3.ebuild
@@ -328,19 +328,20 @@ src_unpack() {
}
src_configure() {
- myfeatures=(
+ local myfeatures=(
$(usex X x11 '')
$(usev wayland)
)
+ cargo_src_configure --no-default-features
}
src_compile() {
cd alacritty || die
- cargo_src_compile ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
+ cargo_src_compile
}
src_install() {
- CARGO_INSTALL_PATH="alacritty" cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
+ cargo_src_install --path alacritty
newman extra/alacritty.man alacritty.1
@@ -368,5 +369,5 @@ src_install() {
src_test() {
cd alacritty || die
- cargo_src_test ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
+ cargo_src_test
}