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.10/wireplumber-0.5.10.tar.bz2
Download MD5 sum: 2cbb662f91da2bdce31fa55bef5dfcf5
Download size: 416 KB
Estimated disk space required: 89 MB (with tests)
Estimated build time: 0.3 SBU (with tests)
GLib-2.84.4, pipewire-1.4.7, and Systemd-257.8 (runtime, rebuilt with Linux-PAM-1.7.1)
Doxygen-1.14.0, lxml-6.0.0, sphinx-8.2.3, sphinx_rtd_theme-3.0.2, and Breathe
Install Wireplumber by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release -D system-lua=true .. && ninja
To test the results, issue: ninja test.
          Now, as the root user:
        
ninja install
          Finally, rename the documentation directory to a versioned
          directory as the root user:
        
mv -v /usr/share/doc/wireplumber{,-0.5.10}
      
          --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.