ci: Use debian's gtk package instead of building our own

GTK 4.14 needs a newer glib, but we cannot build and use our own
because the system glib ends up taking precedence because cargo-c
doesn't set RPATHs for the plugins it builds.

The oldest GTK that supports glib 2.74 is GTK 4.10, and Debian 12
ships GTK 4.8, so let's just use the system GTK.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1500>
This commit is contained in:
Nirbheek Chauhan 2024-08-19 20:14:26 +05:30
parent 4cf22e91cf
commit 57aa8e09ea
2 changed files with 2 additions and 5 deletions

View file

@ -142,10 +142,9 @@ trigger:
libpango1.0-dev libcairo2-dev libjson-glib-dev libgdk-pixbuf-2.0-dev libpango1.0-dev libcairo2-dev libjson-glib-dev libgdk-pixbuf-2.0-dev
libtiff-dev libpng-dev libjpeg-dev libepoxy-dev libsass-dev sassc libtiff-dev libpng-dev libjpeg-dev libepoxy-dev libsass-dev sassc
libcsound64-dev llvm clang nasm libsodium-dev libwebp-dev libcsound64-dev llvm clang nasm libsodium-dev libwebp-dev
libflac-dev libmysofa-dev libflac-dev libmysofa-dev libgtk-4-dev
# glib in bookworm is too old, need 2.76 for gtk-4.14
FDO_DISTRIBUTION_EXEC: >- FDO_DISTRIBUTION_EXEC: >-
bash ci/install-gst.sh --force-fallback-for=glib && bash ci/install-gst.sh &&
bash ci/install-dav1d.sh && bash ci/install-dav1d.sh &&
pip3 install --break-system-packages git+http://gitlab.freedesktop.org/freedesktop/ci-templates pip3 install --break-system-packages git+http://gitlab.freedesktop.org/freedesktop/ci-templates

View file

@ -30,8 +30,6 @@ meson setup build \
-Dprefix=/usr/local \ -Dprefix=/usr/local \
-Dgpl=enabled \ -Dgpl=enabled \
-Dugly=enabled \ -Dugly=enabled \
-Dgtk=enabled \
-Dgtk:vulkan=disabled \
-Dexamples=disabled \ -Dexamples=disabled \
-Dgtk_doc=disabled \ -Dgtk_doc=disabled \
-Dintrospection=disabled \ -Dintrospection=disabled \