Skip to content

Travis: added libtheora as third party of ffmpeg/libav #266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ env:
- FDKAAC_VERSION=0.1.3
- OGG_VERSION=1.3.2
- VORBIS_VERSION=1.3.4
- THEORA_VERSION=1.1.1
- VPX_VERSION=1.4.0
matrix:
- DEPENDENCY_NAME=libav DEPENDENCY_VERSION=11.3 ENABLE_COVERAGE=true
Expand Down
15 changes: 14 additions & 1 deletion tools/travis/linux.install.deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,19 @@ if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
make install && \
rm -rf ${DIR}

# libtheora
echo ""
echo "Building libtheora (${THEORA_VERSION})"
DIR=$(mktemp -d libtheoraXXX) && cd ${DIR} && \
curl -O http://downloads.xiph.org/releases/theora/libtheora-${THEORA_VERSION}.tar.bz2 && \
tar xvjf libtheora-${THEORA_VERSION}.tar.bz2 && \
cd libtheora-${THEORA_VERSION} && \
./configure --prefix="${DEPENDENCY_INSTALL_PATH}" && \
make -k > ${DEPENDENCY_LOG_FILE} 2>&1 && \
make install && \
make check && \
rm -rf ${DIR}

# libvpx
# https://trac.ffmpeg.org/ticket/4956
echo ""
Expand Down Expand Up @@ -144,7 +157,7 @@ if [ -z ${TRAVIS_JOB_ID} ] || [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
export RELEASE_OPTIONS=--disable-debug
export DEBUG_OPTIONS=--enable-debug=3\ --disable-optimizations\ --disable-sse\ --disable-stripping
export LICENSING_OPTIONS=--enable-gpl\ --enable-nonfree
export THIRD_PARTIES_OPTIONS=--enable-libfaac\ --enable-libmp3lame\ --enable-libx264\ --enable-libxvid\ --enable-avresample\ --enable-libfdk_aac\ --enable-libvorbis\ --enable-libvpx
export THIRD_PARTIES_OPTIONS=--enable-libfaac\ --enable-libmp3lame\ --enable-libx264\ --enable-libxvid\ --enable-avresample\ --enable-libfdk_aac\ --enable-libvorbis\ --enable-libtheora\ --enable-libvpx

if [[ ${DEPENDENCY_NAME} == "ffmpeg" ]]; then

Expand Down