mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
27 lines
637 B
Bash
27 lines
637 B
Bash
#!/bin/sh
|
|
set -ex
|
|
|
|
echo "[obs-websocket] Installing obs-studio PPA and updates.."
|
|
sudo add-apt-repository -y ppa:obsproject/obs-studio
|
|
sudo apt-get -qq update
|
|
|
|
echo "[obs-websocket] Installing obs-studio and dependencies.."
|
|
sudo apt-get install -y \
|
|
libc-dev-bin \
|
|
libc6-dev git \
|
|
build-essential \
|
|
checkinstall \
|
|
cmake \
|
|
obs-studio \
|
|
qtbase5-dev
|
|
|
|
echo "[obs-websocket] Installed OBS Version: $(obs --version)"
|
|
|
|
ls /usr/include/
|
|
ls /usr/include/obs/
|
|
|
|
# Dirty hack
|
|
sudo wget -O /usr/include/obs/obs-frontend-api.h https://raw.githubusercontent.com/obsproject/obs-studio/26.1.2/UI/obs-frontend-api/obs-frontend-api.h
|
|
|
|
sudo ldconfig
|