1
0
Fork 0
This commit is contained in:
NamedKitten 2018-10-14 23:26:13 +01:00
parent 64a8ea0942
commit a34babe6d6

View file

@ -5,19 +5,20 @@ set -ex
CFLAGS="-fPIC -Os" 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 cd mpv-build
git clone --depth 1 https://aomedia.googlesource.com/aom git clone --depth 1 https://aomedia.googlesource.com/aom aom || true
mkdir build && cd build mkdir aom-build || true
cd aom-build
cmake ../aom -G "Unix Makefiles" cmake ../aom -G "Unix Makefiles"
make -j`nproc` make -j`nproc`
sudo make install sudo make install
cd .. cd ..
rm -rf ffmpeg && git clone --depth 1 https://github.com/FFmpeg/FFmpeg.git ffmpeg git clone --depth 1 https://github.com/FFmpeg/FFmpeg.git ffmpeg || true
rm -rf mpv && git clone --depth 1 https://github.com/mpv-player/mpv.git mpv git clone --depth 1 https://github.com/mpv-player/mpv.git mpv || true
rm -rf libass && git clone --depth 1 https://github.com/libass/libass.git libass git clone --depth 1 https://github.com/libass/libass.git libass || true
echo "--enable-libaom" > ffmpeg_options echo "--enable-libaom" > ffmpeg_options