2017-02-16 18:28:22 -08:00
|
|
|
# Exit if something fails
|
|
|
|
set -e
|
|
|
|
|
2017-01-21 22:49:01 -08:00
|
|
|
# Leave obs-studio folder
|
|
|
|
cd ../
|
|
|
|
|
2017-02-16 18:28:22 -08:00
|
|
|
curl -L -O https://s3-us-west-2.amazonaws.com/obs-nightly/Packages.pkg -f --retry 5 -C -
|
2017-01-15 09:17:13 -08:00
|
|
|
sudo installer -pkg ./Packages.pkg -target /
|
|
|
|
|
2016-10-09 15:26:44 -07:00
|
|
|
brew update
|
2016-10-13 17:30:23 -07:00
|
|
|
|
|
|
|
#Base OBS Deps
|
2017-01-07 16:03:17 -08:00
|
|
|
brew install qt5
|
|
|
|
|
2017-02-16 18:28:22 -08:00
|
|
|
curl -L -O https://s3-us-west-2.amazonaws.com/obs-nightly/osx-deps.tar.gz -f --retry 5 -C -
|
2017-01-07 16:03:17 -08:00
|
|
|
tar -xf ./osx-deps.tar.gz -C /tmp
|
2016-10-13 17:30:23 -07:00
|
|
|
|
2017-02-16 18:28:22 -08:00
|
|
|
curl -L -o vlc-master.zip https://github.com/videolan/vlc/archive/master.zip -f --retry 5 -C -
|
2017-02-01 16:11:49 -08:00
|
|
|
unzip -q ./vlc-master.zip
|
2017-01-21 22:49:01 -08:00
|
|
|
|
2016-10-10 20:49:45 -07:00
|
|
|
# CEF Stuff
|
2017-02-16 18:28:22 -08:00
|
|
|
curl -kLO http://opensource.spotify.com/cefbuilds/cef_binary_3.2883.1540.gedbfb20_macosx64.tar.bz2 -f --retry 5 -C -
|
2017-01-09 16:52:20 -08:00
|
|
|
tar -xf ./cef_binary_3.2883.1540.gedbfb20_macosx64.tar.bz2
|
|
|
|
cd ./cef_binary_3.2883.1540.gedbfb20_macosx64
|
2016-10-10 20:49:45 -07:00
|
|
|
mkdir build
|
|
|
|
cd ./build
|
2017-01-09 16:52:20 -08:00
|
|
|
cmake -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 ..
|
2016-10-10 20:49:45 -07:00
|
|
|
make -j4
|
|
|
|
mkdir libcef_dll
|
|
|
|
cd ../../
|