gstreamer-rs/ci/install-gtk4.sh
Jordan Petridis e6dc3f5b3e ci: Patch the gtk4 build in the CI image so it builds
wayland-protocols 1.25 subproject fails to build on
debian 11, but in general switch subprojects to stable
branches.

Upstream MR:
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4580
2022-03-17 18:05:13 +02:00

11 lines
233 B
Bash

set -eux
BRANCH=gtk-4-6
git clone https://gitlab.gnome.org/GNOME/gtk.git --branch $BRANCH --depth=1
cd gtk
git apply ../ci/4580.patch
meson build -D prefix=/usr/local -Dbuild-tests=false
ninja -C build
ninja -C build install
cd ..