2017-04-19 19:54:15 +00:00
|
|
|
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
sudo apt-get -qq update
|
|
|
|
sudo apt-get install -y \
|
|
|
|
build-essential \
|
|
|
|
checkinstall \
|
|
|
|
cmake \
|
|
|
|
libasound2-dev \
|
|
|
|
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 \
|
|
|
|
libpulse-dev \
|
|
|
|
libqt5x11extras5-dev \
|
|
|
|
libspeexdsp-dev \
|
|
|
|
libudev-dev \
|
|
|
|
libv4l-dev \
|
|
|
|
libvlc-dev \
|
|
|
|
libx11-dev \
|
|
|
|
libx264-dev \
|
|
|
|
libxcb-shm0-dev \
|
|
|
|
libxcb-xinerama0-dev \
|
|
|
|
libxcomposite-dev \
|
|
|
|
libxinerama-dev \
|
|
|
|
pkg-config \
|
2017-06-29 19:01:10 +00:00
|
|
|
qtbase5-dev \
|
|
|
|
yasm \
|
|
|
|
zlib1g-dev
|
|
|
|
|
|
|
|
# FFmpeg
|
|
|
|
cd ..
|
|
|
|
git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git
|
|
|
|
cd ffmpeg
|
|
|
|
./configure --enable-shared
|
|
|
|
make -j2
|
|
|
|
sudo make install
|