FFmpeg-Builds/scripts.d/50-amf.sh
nanake 4375ff99ad Update dependencies
Signed-off-by: nanake <nanake@users.noreply.github.com>
2021-05-18 15:39:22 +02:00

24 lines
446 B
Bash
Executable file

#!/bin/bash
AMF_REPO="https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git"
AMF_COMMIT="6898a97d641f41fa77b66aac5f400bf4ddcc0685"
ffbuild_enabled() {
return 0
}
ffbuild_dockerbuild() {
git-mini-clone "$AMF_REPO" "$AMF_COMMIT" amf
cd amf
mkdir -p "$FFBUILD_PREFIX"/include
mv amf/public/include "$FFBUILD_PREFIX"/include/AMF
}
ffbuild_configure() {
echo --enable-amf
}
ffbuild_unconfigure() {
echo --disable-amf
}