diff --git a/scripts/ci_install_dependencies.sh b/scripts/ci_install_dependencies.sh index d18c96f..2dadfda 100755 --- a/scripts/ci_install_dependencies.sh +++ b/scripts/ci_install_dependencies.sh @@ -1,7 +1,7 @@ #!/bin/bash # Script to install dependencies for H264Decoder -# This script installs GStreamer and PyGObject dependencies required for running the tests +# Installs GStreamer and PyGObject dependencies required for running the tests set -e # Exit on error @@ -10,8 +10,8 @@ echo "Installing GStreamer and related plugins..." sudo apt update sudo apt install -y gstreamer1.0-tools gstreamer1.0-plugins-base \ gstreamer1.0-plugins-good gstreamer1.0-plugins-bad \ - gstreamer1.0-plugins-ugly gstreamer1.0-libav python3-gi \ - python3-gst-1.0 + gstreamer1.0-plugins-ugly gstreamer1.0-libav \ + python3-gi python3-gst-1.0 echo "GStreamer installation completed." @@ -19,15 +19,8 @@ echo "If you experience display-related issues with the GUI, try running:" echo "export QT_QPA_PLATFORM=xcb" ### PyGObject Installation ### -echo "Installing PyGObject dependencies..." +echo "Installing PyGObject dependencies via apt..." sudo apt install -y libglib2.0-dev libcairo2-dev libgirepository1.0-dev \ - gir1.2-gtk-3.0 python3-dev ninja-build + gir1.2-gtk-3.0 python3-gi-cairo -echo "Ensuring latest Meson version is installed..." -pip install --upgrade meson - -echo "Installing PyGObject via pip..." -pip install pycairo --no-cache-dir -pip install pygobject --no-cache-dir - -echo "Installation of all dependencies completed successfully." +echo "All dependencies installed successfully via apt."