File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,21 @@ prepare_environment(){
77 ID=$( grep ' ^ID=' /etc/os-release | cut -d' =' -f2)
88 if [ " $ID " = " altlinux" ]; then
99 sudo apt-get update && sudo apt-get install -y fontconfig libdbus libX11 libXrender libXext libxkbcommon-x11
10+ sudo apt-get install -y gst-plugins-bad1.0 gst-libav gst-plugins-base1.0
1011 elif [ " $ID " = " ubuntu" ]; then
1112 sudo apt-get update && sudo apt-get install -y --no-install-recommends fontconfig libdbus-1-3 libx11-xcb1 libxkbcommon-x11-0
13+ sudo apt-get install -y gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-plugins-base
1214 elif [ " $ID " = " arch" ]; then
1315 sudo pacman -Sy && sudo pacman -S fontconfig libx11 libxrender libxext libxkbcommon-x11 --noconfirm
16+ sudo pacman -Sy gstreamer gst-plugins-base gst-plugins-bad gst-libav --noconfirm
1417 elif [[ " $ID " = " rocky" || " $ID " = ' "rocky"' ]]; then
1518 sudo yum install -y --setopt=install_weak_deps=False libX11-xcb libXext libxkbcommon-x11 fontconfig freetype libXrender
19+ sudo yum install -y https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$( rpm -E %rhel) .noarch.rpm
20+ sudo yum install -y gstreamer1-plugins-base gstreamer1-plugins-bad-free gstreamer1-libav
1621 elif [ " $ID " = " astra" ]; then
1722 sudo apt-get update && sudo apt-get install -y --no-install-recommends fontconfig libdbus-1-3 libx11-xcb1 libxkbcommon-x11-0 \
1823 libxrender1 libxext6
24+ sudo apt-get install gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-libav
1925 fi
2026 return 0 ;;
2127 Darwin) return 0 ;;
You can’t perform that action at this time.
0 commit comments