1
0
Fork 0
This commit is contained in:
NamedKitten 2018-10-15 02:36:55 +01:00
parent 7a34bd90b5
commit ec44af045e

View file

@ -6,12 +6,15 @@ CFLAGS="-fPIC -Os"
git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build || true 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://github.com/mozilla/aom aom || true git clone --depth 1 http://aomedia.googlesource.com/aom aom || true
mkdir aom-build || true mkdir aom-build || true
cd aom-build cd aom-build
../aom/configure --enable-pic --enable-av1 --enable-shared --prefix=/usr --disable-sse --disable-runtime-cpu-detect --disable-optimizations --enable-small --disable-mmx --disable-examples --disable-docs --disable-tools cmake -G Ninja ../aom \
make -j`nproc` -DCMAKE_INSTALL_PREFIX=/usr \
sudo make install -DBUILD_SHARED_LIBS=1 \
-DENABLE_TESTS=0
cmake --build .
sudo cmake --build . --target install
cd .. cd ..
git clone --depth 1 https://github.com/FFmpeg/FFmpeg.git ffmpeg || true git clone --depth 1 https://github.com/FFmpeg/FFmpeg.git ffmpeg || true