singe/thirdparty/SDL2_image/external/libavif/ext/svt.sh
2023-10-23 19:38:18 -05:00

17 lines
436 B
Bash

# If you want to use a local build of SVT-AV1, you must clone the SVT-AV1 repo in this directory first,
# then enable CMake's AVIF_CODEC_SVT and AVIF_LOCAL_SVT options.
# cmake and ninja must be in your PATH.
set -e
git clone -b v1.6.0 --depth 1 https://gitlab.com/AOMediaCodec/SVT-AV1.git
cd SVT-AV1
cd Build/linux
./build.sh release static no-dec no-apps
cd ../..
mkdir -p include/svt-av1
cp Source/API/*.h include/svt-av1
cd ..