FFmpeg-Builds/scripts.d/50-amf.sh
2022-07-12 23:35:23 +02:00

24 lines
458 B
Bash
Executable file

#!/bin/bash
SCRIPT_REPO="https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git"
SCRIPT_COMMIT="9c36583841b01c23b3972005ff6db6fd4aaac1a0"
ffbuild_enabled() {
return 0
}
ffbuild_dockerbuild() {
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_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
}