diff --git a/scripts/installMacDeps.sh b/scripts/installMacDeps.sh index 80e45fea08..ed97a24a09 100755 --- a/scripts/installMacDeps.sh +++ b/scripts/installMacDeps.sh @@ -173,8 +173,8 @@ install_mediadeps(){ brew install opus libvpx x264 if [ -d $LIB_DIR ]; then cd $LIB_DIR - curl -OL https://www.libav.org/releases/libav-11.6.tar.gz - tar -zxvf libav-11.6.tar.gz + curl -O -L https://github.com/libav/libav/archive/v11.6.tar.gz + tar -zxvf v11.6.tar.gz cd libav-11.6 curl -OL https://github.com/libav/libav/commit/4d05e9392f84702e3c833efa86e84c7f1cf5f612.patch patch libavcodec/libvpxenc.c 4d05e9392f84702e3c833efa86e84c7f1cf5f612.patch && \ @@ -193,8 +193,8 @@ install_mediadeps_nogpl(){ brew install opus libvpx if [ -d $LIB_DIR ]; then cd $LIB_DIR - curl -OL https://www.libav.org/releases/libav-11.6.tar.gz - tar -zxvf libav-11.6.tar.gz + curl -O -L https://github.com/libav/libav/archive/v11.6.tar.gz + tar -zxvf v11.6.tar.gz cd libav-11.6 curl -OL https://github.com/libav/libav/commit/4d05e9392f84702e3c833efa86e84c7f1cf5f612.patch patch libavcodec/libvpxenc.c 4d05e9392f84702e3c833efa86e84c7f1cf5f612.patch && \ diff --git a/scripts/installUbuntuDeps.sh b/scripts/installUbuntuDeps.sh index 568a149f30..f789fd5e13 100755 --- a/scripts/installUbuntuDeps.sh +++ b/scripts/installUbuntuDeps.sh @@ -153,9 +153,9 @@ install_mediadeps(){ sudo apt-get -qq install yasm libvpx. libx264. if [ -d $LIB_DIR ]; then cd $LIB_DIR - if [ ! -f ./libav-11.1.tar.gz ]; then - curl -OL https://www.libav.org/releases/libav-11.1.tar.gz - tar -zxvf libav-11.1.tar.gz + if [ ! -f ./v11.1.tar.gz ]; then + curl -O -L https://github.com/libav/libav/archive/v11.1.tar.gz + tar -zxvf v11.1.tar.gz cd libav-11.1 PKG_CONFIG_PATH=${PREFIX_DIR}/lib/pkgconfig ./configure --prefix=$PREFIX_DIR --enable-shared --enable-gpl --enable-libvpx --enable-libx264 --enable-libopus make -s V=0 @@ -176,9 +176,9 @@ install_mediadeps_nogpl(){ sudo apt-get -qq install yasm libvpx. if [ -d $LIB_DIR ]; then cd $LIB_DIR - if [ ! -f ./libav-11.1.tar.gz ]; then - curl -OL https://www.libav.org/releases/libav-11.1.tar.gz - tar -zxvf libav-11.1.tar.gz + if [ ! -f ./v11.1.tar.gz ]; then + curl -O -L https://github.com/libav/libav/archive/v11.1.tar.gz + tar -zxvf v11.1.tar.gz cd libav-11.1 PKG_CONFIG_PATH=${PREFIX_DIR}/lib/pkgconfig ./configure --prefix=$PREFIX_DIR --enable-shared --enable-gpl --enable-libvpx --enable-libopus make -s V=0 @@ -212,7 +212,7 @@ cleanup(){ if [ -d $LIB_DIR ]; then cd $LIB_DIR rm -r libnice* - rm -r libav* + rm -r v11* rm -r openssl* rm -r opus* cd $CURRENT_DIR diff --git a/scripts/travisInstallDeps.sh b/scripts/travisInstallDeps.sh index 6cee70fc29..f47a08e29d 100755 --- a/scripts/travisInstallDeps.sh +++ b/scripts/travisInstallDeps.sh @@ -132,9 +132,9 @@ install_mediadeps(){ sudo apt-get -qq install yasm libvpx. libx264. if [ -d $LIB_DIR ]; then cd $LIB_DIR - if [ ! -f ./libav-11.1.tar.gz ]; then - curl -OL https://www.libav.org/releases/libav-11.1.tar.gz - tar -zxvf libav-11.1.tar.gz + if [ ! -f ./v11.1.tar.gz ]; then + curl -O -L https://github.com/libav/libav/archive/v11.1.tar.gz + tar -zxvf v11.1.tar.gz cd libav-11.1 PKG_CONFIG_PATH=${PREFIX_DIR}/lib/pkgconfig ./configure --prefix=$PREFIX_DIR --enable-shared --enable-gpl --enable-libvpx --enable-libx264 --enable-libopus make -s V=0 @@ -154,9 +154,9 @@ install_mediadeps_nogpl(){ sudo apt-get -qq install yasm libvpx. if [ -d $LIB_DIR ]; then cd $LIB_DIR - if [ ! -f ./libav-11.1.tar.gz ]; then - curl -OL https://www.libav.org/releases/libav-11.1.tar.gz - tar -zxvf libav-11.1.tar.gz + if [ ! -f ./v11.1.tar.gz ]; then + curl -O -L https://github.com/libav/libav/archive/v11.1.tar.gz + tar -zxvf v11.1.tar.gz cd libav-11.1 PKG_CONFIG_PATH=${PREFIX_DIR}/lib/pkgconfig ./configure --prefix=$PREFIX_DIR --enable-shared --enable-gpl --enable-libvpx --enable-libopus make -s V=0