Build aom lib from source

This commit is contained in:
manongjohn 2021-03-19 00:26:13 -04:00
parent bf55076664
commit 877827749b
3 changed files with 26 additions and 2 deletions

View file

@ -1,5 +1,29 @@
cd thirdparty
echo ">>> Cloning aom"
mkdir aom
cd aom
echo "*" >| .gitignore
git clone https://aomedia.googlesource.com/aom
if [ ! -d build ]
then
mkdir build
fi
cd build
echo ">>> CMaking aom"
cmake ../aom
echo ">>> Making aom"
make
echo ">>> Installing aom"
sudo make install
cd ../..
echo ">>> Cloning ffmpeg"
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg

View file

@ -12,7 +12,7 @@ then
fi
cd build
echo ">>> Cmaking openv"
echo ">>> Cmaking opencv"
cmake -DCMAKE_BUILD_TYPE=Release \
-DBUILD_JASPER=OFF \
-DBUILD_JPEG=OFF \

View file

@ -2,4 +2,4 @@
brew update
# Remove symlink to bin/2to3 in order for latest python to install
rm -f '/usr/local/bin/2to3'
brew install boost qt@5 clang-format glew lz4 lzo libmypaint jpeg-turbo nasm yasm aom dav1d fontconfig freetype gnutls lame libass libbluray libsoxr libvorbis libvpx opencore-amr openh264 openjpeg opus rav1e sdl2 snappy speex tesseract theora webp xvid xz
brew install boost qt@5 clang-format glew lz4 lzo libmypaint jpeg-turbo nasm yasm dav1d fontconfig freetype gnutls lame libass libbluray libsoxr libvorbis libvpx opencore-amr openh264 openjpeg opus rav1e sdl2 snappy speex tesseract theora webp xvid xz