2020-09-04 15:13:11 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-07-12 15:54:12 +00:00
|
|
|
SCRIPT_REPO="https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git"
|
2022-07-13 15:08:17 +00:00
|
|
|
SCRIPT_COMMIT="9c7189ebb0a78e7e9287547b7898995abf268af8"
|
2020-09-04 15:13:11 +00:00
|
|
|
|
|
|
|
ffbuild_enabled() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ffbuild_dockerbuild() {
|
2022-07-12 15:54:12 +00:00
|
|
|
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_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
|
|
|
|
}
|