FFmpeg-Builds/scripts.d/50-amf.sh
2021-10-28 21:28:11 +02:00

24 lines
446 B
Bash
Executable file

#!/bin/bash
AMF_REPO="https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git"
AMF_COMMIT="5359f7dba51107da19b7650e5d8a40a0f04ea6d9"
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
}