1
1
#! /bin/bash
2
2
3
3
# 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
5
5
6
6
set -e # Exit on error
7
7
@@ -10,24 +10,17 @@ echo "Installing GStreamer and related plugins..."
10
10
sudo apt update
11
11
sudo apt install -y gstreamer1.0-tools gstreamer1.0-plugins-base \
12
12
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
15
15
16
16
echo " GStreamer installation completed."
17
17
18
18
echo " If you experience display-related issues with the GUI, try running:"
19
19
echo " export QT_QPA_PLATFORM=xcb"
20
20
21
21
# ## PyGObject Installation ###
22
- echo " Installing PyGObject dependencies..."
22
+ echo " Installing PyGObject dependencies via apt ..."
23
23
sudo 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
25
25
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