public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "YiFei Zhu" <zhuyifei1999@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-sound/musikcube/
Date: Sun, 11 Jun 2023 08:22:39 +0000 (UTC)	[thread overview]
Message-ID: <1686471707.efe0763e72929a66ffcf113cba89af9524b0d174.zhuyifei1999@gentoo> (raw)

commit:     efe0763e72929a66ffcf113cba89af9524b0d174
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Sun Jun 11 08:19:34 2023 +0000
Commit:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Sun Jun 11 08:21:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=efe0763e

media-sound/musikcube: Fix dependencies and cmake args

Closes: https://bugs.gentoo.org/908306
Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 media-sound/musikcube/musikcube-3.0.1.ebuild | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/media-sound/musikcube/musikcube-3.0.1.ebuild b/media-sound/musikcube/musikcube-3.0.1.ebuild
index fcc08e3dd..e4b26c397 100644
--- a/media-sound/musikcube/musikcube-3.0.1.ebuild
+++ b/media-sound/musikcube/musikcube-3.0.1.ebuild
@@ -32,6 +32,7 @@ DEPEND="
 	dev-cpp/asio
 	libopenmpt? (
 		media-libs/libopenmpt
+		media-sound/mpg123
 	)
 	mpris? (
 		|| (
@@ -78,16 +79,17 @@ src_configure() {
 		-DENABLE_PIPEWIRE=$(usex pipewire true false)
 		$(usex pulseaudio '' -DLIBPULSE=LIBPULSE-NOTFOUND)
 		$(usex portaudio '' -DLIBPORTAUDIO=LIBPORTAUDIO-NOTFOUND)
-
-		if use mpris then
-			-DUSE_ELOGIND=$(usex elogind true false)
-			-DUSE_BASU=$(usex basu true false)
-		fi
-
 		$(usex libopenmpt '' -DLIBOPENMPT=LIBOPENMPT-NOTFOUND)
 		$(usex sndio '' -DLIBSNDIO=LIBSNDIO-NOTFOUND)
 		-DBUILD_STANDALONE=false
 	)
 
+	if use mpris; then
+		mycmakeargs+=(
+			-DUSE_ELOGIND=$(usex elogind true false)
+			-DUSE_BASU=$(usex basu true false)
+		)
+	fi
+
 	cmake_src_configure
 }


             reply	other threads:[~2023-06-11  8:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-11  8:22 YiFei Zhu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-12  7:32 [gentoo-commits] repo/proj/guru:dev commit in: media-sound/musikcube/ YiFei Zhu
2023-06-13  9:12 YiFei Zhu
2023-06-14 11:42 YiFei Zhu
2023-09-24 22:29 YiFei Zhu
2024-07-06  3:26 YiFei Zhu
2025-01-01  5:53 YiFei Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1686471707.efe0763e72929a66ffcf113cba89af9524b0d174.zhuyifei1999@gentoo \
    --to=zhuyifei1999@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox