From 87d68c00088dc8c21d3a90dbdc24fefc499ddbcf Mon Sep 17 00:00:00 2001 From: NamedKitten Date: Mon, 15 Oct 2018 00:27:39 +0100 Subject: [PATCH] Fix AOM --- scripts/build-mpv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-mpv.sh b/scripts/build-mpv.sh index 72ecaf6..4cae315 100755 --- a/scripts/build-mpv.sh +++ b/scripts/build-mpv.sh @@ -6,10 +6,10 @@ CFLAGS="-fPIC -Os" 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 aom || true +git clone --depth 1 https://github.com/mozilla/aom aom || true mkdir aom-build || true cd aom-build -cmake ../aom -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 -DENABLE_TESTS=0 +../aom/configure --enable-pic --enable-av1 --enable-shared --prefix=/usr --disable-sse --disable-runtime-cpu-detect --disable-optimizations make -j`nproc` sudo make install cd ..