From: "Brayan" <this.brayan@proton.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-sound/qbitmplayer/
Date: Tue, 10 Jun 2025 20:00:09 +0000 (UTC) [thread overview]
Message-ID: <1749585399.9197795c31736b353465cf5ccd0d14d6adecc5e2.this.brayan@gentoo> (raw)
commit: 9197795c31736b353465cf5ccd0d14d6adecc5e2
Author: Brayan M. Salazar <this.brayan <AT> proton <DOT> me>
AuthorDate: Tue Jun 10 19:51:51 2025 +0000
Commit: Brayan <this.brayan <AT> proton <DOT> me>
CommitDate: Tue Jun 10 19:56:39 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9197795c
media-sound/qbitmplayer: Simplify USE validation.
Fixed bug:
The 'network' USE flag requires that 'dbus' is enabled as well.
Signed-off-by: Brayan M. Salazar <this.brayan <AT> proton.me>
...er-3.2.0.ebuild => qbitmplayer-3.2.0-r1.ebuild} | 32 ++++++----------------
1 file changed, 8 insertions(+), 24 deletions(-)
diff --git a/media-sound/qbitmplayer/qbitmplayer-3.2.0.ebuild b/media-sound/qbitmplayer/qbitmplayer-3.2.0-r1.ebuild
similarity index 75%
rename from media-sound/qbitmplayer/qbitmplayer-3.2.0.ebuild
rename to media-sound/qbitmplayer/qbitmplayer-3.2.0-r1.ebuild
index c0c0988946..30fbb87d01 100644
--- a/media-sound/qbitmplayer/qbitmplayer-3.2.0.ebuild
+++ b/media-sound/qbitmplayer/qbitmplayer-3.2.0-r1.ebuild
@@ -29,6 +29,10 @@ BDEPEND="
virtual/pkgconfig
"
+REQUIRED_USE="
+ network? ( dbus )
+"
+
src_prepare() {
cmake_src_prepare
}
@@ -36,31 +40,11 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DQT_VERSION_MAJOR=6
+ -DENABLE_IPC="$(usex dbus)"
+ -DENABLE_NOTIFICATIONS="$(usex libnotify)"
+ -DENABLE_VIDEO_PLAYER="$(usex video)"
+ -DSINGLE_INSTANCE="$(usex network)"
)
- if use dbus; then
- mycmakeargs+=(
- -DENABLE_IPC=1
- )
- fi
-
- if use libnotify; then
- mycmakeargs+=(
- -DENABLE_NOTIFICATIONS=1
- )
- fi
-
- if use network; then
- mycmakeargs+=(
- -DSINGLE_INSTANCE=1
- )
- fi
-
- if use video; then
- mycmakeargs+=(
- -DENABLE_VIDEO_PLAYER=1
- )
- fi
-
cmake_src_configure
}
next reply other threads:[~2025-06-11 1:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-10 20:00 Brayan [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-11 21:25 [gentoo-commits] repo/proj/guru:dev commit in: media-sound/qbitmplayer/ Brayan
2025-06-09 12:06 Brayan
2025-06-05 21:38 Brayan
2025-05-29 18:26 Brayan
2025-05-27 0:53 Brayan
2025-05-22 15:28 Brayan
2025-05-22 15:28 Brayan
2025-05-21 19:57 Brayan
2025-05-20 19:08 Brayan
2025-05-20 12:31 Brayan
2025-05-16 21:49 Brayan
2025-05-14 12:26 Brayan
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=1749585399.9197795c31736b353465cf5ccd0d14d6adecc5e2.this.brayan@gentoo \
--to=this.brayan@proton.me \
--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