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
|
|
|
|
|
|
|
# gets us newer clang
|
|
|
|
sudo bash -c "cat >> /etc/apt/sources.list" << LLVMAPT
|
|
|
|
# 3.8
|
|
|
|
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main
|
|
|
|
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main
|
|
|
|
LLVMAPT
|
|
|
|
|
|
|
|
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
|
|
|
|
|
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 \
|
|
|
|
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 \
|
2019-09-22 21:19:10 +00:00
|
|
|
swig \
|
|
|
|
clang-format-8
|