Skip to content

Commit 2145968

Browse files
committed
Travis: build libav on MacOSX since the brew formula does not install the libav libraries
1 parent 9b76aab commit 2145968

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tools/travis.osx.install.deps.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,10 @@ brew install freeglut
1919
if [[ ${DEPENDENCY_MODE} == "ffmpeg" ]]; then
2020
brew install ffmpeg
2121
elif [[ ${DEPENDENCY_MODE} == "libav" ]]; then
22-
brew install libav
22+
export LIBAV_VERSION=11.3
23+
wget https://libav.org/releases/libav-${LIBAV_VERSION}.tar.gz
24+
tar -xvf libav-${LIBAV_VERSION}.tar.gz
25+
cd libav-${LIBAV_VERSION}
26+
./configure --disable-yasm --enable-shared --disable-static && make -k && make install
27+
2328
fi

0 commit comments

Comments
 (0)