commit:     3ac5964c207b603b84cc31597d9d0141cb3e87de
Author:     Erica Nebula <EricaNebula <AT> Proton <DOT> me>
AuthorDate: Sun Jul 27 00:05:39 2025 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Jul 27 00:08:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3ac5964c

media-video/obs-cmd: Use cargo_target_dir instead of hardcoded target

Received feedback that if compiled with USE=debug the target folder is
different, and that I should use this variable to handle it.

Signed-off-by: Erica Nebula <EricaNebula <AT> Proton.me>

 media-video/obs-cmd/obs-cmd-0.18.5.ebuild | 2 +-
 media-video/obs-cmd/obs-cmd-0.19.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/obs-cmd/obs-cmd-0.18.5.ebuild 
b/media-video/obs-cmd/obs-cmd-0.18.5.ebuild
index 191a19444a..19aa5665f6 100644
--- a/media-video/obs-cmd/obs-cmd-0.18.5.ebuild
+++ b/media-video/obs-cmd/obs-cmd-0.18.5.ebuild
@@ -185,5 +185,5 @@ src_prepare() {
 }
 
 src_install() {
-       dobin target/release/obs-cmd
+       dobin "$(cargo_target_dir)"/obs-cmd
 }

diff --git a/media-video/obs-cmd/obs-cmd-0.19.2.ebuild 
b/media-video/obs-cmd/obs-cmd-0.19.2.ebuild
index 5977210856..cc09e12ae6 100644
--- a/media-video/obs-cmd/obs-cmd-0.19.2.ebuild
+++ b/media-video/obs-cmd/obs-cmd-0.19.2.ebuild
@@ -206,5 +206,5 @@ RESTRICT="mirror"
 RUST_MIN_VER=1.88.0
 
 src_install() {
-       dobin target/release/obs-cmd
+       dobin "$(cargo_target_dir)"/obs-cmd
 }

Reply via email to