El bot de radiocronía usa liquidsoap
para transmitir audio al servidor icecast.
Estas son las instrucciones para compilar, instalar y probar la última versión de liquidsoap en Ubuntu 20.04. (hoy, commit 3557de71d641963f03ef5626f4ffc9daca28c8dc
)
Lanzar un contenedor nuevo para la instalación:
lxc launch ubuntu:20.04 liquidsoap
Entrar al contenedor:
lxc exec liquidsoap -- su --login ubuntu
Dentro del contenedor:
sudo apt update
sudo apt install build-essential automake git pkg-config ocaml-nox camlidl camlp4 libpcre-ocaml-dev opam menhir libdtools-ocaml-dev ladspa-sdk libao-dev libasound2-dev libfaad-dev libjack-dev libsamplerate0-dev dssi-dev frei0r-plugins-dev libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev libgavl-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev liblo-dev libmad0-dev libmagic-dev libmp3lame-dev libogg-dev libpulse-dev libshine-dev libsoundtouch-dev libssl-dev libswresample-dev libswscale-dev libtag1-dev portaudio19-dev libflac-dev libopus-dev libspeex-dev libtheora-dev libvorbis-dev pkg-config pulseaudio ffmpeg youtube-dl curl dune
mkdir -p ~/workspace/savonet
cd ~/workspace/savonet
git clone https://github.com/savonet/liquidsoap-full
cd liquidsoap-full
make init
make update
./bootstrap
cp PACKAGES.default PACKAGES
./configure
make