Update main.sh
This commit is contained in:
parent
ea4d83caec
commit
45f52913ac
12
main.sh
12
main.sh
@ -1,10 +1,10 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
set -e
|
set -e
|
||||||
# Add dependent repositories
|
# Add dependent repositories
|
||||||
wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add -
|
#wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add -
|
||||||
add-apt-repository https://ppa.pika-os.com
|
#add-apt-repository https://ppa.pika-os.com
|
||||||
add-apt-repository ppa:pikaos/pika
|
#add-apt-repository ppa:pikaos/pika
|
||||||
add-apt-repository ppa:kubuntu-ppa/backports
|
#add-apt-repository ppa:kubuntu-ppa/backports
|
||||||
# Clone Upstream
|
# Clone Upstream
|
||||||
tar -xf ./obs-studio_29.0.2.tar.gz -C ./
|
tar -xf ./obs-studio_29.0.2.tar.gz -C ./
|
||||||
tar -xf ./cef_binary_5060_linux64.tar.xz -C ./build_dependencies/
|
tar -xf ./cef_binary_5060_linux64.tar.xz -C ./build_dependencies/
|
||||||
@ -12,9 +12,7 @@ mv ./obs-studio-0fb8bb4b1e18ee1c870c48d35ab5b598af3b59e9 ./obs-studio
|
|||||||
cp -rvf ./debian ./obs-studio/
|
cp -rvf ./debian ./obs-studio/
|
||||||
cp -rvf ./build_dependencies ./obs-studio/
|
cp -rvf ./build_dependencies ./obs-studio/
|
||||||
cd ./obs-studio
|
cd ./obs-studio
|
||||||
echo 'set(ENV{PKG_CONFIG_PATH} "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/:$ENV{PKG_CONFIG_PATH}:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/opt/ffmpeg5/usr/lib/x86_64-linux-gnu/pkgconfig:/opt/ffmpeg5/usr/lib/i386-linux-gnu/pkgconfig")'
|
for i in ../patches/*; do patch -Np1 -i $i ;done
|
||||||
echo 'set(ENV{PKG_CONFIG_PATH} "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/:$ENV{PKG_CONFIG_PATH}:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/opt/ffmpeg5/usr/lib/x86_64-linux-gnu/pkgconfig:/opt/ffmpeg5/usr/lib/i386-linux-gnu/pkgconfig")' >> ./CMakeLists.txt
|
|
||||||
#for i in ../patches/*; do patch -Np1 -i $i ;done
|
|
||||||
|
|
||||||
# Get build deps
|
# Get build deps
|
||||||
apt-get build-dep ./ -y
|
apt-get build-dep ./ -y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user