build-deps.sh 489 B

1234567891011121314151617181920212223242526272829303132
  1. #!/bin/sh
  2. set -e
  3. rm -rf libass ffmpeg mpv
  4. git clone --depth 1 git://github.com/libass/libass
  5. git clone --depth 1 git://github.com/ffmpeg/ffmpeg
  6. git clone git://github.com/mpv-player/mpv
  7. cd libass
  8. ./autogen.sh
  9. ./configure
  10. make -j 4
  11. sudo make install
  12. cd ..
  13. cd ffmpeg
  14. ./configure --enable-gnutls --enable-shared --disable-static
  15. make -j 4
  16. sudo make install
  17. cd ..
  18. cd mpv
  19. ./bootstrap.py
  20. ./waf configure --enable-libmpv-shared --disable-cplayer
  21. ./waf build -j5
  22. sudo ./waf install
  23. cd ..