commit: a2780ad12203ceb1c4e473c0af848acbe5d9b34c
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 21:52:25 2024 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 09:27:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2780ad1
gui-libs/greetd: Use new cargo_target_dir helper
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
gui-libs/greetd/greetd-0.10.0.ebuild | 5 +----
gui-libs/greetd/greetd-0.9.0.ebuild | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/gui-libs/greetd/greetd-0.10.0.ebuild
b/gui-libs/greetd/greetd-0.10.0.ebuild
index 5e4a733651a2..1969369022d9 100644
--- a/gui-libs/greetd/greetd-0.10.0.ebuild
+++ b/gui-libs/greetd/greetd-0.10.0.ebuild
@@ -107,10 +107,7 @@ src_compile() {
}
src_install() {
- # if USE=debug, install binaries from the debug directory; else
- # install binaries from the release directory
- # https://bugs.gentoo.org/889052
- dobin target/$(usex debug debug release)/{agreety,fakegreet,greetd}
+ dobin "$(cargo_target_dir)"/{agreety,fakegreet,greetd}
insinto /etc/greetd
doins config.toml
diff --git a/gui-libs/greetd/greetd-0.9.0.ebuild
b/gui-libs/greetd/greetd-0.9.0.ebuild
index b90a0f18ce5d..e8411fc22c87 100644
--- a/gui-libs/greetd/greetd-0.9.0.ebuild
+++ b/gui-libs/greetd/greetd-0.9.0.ebuild
@@ -94,10 +94,7 @@ src_compile() {
}
src_install() {
- # if USE=debug, install binaries from the debug directory; else
- # install binaries from the release directory
- # https://bugs.gentoo.org/889052
- dobin target/$(usex debug debug release)/{agreety,fakegreet,greetd}
+ dobin "$(cargo_target_dir)"/{agreety,fakegreet,greetd}
insinto /etc/greetd
doins config.toml