11#! /bin/bash
22
33# Script to install dependencies for H264Decoder
4- # This script installs GStreamer and PyGObject dependencies required for running the tests
4+ # Installs GStreamer and PyGObject dependencies required for running the tests
55
66set -e # Exit on error
77
@@ -10,24 +10,17 @@ echo "Installing GStreamer and related plugins..."
1010sudo apt update
1111sudo apt install -y gstreamer1.0-tools gstreamer1.0-plugins-base \
1212 gstreamer1.0-plugins-good gstreamer1.0-plugins-bad \
13- gstreamer1.0-plugins-ugly gstreamer1.0-libav python3-gi \
14- python3-gst-1.0
13+ gstreamer1.0-plugins-ugly gstreamer1.0-libav \
14+ python3-gi python3- gst-1.0
1515
1616echo " GStreamer installation completed."
1717
1818echo " If you experience display-related issues with the GUI, try running:"
1919echo " export QT_QPA_PLATFORM=xcb"
2020
2121# ## PyGObject Installation ###
22- echo " Installing PyGObject dependencies..."
22+ echo " Installing PyGObject dependencies via apt ..."
2323sudo apt install -y libglib2.0-dev libcairo2-dev libgirepository1.0-dev \
24- gir1.2-gtk-3.0 python3-dev ninja-build
24+ gir1.2-gtk-3.0 python3-gi-cairo
2525
26- echo " Ensuring latest Meson version is installed..."
27- pip install --upgrade meson
28-
29- echo " Installing PyGObject via pip..."
30- pip install pycairo --no-cache-dir
31- pip install pygobject --no-cache-dir
32-
33- echo " Installation of all dependencies completed successfully."
26+ echo " All dependencies installed successfully via apt."
0 commit comments