Skip to content

Instantly share code, notes, and snippets.

@therealkenc
Last active February 26, 2023 09:37
Show Gist options
  • Save therealkenc/5dae7eefbacb0083e485348bd25ee33c to your computer and use it in GitHub Desktop.
Save therealkenc/5dae7eefbacb0083e485348bd25ee33c to your computer and use it in GitHub Desktop.
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install ubuntu-desktop build-essential git automake checkinstall gcc-6 g++-6 \
    intltool libtool \
    alsa-base alsa-utils alsa-tools libasound2 libasound2-plugins \
    libx11-dev libx11-xcb-dev check libsndfile1-dev libtdb-dev libgdbm-dev \
    libgtk-3-dev libgconf2-dev \
    libjack-dev jack libasyncns-dev libasyncns0 libwrap0-dev libwrap0 libsbc-dev libsbc1 \
    libavahi-common-dev libavahi-client3 libdbus-1-dev libssl-dev \
    libfftw3-dev libspeex-dev libspeexdsp-dev speex libsoxr-dev \
    liborc-0.4-dev libsoxr0 liblircclient-dev libsamplerate-dev \
    libwebrtc-audio-processing-dev libwebrtc-audio-processing-0 libjson-c-dev 
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 200
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 200

wget http://freedesktop.org/software/pulseaudio/releases/pulseaudio-9.0.tar.xz
tar xf pulseaudio-9.0.tar.xz
cd pulseaudio-9.0
CFLAGS="$CFLAGS -g -O0" ./configure     \
    --prefix=/usr/local                 \
    --sysconfdir=/etc                   \
    --localstatedir=/var                \
    --disable-bluez4                    \
    --disable-bluez5                    \
    --disable-rpath                     \
    --disable-asyncns                   \
    --disable-udev                      \
    --disable-systemd-daemon            \
    --without-caps                      \
    --enable-force-preopen

make -j 8
sudo apt-get purge pulseaudio
sudo make install
@pgaskin
Copy link

pgaskin commented Apr 25, 2021

Also see https://github.com/pgaskin/pulseaudio-win32 for up-to-date patched builds with better system integration and many bugfixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment