From a34babe6d668e207a2d3928780af78a03ac45be7 Mon Sep 17 00:00:00 2001 From: NamedKitten Date: Sun, 14 Oct 2018 23:26:13 +0100 Subject: [PATCH] Oops. --- scripts/build-mpv.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/build-mpv.sh b/scripts/build-mpv.sh index 6b75993..a3f2797 100755 --- a/scripts/build-mpv.sh +++ b/scripts/build-mpv.sh @@ -5,19 +5,20 @@ set -ex CFLAGS="-fPIC -Os" -rm -rf mpv-build && git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build +git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build || true cd mpv-build -git clone --depth 1 https://aomedia.googlesource.com/aom -mkdir build && cd build +git clone --depth 1 https://aomedia.googlesource.com/aom aom || true +mkdir aom-build || true +cd aom-build cmake ../aom -G "Unix Makefiles" make -j`nproc` sudo make install cd .. -rm -rf ffmpeg && git clone --depth 1 https://github.com/FFmpeg/FFmpeg.git ffmpeg -rm -rf mpv && git clone --depth 1 https://github.com/mpv-player/mpv.git mpv -rm -rf libass && git clone --depth 1 https://github.com/libass/libass.git libass +git clone --depth 1 https://github.com/FFmpeg/FFmpeg.git ffmpeg || true +git clone --depth 1 https://github.com/mpv-player/mpv.git mpv || true +git clone --depth 1 https://github.com/libass/libass.git libass || true echo "--enable-libaom" > ffmpeg_options