mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
23 lines
505 B
Bash
Executable File
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
|
|
|