From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtmultimedia/
Date: Tue, 2 Jul 2024 06:25:43 +0000 (UTC) [thread overview]
Message-ID: <1719901363.28b3f2608777853f8a89942a83b3cc57ff611300.ionen@gentoo> (raw)
commit: 28b3f2608777853f8a89942a83b3cc57ff611300
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 2 06:09:25 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jul 2 06:22:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28b3f260
dev-qt/qtmultimedia: disable alsa when pulseaudio is enabled (qt6)
Could revisit enabling both if qtmultimedia tries higher-end
backends like pulseaudio first in the future, but currently
it is both marked experimental and without autodetect:
qt_feature("alsa" PUBLIC PRIVATE
LABEL "ALSA (experimental)"
AUTODETECT false
So only enable it if it's the only option we have.
Have not checked the state of this for Qt5, but probably better
off not touching at this point unless someone has problems
(it's possible the audio sink was going through gstreamer
preventing issues).
Closes: https://bugs.gentoo.org/935146
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
...timedia-6.7.1.ebuild => qtmultimedia-6.7.1-r1.ebuild} | 16 ++++++++++++++--
...timedia-6.7.2.ebuild => qtmultimedia-6.7.2-r1.ebuild} | 16 ++++++++++++++--
dev-qt/qtmultimedia/qtmultimedia-6.7.9999.ebuild | 16 ++++++++++++++--
dev-qt/qtmultimedia/qtmultimedia-6.8.9999.ebuild | 16 ++++++++++++++--
dev-qt/qtmultimedia/qtmultimedia-6.9999.ebuild | 16 ++++++++++++++--
5 files changed, 70 insertions(+), 10 deletions(-)
diff --git a/dev-qt/qtmultimedia/qtmultimedia-6.7.1.ebuild b/dev-qt/qtmultimedia/qtmultimedia-6.7.1-r1.ebuild
similarity index 83%
rename from dev-qt/qtmultimedia/qtmultimedia-6.7.1.ebuild
rename to dev-qt/qtmultimedia/qtmultimedia-6.7.1-r1.ebuild
index 1d78a1de5024..ddf6bb150a26 100644
--- a/dev-qt/qtmultimedia/qtmultimedia-6.7.1.ebuild
+++ b/dev-qt/qtmultimedia/qtmultimedia-6.7.1-r1.ebuild
@@ -22,7 +22,9 @@ REQUIRED_USE="
RDEPEND="
~dev-qt/qtbase-${PV}:6[gui,network,opengl=,vulkan=,widgets]
- alsa? ( media-libs/alsa-lib )
+ alsa? (
+ !pulseaudio? ( media-libs/alsa-lib )
+ )
ffmpeg? (
~dev-qt/qtbase-${PV}:6[X=,concurrent,eglfs=]
media-video/ffmpeg:=[vaapi?]
@@ -77,7 +79,6 @@ src_configure() {
local mycmakeargs=(
$(cmake_use_find_package qml Qt6Qml)
- $(qt_feature alsa)
$(qt_feature ffmpeg)
$(qt_feature gstreamer)
$(usev gstreamer $(qt_feature opengl gstreamer_gl))
@@ -86,6 +87,17 @@ src_configure() {
$(qt_feature vaapi)
)
+ # ALSA backend is experimental off-by-default and can take priority
+ # causing problems (bug #935146), disable if USE=pulseaudio is set
+ # (also do not want unnecessary usage of ALSA plugins -> pulse)
+ if use alsa && use pulseaudio; then
+ # einfo should be enough given pure-ALSA users tend to disable pulse
+ einfo "Warning: USE=alsa is ignored when USE=pulseaudio is set"
+ mycmakeargs+=( -DQT_FEATURE_alsa=OFF )
+ else
+ mycmakeargs+=( $(qt_feature alsa) )
+ fi
+
qt6-build_src_configure
}
diff --git a/dev-qt/qtmultimedia/qtmultimedia-6.7.2.ebuild b/dev-qt/qtmultimedia/qtmultimedia-6.7.2-r1.ebuild
similarity index 84%
rename from dev-qt/qtmultimedia/qtmultimedia-6.7.2.ebuild
rename to dev-qt/qtmultimedia/qtmultimedia-6.7.2-r1.ebuild
index 25d6f40c49e6..3325d8cc1142 100644
--- a/dev-qt/qtmultimedia/qtmultimedia-6.7.2.ebuild
+++ b/dev-qt/qtmultimedia/qtmultimedia-6.7.2-r1.ebuild
@@ -22,7 +22,9 @@ REQUIRED_USE="
RDEPEND="
~dev-qt/qtbase-${PV}:6[gui,network,opengl=,vulkan=,widgets]
- alsa? ( media-libs/alsa-lib )
+ alsa? (
+ !pulseaudio? ( media-libs/alsa-lib )
+ )
ffmpeg? (
~dev-qt/qtbase-${PV}:6[X=,concurrent,eglfs=]
media-video/ffmpeg:=[vaapi?]
@@ -81,7 +83,6 @@ src_configure() {
local mycmakeargs=(
$(cmake_use_find_package qml Qt6Qml)
- $(qt_feature alsa)
$(qt_feature ffmpeg)
$(qt_feature gstreamer)
$(usev gstreamer $(qt_feature opengl gstreamer_gl))
@@ -90,6 +91,17 @@ src_configure() {
$(qt_feature vaapi)
)
+ # ALSA backend is experimental off-by-default and can take priority
+ # causing problems (bug #935146), disable if USE=pulseaudio is set
+ # (also do not want unnecessary usage of ALSA plugins -> pulse)
+ if use alsa && use pulseaudio; then
+ # einfo should be enough given pure-ALSA users tend to disable pulse
+ einfo "Warning: USE=alsa is ignored when USE=pulseaudio is set"
+ mycmakeargs+=( -DQT_FEATURE_alsa=OFF )
+ else
+ mycmakeargs+=( $(qt_feature alsa) )
+ fi
+
qt6-build_src_configure
}
diff --git a/dev-qt/qtmultimedia/qtmultimedia-6.7.9999.ebuild b/dev-qt/qtmultimedia/qtmultimedia-6.7.9999.ebuild
index 99d03b1ca8be..3b8589664575 100644
--- a/dev-qt/qtmultimedia/qtmultimedia-6.7.9999.ebuild
+++ b/dev-qt/qtmultimedia/qtmultimedia-6.7.9999.ebuild
@@ -22,7 +22,9 @@ REQUIRED_USE="
RDEPEND="
~dev-qt/qtbase-${PV}:6[gui,network,opengl=,vulkan=,widgets]
- alsa? ( media-libs/alsa-lib )
+ alsa? (
+ !pulseaudio? ( media-libs/alsa-lib )
+ )
ffmpeg? (
~dev-qt/qtbase-${PV}:6[X=,concurrent,eglfs=]
media-video/ffmpeg:=[vaapi?]
@@ -77,7 +79,6 @@ src_configure() {
local mycmakeargs=(
$(cmake_use_find_package qml Qt6Qml)
- $(qt_feature alsa)
$(qt_feature ffmpeg)
$(qt_feature gstreamer)
$(usev gstreamer $(qt_feature opengl gstreamer_gl))
@@ -86,6 +87,17 @@ src_configure() {
$(qt_feature vaapi)
)
+ # ALSA backend is experimental off-by-default and can take priority
+ # causing problems (bug #935146), disable if USE=pulseaudio is set
+ # (also do not want unnecessary usage of ALSA plugins -> pulse)
+ if use alsa && use pulseaudio; then
+ # einfo should be enough given pure-ALSA users tend to disable pulse
+ einfo "Warning: USE=alsa is ignored when USE=pulseaudio is set"
+ mycmakeargs+=( -DQT_FEATURE_alsa=OFF )
+ else
+ mycmakeargs+=( $(qt_feature alsa) )
+ fi
+
qt6-build_src_configure
}
diff --git a/dev-qt/qtmultimedia/qtmultimedia-6.8.9999.ebuild b/dev-qt/qtmultimedia/qtmultimedia-6.8.9999.ebuild
index 99d03b1ca8be..3b8589664575 100644
--- a/dev-qt/qtmultimedia/qtmultimedia-6.8.9999.ebuild
+++ b/dev-qt/qtmultimedia/qtmultimedia-6.8.9999.ebuild
@@ -22,7 +22,9 @@ REQUIRED_USE="
RDEPEND="
~dev-qt/qtbase-${PV}:6[gui,network,opengl=,vulkan=,widgets]
- alsa? ( media-libs/alsa-lib )
+ alsa? (
+ !pulseaudio? ( media-libs/alsa-lib )
+ )
ffmpeg? (
~dev-qt/qtbase-${PV}:6[X=,concurrent,eglfs=]
media-video/ffmpeg:=[vaapi?]
@@ -77,7 +79,6 @@ src_configure() {
local mycmakeargs=(
$(cmake_use_find_package qml Qt6Qml)
- $(qt_feature alsa)
$(qt_feature ffmpeg)
$(qt_feature gstreamer)
$(usev gstreamer $(qt_feature opengl gstreamer_gl))
@@ -86,6 +87,17 @@ src_configure() {
$(qt_feature vaapi)
)
+ # ALSA backend is experimental off-by-default and can take priority
+ # causing problems (bug #935146), disable if USE=pulseaudio is set
+ # (also do not want unnecessary usage of ALSA plugins -> pulse)
+ if use alsa && use pulseaudio; then
+ # einfo should be enough given pure-ALSA users tend to disable pulse
+ einfo "Warning: USE=alsa is ignored when USE=pulseaudio is set"
+ mycmakeargs+=( -DQT_FEATURE_alsa=OFF )
+ else
+ mycmakeargs+=( $(qt_feature alsa) )
+ fi
+
qt6-build_src_configure
}
diff --git a/dev-qt/qtmultimedia/qtmultimedia-6.9999.ebuild b/dev-qt/qtmultimedia/qtmultimedia-6.9999.ebuild
index 99d03b1ca8be..3b8589664575 100644
--- a/dev-qt/qtmultimedia/qtmultimedia-6.9999.ebuild
+++ b/dev-qt/qtmultimedia/qtmultimedia-6.9999.ebuild
@@ -22,7 +22,9 @@ REQUIRED_USE="
RDEPEND="
~dev-qt/qtbase-${PV}:6[gui,network,opengl=,vulkan=,widgets]
- alsa? ( media-libs/alsa-lib )
+ alsa? (
+ !pulseaudio? ( media-libs/alsa-lib )
+ )
ffmpeg? (
~dev-qt/qtbase-${PV}:6[X=,concurrent,eglfs=]
media-video/ffmpeg:=[vaapi?]
@@ -77,7 +79,6 @@ src_configure() {
local mycmakeargs=(
$(cmake_use_find_package qml Qt6Qml)
- $(qt_feature alsa)
$(qt_feature ffmpeg)
$(qt_feature gstreamer)
$(usev gstreamer $(qt_feature opengl gstreamer_gl))
@@ -86,6 +87,17 @@ src_configure() {
$(qt_feature vaapi)
)
+ # ALSA backend is experimental off-by-default and can take priority
+ # causing problems (bug #935146), disable if USE=pulseaudio is set
+ # (also do not want unnecessary usage of ALSA plugins -> pulse)
+ if use alsa && use pulseaudio; then
+ # einfo should be enough given pure-ALSA users tend to disable pulse
+ einfo "Warning: USE=alsa is ignored when USE=pulseaudio is set"
+ mycmakeargs+=( -DQT_FEATURE_alsa=OFF )
+ else
+ mycmakeargs+=( $(qt_feature alsa) )
+ fi
+
qt6-build_src_configure
}
next reply other threads:[~2024-07-02 6:25 UTC|newest]
Thread overview: 196+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-02 6:25 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-18 16:15 [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtmultimedia/ Ionen Wolkens
2024-11-13 10:04 Ionen Wolkens
2024-11-02 14:10 Arthur Zamarin
2024-11-01 6:35 Arthur Zamarin
2024-10-10 2:28 Ionen Wolkens
2024-10-09 6:22 Ionen Wolkens
2024-10-08 5:03 Ionen Wolkens
2024-09-27 7:26 Ionen Wolkens
2024-09-24 9:57 Ionen Wolkens
2024-09-03 15:11 Ionen Wolkens
2024-09-03 4:22 Ionen Wolkens
2024-09-02 17:52 Ionen Wolkens
2024-09-02 4:06 Ionen Wolkens
2024-07-24 2:20 Ionen Wolkens
2024-07-16 1:29 Ionen Wolkens
2024-07-08 16:40 Arthur Zamarin
2024-07-08 11:16 Arthur Zamarin
2024-07-08 10:09 Sam James
2024-06-18 18:14 Ionen Wolkens
2024-06-08 13:41 Ionen Wolkens
2024-06-08 5:27 Arthur Zamarin
2024-06-04 19:36 Ionen Wolkens
2024-06-04 16:16 Arthur Zamarin
2024-06-02 4:04 Sam James
2024-06-01 15:59 Arthur Zamarin
2024-06-01 14:53 Arthur Zamarin
2024-05-28 18:56 Arthur Zamarin
2024-05-20 8:48 Ionen Wolkens
2024-04-23 15:08 Ionen Wolkens
2024-04-19 7:55 Ionen Wolkens
2024-04-13 17:50 Arthur Zamarin
2024-04-04 4:23 Arthur Zamarin
2024-04-03 20:45 Arthur Zamarin
2024-04-03 19:06 Arthur Zamarin
2024-04-03 18:48 Arthur Zamarin
2024-04-02 16:17 Ionen Wolkens
2024-04-02 13:06 Ionen Wolkens
2024-04-02 6:09 Arthur Zamarin
2024-04-01 18:29 Arthur Zamarin
2024-03-30 0:29 Ionen Wolkens
2024-03-30 0:29 Ionen Wolkens
2024-03-26 7:10 Ionen Wolkens
2024-03-22 10:29 Ionen Wolkens
2024-03-22 6:16 Arthur Zamarin
2024-03-12 12:01 Ionen Wolkens
2024-02-27 9:30 Ionen Wolkens
2024-02-20 14:30 Arthur Zamarin
2024-02-14 12:24 Ionen Wolkens
2024-01-31 22:47 Ionen Wolkens
2024-01-30 5:24 Ionen Wolkens
2024-01-30 4:05 Ionen Wolkens
2024-01-29 14:38 Ionen Wolkens
2024-01-25 1:05 Ionen Wolkens
2024-01-24 14:49 Ionen Wolkens
2024-01-02 16:26 WANG Xuerui
2023-12-19 20:33 Ionen Wolkens
2023-12-17 22:49 Ionen Wolkens
2023-12-17 18:29 Arthur Zamarin
2023-12-12 21:25 Ionen Wolkens
2023-12-05 7:25 Joonas Niilola
2023-12-03 20:48 Jakov Smolić
2023-12-02 10:57 Arthur Zamarin
2023-12-02 10:57 Arthur Zamarin
2023-12-01 10:58 Arthur Zamarin
2023-12-01 10:58 Arthur Zamarin
2023-11-27 8:47 Ionen Wolkens
2023-11-20 2:07 Ionen Wolkens
2023-11-15 19:28 Ionen Wolkens
2023-11-15 17:20 Arthur Zamarin
2023-11-06 8:15 Arthur Zamarin
2023-11-06 7:14 Arthur Zamarin
2023-10-10 14:51 Ionen Wolkens
2023-10-08 15:58 Andreas Sturmlechner
2023-09-26 19:48 Ionen Wolkens
2023-09-24 17:22 Ionen Wolkens
2023-09-15 4:49 Sam James
2023-09-07 20:37 Ionen Wolkens
2023-07-26 13:31 Jimi Huotari
2023-07-20 19:41 Jimi Huotari
2023-07-12 23:39 Sam James
2023-07-12 1:13 Sam James
2023-07-09 17:00 Arthur Zamarin
2023-06-18 21:28 Jimi Huotari
2023-06-18 21:28 Jimi Huotari
2023-06-10 13:33 Jimi Huotari
2023-05-06 11:26 Jimi Huotari
2023-05-01 7:26 Arthur Zamarin
2023-04-25 9:42 Arthur Zamarin
2023-04-23 16:00 Arthur Zamarin
2023-04-15 18:39 Jimi Huotari
2023-03-26 16:59 Jimi Huotari
2023-03-19 13:09 Jimi Huotari
2023-02-09 10:02 Andreas Sturmlechner
2023-01-21 19:37 Arthur Zamarin
2023-01-21 19:33 Arthur Zamarin
2023-01-21 19:30 Arthur Zamarin
2023-01-21 9:15 Arthur Zamarin
2023-01-17 20:56 Arthur Zamarin
2023-01-08 21:45 Andreas Sturmlechner
2023-01-05 22:39 Jimi Huotari
2022-12-05 19:45 Arthur Zamarin
2022-12-04 19:30 Arthur Zamarin
2022-12-04 19:22 Arthur Zamarin
2022-12-03 20:37 Arthur Zamarin
2022-12-03 11:02 Sam James
2022-12-01 19:19 Andreas Sturmlechner
2022-09-24 14:32 Andreas Sturmlechner
2022-08-02 21:51 Sam James
2022-07-23 11:22 Andreas Sturmlechner
2022-07-04 18:00 Arthur Zamarin
2022-07-02 18:25 Sam James
2022-07-02 12:54 Arthur Zamarin
2022-07-02 11:02 Arthur Zamarin
2022-06-30 22:19 Sam James
2022-06-18 17:25 Andreas Sturmlechner
2022-06-18 15:39 Sam James
2022-06-14 13:27 Sam James
2022-06-13 21:18 Sam James
2022-06-10 3:16 Sam James
2022-05-25 21:13 Andreas Sturmlechner
2022-05-25 21:13 Andreas Sturmlechner
2022-04-17 18:18 Sam James
2022-04-14 0:19 Sam James
2022-04-12 22:49 Sam James
2022-04-12 19:35 Arthur Zamarin
2022-04-12 18:45 Arthur Zamarin
2021-10-17 0:29 Sam James
2021-10-17 0:27 Sam James
2021-09-30 18:20 Sam James
2021-09-30 18:15 Sam James
2021-09-22 20:01 Andreas Sturmlechner
2021-01-09 21:18 Sam James
2021-01-09 21:17 Sam James
2021-01-09 13:42 Sam James
2020-10-13 9:58 Agostino Sarubbo
2020-10-13 9:51 Agostino Sarubbo
2020-10-12 11:56 Sam James
2020-06-21 22:25 Andreas Sturmlechner
2020-06-21 17:03 Agostino Sarubbo
2020-06-21 16:58 Agostino Sarubbo
2020-06-20 13:48 Thomas Deutschmann
2020-06-17 14:21 Mart Raudsepp
2020-05-30 19:33 Sergei Trofimovich
2020-05-09 7:46 Agostino Sarubbo
2020-05-09 7:43 Agostino Sarubbo
2020-04-03 20:07 Andreas Sturmlechner
2020-03-19 10:14 Agostino Sarubbo
2020-03-19 10:12 Agostino Sarubbo
2020-02-26 22:57 Andreas Sturmlechner
2020-02-08 13:25 Mikle Kolyada
2020-01-13 19:50 Sergei Trofimovich
2019-12-21 10:54 Mikle Kolyada
2019-10-20 16:15 Mikle Kolyada
2019-05-23 13:20 Mikle Kolyada
2019-05-23 12:26 Mikle Kolyada
2019-04-26 17:51 Anthony G. Basile
2019-03-11 6:47 Michael Palimaka
2019-02-11 23:36 Sergei Trofimovich
2019-01-09 13:30 Mikle Kolyada
2018-12-07 20:07 Sergei Trofimovich
2018-11-24 13:32 Sergei Trofimovich
2018-10-16 16:09 Mikle Kolyada
2018-09-07 23:46 Sergei Trofimovich
2018-08-22 1:21 Mikle Kolyada
2018-08-17 21:12 Sergei Trofimovich
2018-07-01 17:20 Andreas Sturmlechner
2018-03-26 7:04 Sergei Trofimovich
2018-03-21 7:25 Sergei Trofimovich
2018-03-14 17:27 Michał Górny
2018-02-06 13:56 Michael Palimaka
2017-09-02 14:10 Andreas Sturmlechner
2017-07-15 5:16 Markus Meier
2017-07-04 14:02 Agostino Sarubbo
2017-06-26 7:54 Alexis Ballier
2017-06-21 9:47 Alexis Ballier
2017-06-06 16:12 Markus Meier
2017-05-21 16:41 Michael Weber
2017-05-20 10:37 Michael Weber
2017-05-20 9:34 Agostino Sarubbo
2017-05-18 12:39 Agostino Sarubbo
2017-03-17 7:47 Jeroen Roovers
2017-01-02 18:57 Markus Meier
2016-08-23 19:34 Markus Meier
2016-08-15 5:56 Jeroen Roovers
2016-07-31 19:08 Chí-Thanh Christopher Nguyễn
2016-06-10 10:55 Jeroen Roovers
2016-04-18 9:43 Patrice Clement
2016-04-18 8:13 Patrice Clement
2016-03-24 5:53 Markus Meier
2016-03-09 4:12 Jeroen Roovers
2016-03-05 22:20 Mikle Kolyada
2016-01-21 17:40 Davide Pesavento
2016-01-14 17:45 Michael Palimaka
2015-09-21 4:58 Jeroen Roovers
2015-08-26 14:56 Mikle Kolyada
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=1719901363.28b3f2608777853f8a89942a83b3cc57ff611300.ionen@gentoo \
--to=ionen@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