2020-09-04 15:13:11 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
AMF_REPO="https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git"
|
2021-05-18 02:38:16 +00:00
|
|
|
AMF_COMMIT="6898a97d641f41fa77b66aac5f400bf4ddcc0685"
|
2020-09-04 15:13:11 +00:00
|
|
|
|
|
|
|
ffbuild_enabled() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_dockerbuild() {
|
2020-09-05 20:34:23 +00:00
|
|
|
git-mini-clone "$AMF_REPO" "$AMF_COMMIT" amf
|
2020-09-04 15:13:11 +00:00
|
|
|
cd amf
|
|
|
|
|
|
|
|
mkdir -p "$FFBUILD_PREFIX"/include
|
2021-04-04 21:20:31 +00:00
|
|
|
mv amf/public/include "$FFBUILD_PREFIX"/include/AMF
|
2020-09-04 15:13:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_configure() {
|
|
|
|
echo --enable-amf
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_unconfigure() {
|
|
|
|
echo --disable-amf
|
|
|
|
}
|