aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYiFei Zhu <zhuyifei1999@gmail.com>2023-06-13 02:10:56 -0700
committerYiFei Zhu <zhuyifei1999@gmail.com>2023-06-13 02:12:10 -0700
commit6b6874185544be61b7dbadf06313eb32ad822e63 (patch)
tree370154c5004c1060fa993a769aa65c3765250e4c /media-sound/musikcube
parentdev-python/dropbox: drop 11.36.1 (diff)
downloadguru-6b6874185544be61b7dbadf06313eb32ad822e63.tar.gz
guru-6b6874185544be61b7dbadf06313eb32ad822e63.tar.bz2
guru-6b6874185544be61b7dbadf06313eb32ad822e63.zip
media-sound/musikcube: Fix some CMake variables being unused
Closes: https://bugs.gentoo.org/908391 Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
Diffstat (limited to 'media-sound/musikcube')
-rw-r--r--media-sound/musikcube/musikcube-3.0.1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/media-sound/musikcube/musikcube-3.0.1.ebuild b/media-sound/musikcube/musikcube-3.0.1.ebuild
index 1cb7e1f70..431ceb141 100644
--- a/media-sound/musikcube/musikcube-3.0.1.ebuild
+++ b/media-sound/musikcube/musikcube-3.0.1.ebuild
@@ -86,10 +86,12 @@ src_configure() {
)
if use mpris; then
- mycmakeargs+=(
- -DUSE_ELOGIND=$(usex elogind true false)
- -DUSE_BASU=$(usex basu true false)
- )
+ if use elogind; then
+ mycmakeargs+=( -DUSE_ELOGIND=true )
+ fi
+ if use basu; then
+ mycmakeargs+=( -DUSE_BASU=true )
+ fi
fi
cmake_src_configure