50-amf.sh 466 B

123456789101112131415161718192021222324252627
  1. #!/bin/bash
  2. SCRIPT_REPO="https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git"
  3. SCRIPT_COMMIT="8e271daf1d6991337a87dec9355a2f11994d7292"
  4. ffbuild_enabled() {
  5. return 0
  6. }
  7. ffbuild_dockerdl() {
  8. default_dl .
  9. echo "rm -rf .git Thirdparty"
  10. }
  11. ffbuild_dockerbuild() {
  12. mkdir -p "$FFBUILD_PREFIX"/include
  13. mv amf/public/include "$FFBUILD_PREFIX"/include/AMF
  14. }
  15. ffbuild_configure() {
  16. echo --enable-amf
  17. }
  18. ffbuild_unconfigure() {
  19. echo --disable-amf
  20. }