summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.travis.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/.travis.sh b/.travis.sh
index 45b0c56..e8f76df 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -9,11 +9,13 @@ case "$1" in
sudo apt-get update -qq
sudo apt-get install -qq git
- git clone --depth 1 git://source.ffmpeg.org/ffmpeg
git clone --depth 1 git://git.code.sf.net/p/opencore-amr/fdk-aac
+ wget http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz
+ tar -xf opus-1.1.tar.gz
+ git clone --depth 1 git://source.ffmpeg.org/ffmpeg
;;
install)
- sudo apt-get install -qq autoconf automake build-essential git imagemagick libjpeg-progs libopus libtheora-dev libtool libvpx-dev libx264-dev nodejs optipng pkg-config yasm zlib1g-dev
+ sudo apt-get install -qq autoconf automake build-essential git imagemagick libjpeg-progs libtheora-dev libtool libvpx-dev libx264-dev optipng pkg-config yasm zlib1g-dev
cd fdk-aac
autoreconf -fiv
@@ -22,6 +24,12 @@ case "$1" in
sudo make install
cd ..
+ cd opus-1.1
+ ./configure --disable-shared
+ make $MAKEOPTS
+ sudo make install
+ cd ..
+
cd ffmpeg
./configure --disable-everything --disable-programs --disable-runtime-cpudetect --enable-decoder=mpeg4 --enable-decoder=pcm_s16le --enable-decoder=vorbis --enable-demuxer=matroska --enable-demuxer=ogg --enable-demuxer=wav --enable-encoder=huffyuv --enable-encoder=libfdk_aac --enable-encoder=libopus --enable-encoder=libtheora --enable-encoder=libvpx_vp8 --enable-encoder=libvpx_vp9 --enable-encoder=libx264 --enable-encoder=pcm_s16le --enable-encoder=rawvideo --enable-ffmpeg --enable-filter=aresample --enable-gpl --enable-hardcoded-tables --enable-libfdk_aac --enable-libopus --enable-libtheora --enable-libvpx --enable-libx264 --enable-muxer=ipod --enable-muxer=mp4 --enable-muxer=ogg --enable-muxer=wav --enable-muxer=webm --enable-muxer=yuv4mpegpipe --enable-nonfree --enable-protocol=file
make $MAKEOPTS