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

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

51 lines
1.3 KiB
Bash
Raw Normal View History

2017-04-19 19:54:15 +00:00
#!/bin/sh
set -ex
2019-07-27 12:47:10 +00:00
curl -L https://packagecloud.io/github/git-lfs/gpgkey | sudo apt-key add -
2019-09-22 21:19:10 +00:00
2017-04-19 19:54:15 +00:00
sudo apt-get -qq update
sudo apt-get install -y \
build-essential \
checkinstall \
cmake \
libasound2-dev \
2019-07-27 12:47:10 +00:00
libavcodec-dev \
libavdevice-dev \
libavfilter-dev \
libavformat-dev \
libavutil-dev \
2017-04-19 19:54:15 +00:00
libcurl4-openssl-dev \
2017-06-29 19:01:10 +00:00
libfdk-aac-dev \
2017-04-19 19:54:15 +00:00
libfontconfig-dev \
libfreetype6-dev \
libgl1-mesa-dev \
libjack-jackd2-dev \
libjansson-dev \
2018-02-19 19:54:37 +00:00
libluajit-5.1-dev \
2017-04-19 19:54:15 +00:00
libpulse-dev \
libqt5x11extras5-dev \
libspeexdsp-dev \
2019-07-27 12:47:10 +00:00
libswresample-dev \
libswscale-dev \
2017-04-19 19:54:15 +00:00
libudev-dev \
libv4l-dev \
2019-07-27 12:47:10 +00:00
libva-dev \
2017-04-19 19:54:15 +00:00
libvlc-dev \
libx11-dev \
libx264-dev \
2019-07-27 12:47:10 +00:00
libxcb-randr0-dev \
2017-04-19 19:54:15 +00:00
libxcb-shm0-dev \
libxcb-xinerama0-dev \
libxcomposite-dev \
libxinerama-dev \
2020-03-25 08:07:22 +00:00
libmbedtls-dev \
2017-04-19 19:54:15 +00:00
pkg-config \
2018-02-19 19:54:37 +00:00
python3-dev \
2017-06-29 19:01:10 +00:00
qtbase5-dev \
2019-07-27 12:47:10 +00:00
libqt5svg5-dev \
2020-05-27 20:57:19 +00:00
swig
2020-03-25 08:07:22 +00: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