Scripts for building va-api enabled ffmpeg (with intel)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
470 B

  1. #!/bin/bash
  2. export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/
  3. curDir="$PWD"
  4. pkg=libmemcached
  5. if ! [[ -d "$pkg" ]]
  6. then
  7. git clone https://github.com/awesomized/libmemcached.git
  8. fi
  9. cd "$pkg"
  10. mkdir -p build
  11. cd build
  12. make clean
  13. cmake \
  14. -DCMAKE_INSTALL_PREFIX="/app/ffmpeg/install/" \
  15. ../
  16. make -j8
  17. if make
  18. then
  19. make install
  20. cd "$curDir"
  21. rm -rf "$pkg"
  22. else
  23. cd "$curDir"
  24. echo "BUILD FAILED"
  25. fi
  26. echo "Done"