The Wireplumber package contains a session and policy manager for Pipewire.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/0.5.12/wireplumber-0.5.12.tar.bz2
Download SHA256 Sum: b772f48c61f5c2a397e0bf59b3ea3fb745ec974de739756fc3d6ee8ee2d7395c
Download MD5 sum: 42f9b6cbd8d1aa27c80598348463f874
Download size: 2,817.6 KB
Estimated disk space required: 82,085.8 KB
Estimated build time: less than 0.5 SBU
GLib-2.86.2, pipewire-1.4.9, and Systemd-258.1 (runtime, rebuilt with Linux-PAM-1.7.1)
Prepare Wireplumber by running the following commands:
meson setup build --prefix=/usr \
--buildtype=release \
-D system-lua=trueTo Build the package, issue:
ninja -C build
To test the results, issue:
ninja -C build test
Now Install the package, as the root user:
ninja -C build install
Finally, rename the documentation directory to a versioned directory as
the root user:
mv -v /usr/share/doc/wireplumber{,-0.5.12}
--buildtype=release: Specify a buildtype
suitable for stable releases of the package, as the default may
produce unoptimized binaries.
-D system-lua=true: This switch enables using the
system version of Lua. Omit this switch if you have not installed Lua,
but note that meson will download and install
it's own version.
In order for Wireplumber to be used by Pipewire, Wireplumber and Pipewire must be configured to start when a desktop environment is started.
Pipewire now provides it's own Pulseaudio server implementation, which
causes runtime conflicts with the server provided by Pulseaudio itself.
This generally presents itself by applications hanging or malfunctioning
when trying to play or record audio and video. First, prevent
Pulseaudio from starting it's own server implementation by running the
following commands as the root user:
rm -vf /etc/xdg/autostart/pulseaudio.desktop rm -vf /etc/xdg/Xwayland-session.d/00-pulseaudio-x11 sed -e '$a autospawn = no' -i /etc/pulse/client.conf
Next, configure Wireplumber to start when a desktop environment is
started. Run the following commands as the root user to enable the
systemd user units:
systemctl enable --global pipewire.socket systemctl enable --global pipewire-pulse.socket systemctl enable --global wireplumber
Now that Wireplumber is configured to start when a desktop environment is started, it is recommended that you log out of your session and log back in again.