Skip to content

Commit 72d73a5

Browse files
committed
Travis: build ffmpeg/libav dependencies the same way in both linux and osx
* Because we cannot specify a dependency version when using homebrew. * It is easier to maintain. * Note: removed 'lsb_release -a' since this command works only on linux. It prints platform info, so it is not a big deal to remove it.
1 parent 9ec023f commit 72d73a5

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

tools/travis.linux.install.deps.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# Print commands and their arguments as they are executed.
44
set -x
55

6-
lsb_release -a
7-
86
if [ ! -d "${DEPENDENCY_INSTALL_PATH}/lib/" ]; then
97

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

tools/travis.osx.install.deps.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,4 @@ pip install nose
1616
brew install freeglut
1717

1818
# Main dependency
19-
if [[ ${DEPENDENCY_NAME} == "ffmpeg" ]]; then
20-
brew install ffmpeg
21-
elif [[ ${DEPENDENCY_NAME} == "libav" ]]; then
22-
23-
wget https://libav.org/releases/libav-${DEPENDENCY_VERSION}.tar.gz
24-
tar -xvf libav-${DEPENDENCY_VERSION}.tar.gz
25-
cd libav-${DEPENDENCY_VERSION}
26-
./configure --disable-yasm --enable-shared --disable-static && make -k && make install
27-
28-
fi
19+
./travis.linux.install.deps.sh

0 commit comments

Comments
 (0)