Skip to content

Build on other distro

Jimmy Li edited this page Mar 18, 2024 · 3 revisions

First off, find out your pulseaudio version using pulseaudio --version command. Download the tarball of the pulseaudio version that you have.

After downloading the tarball, extract the tarball and cd into the source directory, then run ./configure (pulseaudio versions before 15), or meson build (pulseaudio version 15 and later)

VERSION=11.1  ;# Replace '11.1' with the version of pulseaudio you have
wget https://freedesktop.org/software/pulseaudio/releases/pulseaudio-$VERSION.tar.xz
tar xf pulseaudio-$VERSION.tar.xz
cd pulseaudio-$VERSION
meson build  ; # Use './configure' instead for PA versions < 15

If additional packages are required to run ./configure or meson build, install requisite packages depending on your environment.

Finally, let's build xrdp source / sink modules. You'll have two .so files module-xrdp-sink.so and module-xrdp-source.so. PULSE_DIR must be an absolute path (i.e. no ../)

git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git
cd pulseaudio-module-xrdp
./bootstrap && ./configure PULSE_DIR=/path/to/pulseaudio-$VERSION
make

Installation

See the README for installation instructions.

Clone this wiki locally