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.

21 lines
599 B

  1. #!/usr/bin/env bash
  2. SRC_DIR=${PWD}
  3. cd /tmp
  4. yum install -y epel-release
  5. yum install -y xrdp xrdp-devel xrdp-selinux wget
  6. yum install -y pulseaudio pulseaudio-libs pulseaudio-libs-devel
  7. yum-builddep -y pulseaudio
  8. yum groupinstall -y "Development Tools"
  9. PULSE_VER=$(pkg-config --modversion libpulse)
  10. # not to make traffic on upstream server
  11. wget http://distcache.freebsd.org/ports-distfiles/pulseaudio-${PULSE_VER}.tar.xz
  12. tar xf pulseaudio-${PULSE_VER}.tar.xz
  13. cd pulseaudio-${PULSE_VER}
  14. ./configure || exit 1
  15. cd ${SRC_DIR}
  16. ./bootstrap && ./configure PULSE_DIR=/tmp/pulseaudio-${PULSE_VER} && make