obs-websocket/CI/install-dependencies-osx.sh
2017-04-04 21:08:31 +02:00

23 lines
505 B
Bash
Executable File

#!/bin/sh
set -ex
brew update
# OBS Studio deps
brew install ffmpeg
brew install libav
# qtwebsockets deps
brew install qt5
# obs-websocket deps
# Build obs-studio
cd ..
git clone --recursive https://github.com/jp9000/obs-studio
cd obs-studio
mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH=$(brew --prefix qt5)/lib/cmake/ -DQt5WebSockets_DIR=$(brew --prefix qt5)/lib/cmake/Qt5WebSockets -DLIBOBS_INCLUDE_DIR=../obs-studio/libobs -DLIBOBS_LIB=../obs-studio/libobs && make -j4
sudo make install