Merge pull request #1102 from juvester/fix-linux-ci

Revert "CI: Linux - Install FFmpeg from source"
master
Jim 2017-12-03 14:09:58 -08:00 committed by GitHub
commit 0daade5f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 11 deletions

View File

@ -1,12 +1,18 @@
#!/bin/sh
set -ex
sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next -y
sudo apt-get -qq update
sudo apt-get install -y \
build-essential \
checkinstall \
cmake \
libasound2-dev \
libavcodec-ffmpeg-dev \
libavdevice-ffmpeg-dev \
libavfilter-ffmpeg-dev \
libavformat-ffmpeg-dev \
libavutil-ffmpeg-dev \
libcurl4-openssl-dev \
libfdk-aac-dev \
libfontconfig-dev \
@ -17,6 +23,8 @@ sudo apt-get install -y \
libpulse-dev \
libqt5x11extras5-dev \
libspeexdsp-dev \
libswresample-ffmpeg-dev \
libswscale-ffmpeg-dev \
libudev-dev \
libv4l-dev \
libvlc-dev \
@ -27,14 +35,4 @@ sudo apt-get install -y \
libxcomposite-dev \
libxinerama-dev \
pkg-config \
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
qtbase5-dev