You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
485 B

  1. #!/usr/bin/env bash
  2. SRC_DIR=${PWD}
  3. cd /tmp
  4. sed -i.bak -e 's|^# deb-src|deb-src|' /etc/apt/sources.list
  5. apt update
  6. apt install -y build-essential dpkg-dev libpulse-dev pulseaudio pkg-config xrdp
  7. apt install -y g++ clang
  8. apt install -y pulseaudio
  9. apt build-dep -y pulseaudio
  10. apt source pulseaudio
  11. PULSE_VER=$(pkg-config --modversion libpulse)
  12. cd pulseaudio-${PULSE_VER}
  13. ./configure || exit 1
  14. cd ${SRC_DIR}
  15. ./bootstrap && ./configure PULSE_DIR=/tmp/pulseaudio-${PULSE_VER} && make