Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938235 - media-video/pipewire-1.0.7-r1 has automagic dependency on media-libs/libpulse
Summary: media-video/pipewire-1.0.7-r1 has automagic dependency on media-libs/libpulse
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-20 08:46 UTC by Matt Whitlock
Modified: 2024-08-23 05:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2024-08-20 08:46:52 UTC
Without media-libs/libpulse installed, media-video/pipewire-1.0.7-r1 configure output includes:

Run-time dependency libpulse found: NO (tried pkgconfig and cmake)
⋮
  Streaming between daemons
    libpulse                                : NO


After emerging media-libs/libpulse, then media-video/pipewire-1.0.7-r1 configure output includes:

Run-time dependency libpulse found: YES 17.0
⋮
  Streaming between daemons
    libpulse                                : YES


Moreover, /usr/lib/pipewire-0.3/libpipewire-module-pulse-tunnel.so is only installed if media-libs/libpulse is present on the system when media-video/pipewire is built. That shared object dynamically links against libpulse.so.0, yet media-video/pipewire lacks an RDEPEND on media-libs/libpulse.


Rather than allowing an automagic dependency, media-video/pipewire should expose a USE flag to explicitly control its dependency on media-libs/libpulse.


# emerge -pqvO media-video/pipewire
[ebuild   R   ] media-video/pipewire-1.0.7-r1  USE="pipewire-alsa readline sound-server ssl -X -bluetooth -dbus -doc (-echo-cancel) -extra -ffmpeg -flatpak -gsettings -gstreamer (-ieee1394) -jack-client -jack-sdk -liblc3 -lv2 -man -modemmanager (-roc) (-selinux) (-system-service) -systemd -test -v4l -zeroconf"