Update main.sh

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-04-30 20:42:04 +03:00 committed by GitHub
parent 7f630a0676
commit 888f60df5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,11 +10,10 @@ git clone --recursive https://github.com/obsproject/obs-studio.git
cp -rvf ./debian ./obs-studio/ cp -rvf ./debian ./obs-studio/
cd ./obs-studio cd ./obs-studio
cd ./plugins
wget https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linux64.tar.bz2 wget https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linux64.tar.bz2
tar -xf ./cef_binary_5060_linux64.tar.bz2 -C ./ tar -xf ./cef_binary_5060_linux64.tar.bz2 -C ./
cd ../ git clone https://github.com/aja-video/ntv2.git
# remove -Werror flag to mitigate FTBFS with ffmpeg # remove -Werror flag to mitigate FTBFS with ffmpeg
sed -i 's|-Werror-implicit-function-declaration||g' CMakeLists.txt sed -i 's|-Werror-implicit-function-declaration||g' CMakeLists.txt