Browse Source

Install obs-studio from ppa

This installs OBS Studio from the OBS ppa. This is a temporary fix
to prevent the CI from failing if a developer uses newer code
then what the unofficial Ubuntu repo provides (27.2.3 on 22.04).
This isn't ideal as it installs the entire program instead of just
dev packages. In the future, we would provide a libobs-dev package
on our ppa.
cg2121 2 năm trước cách đây
mục cha
commit
13c6bbbaaf

+ 4 - 1
.github/scripts/utils.zsh/setup_linux

@@ -35,10 +35,13 @@ if (( ! (${skips[(Ie)all]} + ${skips[(Ie)deps]}) )) {
     sudo apt-get install ${apt_args} gcc-${${target##*-}//_/-}-linux-gnu g++-${${target##*-}//_/-}-linux-gnu
     sudo apt-get install ${apt_args} gcc-${${target##*-}//_/-}-linux-gnu g++-${${target##*-}//_/-}-linux-gnu
   }
   }
 
 
+  sudo add-apt-repository --yes ppa:obsproject/obs-studio
+  sudo apt update
+
   sudo apt-get install ${apt_args} \
   sudo apt-get install ${apt_args} \
     build-essential \
     build-essential \
     libgles2-mesa-dev \
     libgles2-mesa-dev \
-    libobs-dev${suffix}
+    obs-studio
 
 
   local -a _qt_packages=()
   local -a _qt_packages=()