FFmpeg-Builds/scripts.d/50-amf.sh
2021-12-31 21:48:23 +01:00

24 lines
446 B
Bash
Executable file

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