public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/musikcube/
Date: Sun, 11 Jun 2023 11:47:26 +0000 (UTC)	[thread overview]
Message-ID: <1686471707.efe0763e72929a66ffcf113cba89af9524b0d174.ceamac@gentoo> (raw)

commit:     efe0763e72929a66ffcf113cba89af9524b0d174
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Sun Jun 11 08:19:34 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
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 11:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-11 11:47 Viorel Munteanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-12 19:27 [gentoo-commits] repo/proj/guru:master commit in: media-sound/musikcube/ Florian Schmaus
2023-06-15  9:33 Florian Schmaus
2023-09-25 10:00 Florian Schmaus
2024-07-08 16:36 David Roman

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.ceamac@gentoo \
    --to=ceamac@gentoo.org \
    --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