install-dependencies-osx.sh 697 B

12345678910111213141516171819202122
  1. curl -L -O https://s3-us-west-2.amazonaws.com/obs-nightly/Packages.pkg
  2. sudo installer -pkg ./Packages.pkg -target /
  3. brew update
  4. #Base OBS Deps
  5. brew install qt5
  6. curl -L -O https://s3-us-west-2.amazonaws.com/obs-nightly/osx-deps.tar.gz
  7. tar -xf ./osx-deps.tar.gz -C /tmp
  8. # CEF Stuff
  9. cd ../
  10. curl -kLO http://opensource.spotify.com/cefbuilds/cef_binary_3.2883.1540.gedbfb20_macosx64.tar.bz2
  11. tar -xf ./cef_binary_3.2883.1540.gedbfb20_macosx64.tar.bz2
  12. cd ./cef_binary_3.2883.1540.gedbfb20_macosx64
  13. mkdir build
  14. cd ./build
  15. cmake -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 ..
  16. make -j4
  17. mkdir libcef_dll
  18. cd ../../