Skip to content

Commit 8d9483c

Browse files
committed
fix(deps): install GStreamer and PyGObject via apt instead of pip
1 parent b6c762b commit 8d9483c

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

scripts/ci_install_dependencies.sh

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

66
set -e # Exit on error
77

@@ -10,24 +10,17 @@ echo "Installing GStreamer and related plugins..."
1010
sudo apt update
1111
sudo 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

1616
echo "GStreamer installation completed."
1717

1818
echo "If you experience display-related issues with the GUI, try running:"
1919
echo "export QT_QPA_PLATFORM=xcb"
2020

2121
### PyGObject Installation ###
22-
echo "Installing PyGObject dependencies..."
22+
echo "Installing PyGObject dependencies via apt..."
2323
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
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

Comments
 (0)