FFmpeg-Builds/scripts.d/50-amf.sh
2022-04-23 21:49:20 +02:00

24 lines
446 B
Bash
Executable file

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