commit: 210a865c5a3d1ab63ecf67d846027019e0289785 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Sun Jun 30 15:23:24 2024 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Fri Jan 16 00:19:24 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=210a865c
media-video/pipewire: fix automagic dependency on libpulse * VDB: detected possibly incorrect RDEPEND (media-video/pipewire-1.0.7) * > media-libs/libpulse * > media-libs/webrtc-audio-processing This occurs in libpipewire-module-pulse-tunnel.so, which has a build system toggle to be created. Add that toggle to the ebuild. Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Closes: https://bugs.gentoo.org/938235 Acked-by: Sam James <sam <AT> gentoo.org> Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> .../pipewire/{pipewire-1.4.7-r3.ebuild => pipewire-1.4.7-r4.ebuild} | 6 +++++- .../pipewire/{pipewire-1.4.8-r3.ebuild => pipewire-1.4.8-r4.ebuild} | 6 +++++- .../pipewire/{pipewire-1.4.9-r2.ebuild => pipewire-1.4.9-r3.ebuild} | 6 +++++- media-video/pipewire/pipewire-1.4.9999.ebuild | 6 +++++- media-video/pipewire/pipewire-9999.ebuild | 6 +++++- 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/media-video/pipewire/pipewire-1.4.7-r3.ebuild b/media-video/pipewire/pipewire-1.4.7-r4.ebuild similarity index 98% rename from media-video/pipewire/pipewire-1.4.7-r3.ebuild rename to media-video/pipewire/pipewire-1.4.7-r4.ebuild index 047ac513282e..df2424651510 100644 --- a/media-video/pipewire/pipewire-1.4.7-r3.ebuild +++ b/media-video/pipewire/pipewire-1.4.7-r4.ebuild @@ -64,7 +64,7 @@ LICENSE="MIT LGPL-2.1+ GPL-2" # ABI was broken in 0.3.42 for https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49 SLOT="0/0.4" IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth elogind dbus doc echo-cancel extra ffmpeg fftw flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 loudness lv2" -IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl system-service systemd test v4l X zeroconf" +IUSE+=" pulseaudio modemmanager pipewire-alsa readline roc selinux sound-server ssl system-service systemd test v4l X zeroconf" # Once replacing system JACK libraries is possible, it's likely that # jack-client IUSE will need blocking to avoid users accidentally @@ -78,6 +78,7 @@ IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl system- # If that works, pulseaudio defaults are loaded into alsa-lib runtime replacing default PCM and CTL. # When pipewire-alsa will be able to perform similar check, pipewire-alsa can be enabled unconditionally. # - ffmpeg is only used for pw-cat. We don't build the spa plugin which receives barely any activity. +# TODO: should we add "pulseaudio? ( sound-server)"? is libpipewire-module-pulse-tunnel.so useful without sound-server? REQUIRED_USE=" ffmpeg? ( extra ) bluetooth? ( dbus ) @@ -159,6 +160,7 @@ RDEPEND=" lv2? ( media-libs/lilv ) modemmanager? ( >=net-misc/modemmanager-1.10.0 ) pipewire-alsa? ( >=media-libs/alsa-lib-1.2.10[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse ) sound-server? ( !media-sound/pulseaudio-daemon ) roc? ( >=media-libs/roc-toolkit-0.4.0:= ) readline? ( sys-libs/readline:= ) @@ -309,6 +311,8 @@ multilib_src_configure() { $(meson_native_use_feature X x11-xfixes) $(meson_native_use_feature X libcanberra) + $(meson_native_use_feature pulseaudio libpulse) + # TODO -Dsnap=disabled ) diff --git a/media-video/pipewire/pipewire-1.4.8-r3.ebuild b/media-video/pipewire/pipewire-1.4.8-r4.ebuild similarity index 98% rename from media-video/pipewire/pipewire-1.4.8-r3.ebuild rename to media-video/pipewire/pipewire-1.4.8-r4.ebuild index 9a5eaa4b6c82..e1f14de8959c 100644 --- a/media-video/pipewire/pipewire-1.4.8-r3.ebuild +++ b/media-video/pipewire/pipewire-1.4.8-r4.ebuild @@ -64,7 +64,7 @@ LICENSE="MIT LGPL-2.1+ GPL-2" # ABI was broken in 0.3.42 for https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/49 SLOT="0/0.4" IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth elogind dbus doc echo-cancel extra ffmpeg fftw flatpak gstreamer gsettings ieee1394 jack-client jack-sdk liblc3 loudness lv2" -IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl system-service systemd test v4l X zeroconf" +IUSE+=" pulseaudio modemmanager pipewire-alsa readline roc selinux sound-server ssl system-service systemd test v4l X zeroconf" # Once replacing system JACK libraries is possible, it's likely that # jack-client IUSE will need blocking to avoid users accidentally @@ -78,6 +78,7 @@ IUSE+=" modemmanager pipewire-alsa readline roc selinux sound-server ssl system- # If that works, pulseaudio defaults are loaded into alsa-lib runtime replacing default PCM and CTL. # When pipewire-alsa will be able to perform similar check, pipewire-alsa can be enabled unconditionally. # - ffmpeg is only used for pw-cat. We don't build the spa plugin which receives barely any activity. +# TODO: should we add "pulseaudio? ( sound-server)"? is libpipewire-module-pulse-tunnel.so useful without sound-server? REQUIRED_USE=" ffmpeg? ( extra ) bluetooth? ( dbus ) @@ -159,6 +160,7 @@ RDEPEND=" lv2? ( media-libs/lilv ) modemmanager? ( >=net-misc/modemmanager-1.10.0 ) pipewire-alsa? ( >=media-libs/alsa-lib-1.2.10[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse ) sound-server? ( !media-sound/pulseaudio-daemon ) roc? ( >=media-libs/roc-toolkit-0.4.0:= ) readline? ( sys-libs/readline:= ) @@ -309,6 +311,8 @@ multilib_src_configure() { $(meson_native_use_feature X x11-xfixes) $(meson_native_use_feature X libcanberra) + $(meson_native_use_feature pulseaudio libpulse) + # TODO -Dsnap=disabled ) diff --git a/media-video/pipewire/pipewire-1.4.9-r2.ebuild b/media-video/pipewire/pipewire-1.4.9-r3.ebuild similarity index 98% rename from media-video/pipewire/pipewire-1.4.9-r2.ebuild rename to media-video/pipewire/pipewire-1.4.9-r3.ebuild index 05523b0a3c10..84c5f927541b 100644 --- a/media-video/pipewire/pipewire-1.4.9-r2.ebuild +++ b/media-video/pipewire/pipewire-1.4.9-r3.ebuild @@ -64,7 +64,7 @@ LICENSE="MIT LGPL-2.1+ GPL-2" SLOT="0/0.4" IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth elogind dbus doc echo-cancel extra ffmpeg fftw flatpak gstreamer gsettings" IUSE+=" ieee1394 jack-client jack-sdk libcamera liblc3 loudness lv2 modemmanager pipewire-alsa readline roc selinux" -IUSE+=" sound-server ssl system-service systemd test v4l X zeroconf " +IUSE+=" pulseaudio sound-server ssl system-service systemd test v4l X zeroconf " # Once replacing system JACK libraries is possible, it's likely that # jack-client IUSE will need blocking to avoid users accidentally @@ -78,6 +78,7 @@ IUSE+=" sound-server ssl system-service systemd test v4l X zeroconf " # If that works, pulseaudio defaults are loaded into alsa-lib runtime replacing default PCM and CTL. # When pipewire-alsa will be able to perform similar check, pipewire-alsa can be enabled unconditionally. # - ffmpeg is only used for pw-cat. We don't build the spa plugin which receives barely any activity. +# TODO: should we add "pulseaudio? ( sound-server)"? is libpipewire-module-pulse-tunnel.so useful without sound-server? REQUIRED_USE=" ffmpeg? ( extra ) bluetooth? ( dbus ) @@ -160,6 +161,7 @@ RDEPEND=" lv2? ( media-libs/lilv ) modemmanager? ( >=net-misc/modemmanager-1.10.0 ) pipewire-alsa? ( >=media-libs/alsa-lib-1.2.10[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse ) sound-server? ( !media-sound/pulseaudio-daemon ) roc? ( >=media-libs/roc-toolkit-0.4.0:= ) readline? ( sys-libs/readline:= ) @@ -310,6 +312,8 @@ multilib_src_configure() { $(meson_native_use_feature X x11-xfixes) $(meson_native_use_feature X libcanberra) + $(meson_native_use_feature pulseaudio libpulse) + # TODO -Dsnap=disabled ) diff --git a/media-video/pipewire/pipewire-1.4.9999.ebuild b/media-video/pipewire/pipewire-1.4.9999.ebuild index 15637da18a7b..9e6136a9f1e9 100644 --- a/media-video/pipewire/pipewire-1.4.9999.ebuild +++ b/media-video/pipewire/pipewire-1.4.9999.ebuild @@ -64,7 +64,7 @@ LICENSE="MIT LGPL-2.1+ GPL-2" SLOT="0/0.4" IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth elogind dbus doc echo-cancel extra ffmpeg fftw flatpak gstreamer gsettings" IUSE+=" ieee1394 jack-client jack-sdk libcamera liblc3 loudness lv2 modemmanager pipewire-alsa readline roc selinux" -IUSE+=" sound-server ssl system-service systemd test v4l X zeroconf" +IUSE+=" pulseaudio sound-server ssl system-service systemd test v4l X zeroconf" # Once replacing system JACK libraries is possible, it's likely that # jack-client IUSE will need blocking to avoid users accidentally @@ -78,6 +78,7 @@ IUSE+=" sound-server ssl system-service systemd test v4l X zeroconf" # If that works, pulseaudio defaults are loaded into alsa-lib runtime replacing default PCM and CTL. # When pipewire-alsa will be able to perform similar check, pipewire-alsa can be enabled unconditionally. # - ffmpeg is only used for pw-cat. We don't build the spa plugin which receives barely any activity. +# TODO: should we add "pulseaudio? ( sound-server)"? is libpipewire-module-pulse-tunnel.so useful without sound-server? REQUIRED_USE=" ffmpeg? ( extra ) bluetooth? ( dbus ) @@ -160,6 +161,7 @@ RDEPEND=" lv2? ( media-libs/lilv ) modemmanager? ( >=net-misc/modemmanager-1.10.0 ) pipewire-alsa? ( >=media-libs/alsa-lib-1.2.10[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse ) sound-server? ( !media-sound/pulseaudio-daemon ) roc? ( >=media-libs/roc-toolkit-0.4.0:= ) readline? ( sys-libs/readline:= ) @@ -310,6 +312,8 @@ multilib_src_configure() { $(meson_native_use_feature X x11-xfixes) $(meson_native_use_feature X libcanberra) + $(meson_native_use_feature pulseaudio libpulse) + # TODO -Dsnap=disabled ) diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-9999.ebuild index a681d1ccbfc2..5c02fa3236d7 100644 --- a/media-video/pipewire/pipewire-9999.ebuild +++ b/media-video/pipewire/pipewire-9999.ebuild @@ -63,7 +63,7 @@ LICENSE="MIT LGPL-2.1+ GPL-2" SLOT="0/0.4" IUSE="${PIPEWIRE_DOCS_USEFLAG} bluetooth elogind dbus doc echo-cancel extra ffmpeg fftw flatpak gstreamer gsettings" IUSE+=" ieee1394 jack-client jack-sdk libcamera liblc3 loudness lv2 modemmanager pipewire-alsa readline roc selinux" -IUSE+=" sound-server ssl system-service systemd test v4l X zeroconf" +IUSE+=" pulseaudio sound-server ssl system-service systemd test v4l X zeroconf" # Once replacing system JACK libraries is possible, it's likely that # jack-client IUSE will need blocking to avoid users accidentally @@ -77,6 +77,7 @@ IUSE+=" sound-server ssl system-service systemd test v4l X zeroconf" # If that works, pulseaudio defaults are loaded into alsa-lib runtime replacing default PCM and CTL. # When pipewire-alsa will be able to perform similar check, pipewire-alsa can be enabled unconditionally. # - ffmpeg is only used for pw-cat. We don't build the spa plugin which receives barely any activity. +# TODO: should we add "pulseaudio? ( sound-server)"? is libpipewire-module-pulse-tunnel.so useful without sound-server? REQUIRED_USE=" ffmpeg? ( extra ) bluetooth? ( dbus ) @@ -159,6 +160,7 @@ RDEPEND=" lv2? ( media-libs/lilv ) modemmanager? ( >=net-misc/modemmanager-1.10.0 ) pipewire-alsa? ( >=media-libs/alsa-lib-1.2.10[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse ) sound-server? ( !media-sound/pulseaudio-daemon ) roc? ( >=media-libs/roc-toolkit-0.4.0:= ) readline? ( sys-libs/readline:= ) @@ -306,6 +308,8 @@ multilib_src_configure() { $(meson_native_use_feature X x11-xfixes) $(meson_native_use_feature X libcanberra) + $(meson_native_use_feature pulseaudio libpulse) + # TODO -Dsnap=disabled )
