Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions scripts/ci_install_dependencies.sh
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -10,24 +10,17 @@ 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."

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."