obs-studio/CI/install-dependencies-linux.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
1.3 KiB
Bash
Raw Normal View History

2017-02-25 10:49:16 +02:00
#!/bin/sh
set -ex
2019-03-05 16:00:09 -08:00
curl -L https://packagecloud.io/github/git-lfs/gpgkey | sudo apt-key add -
2017-02-25 10:49:16 +02:00
sudo apt-get -qq update
sudo apt-get install -y \
build-essential \
checkinstall \
cmake \
libasound2-dev \
libavcodec-dev \
libavdevice-dev \
libavfilter-dev \
libavformat-dev \
libavutil-dev \
2017-02-25 10:49:16 +02:00
libcurl4-openssl-dev \
libfdk-aac-dev \
2017-02-25 10:49:16 +02:00
libfontconfig-dev \
libfreetype6-dev \
libgl1-mesa-dev \
libjack-jackd2-dev \
libjansson-dev \
2018-01-21 14:41:06 +02:00
libluajit-5.1-dev \
2017-02-25 10:49:16 +02:00
libpulse-dev \
libqt5x11extras5-dev \
libspeexdsp-dev \
libswresample-dev \
libswscale-dev \
2017-02-25 10:49:16 +02:00
libudev-dev \
libv4l-dev \
libva-dev \
2017-02-25 10:49:16 +02:00
libvlc-dev \
libx11-dev \
libx264-dev \
libxcb-randr0-dev \
2017-02-25 10:49:16 +02:00
libxcb-shm0-dev \
libxcb-xinerama0-dev \
libxcomposite-dev \
libxinerama-dev \
2020-01-25 18:24:04 +01:00
libmbedtls-dev \
2017-02-25 10:49:16 +02:00
pkg-config \
2018-01-21 14:41:06 +02:00
python3-dev \
qtbase5-dev \
2018-12-14 07:42:05 -06:00
libqt5svg5-dev \
2020-07-18 02:03:38 -05:00
swig \
linux-generic \
v4l2loopback-dkms
2019-03-23 12:30:02 -05:00
# build cef
wget --quiet --retry-connrefused --waitretry=1 https://cdn-fastly.obsproject.com/downloads/cef_binary_${CEF_BUILD_VERSION}_linux64.tar.bz2
tar -xjf ./cef_binary_${CEF_BUILD_VERSION}_linux64.tar.bz2