install-ospkit.sh 545 B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. # install deps
  3. sudo pacman -S --needed --noconfirm base-devel ninja qt5
  4. mkdir ospkit.src
  5. # installing qtwebkit ospkit branch
  6. cd ospkit/
  7. git clone -o github -b ospkit --single-branch github:aleray/webkit.git
  8. cd webkit/
  9. WEBKIT_OUTPUTDIR=`pwd`/build/qt Tools/Scripts/build-webkit --qt --release
  10. cd build/qt/Release/
  11. sudo ninja install
  12. cd ../../../../
  13. # installing ospkit
  14. git clone -o constant-gitlab http://gitlab.constantvzw.org/osp/tools.ospkit.git
  15. cd tools.ospkit/src/
  16. qmake
  17. make
  18. cd ../../
  19. ln -s /tools.ospkit/src/OSPKit OSPKit