gstreamer-rs/ci/install-gtk4.sh

18 lines
304 B
Bash

#! /bin/sh
set -eux
BRANCH=4.10.1
git clone https://gitlab.gnome.org/GNOME/gtk.git --branch $BRANCH --depth=1
cd gtk
meson setup build \
-D prefix=/usr/local \
-Dbuild-tests=false \
-Dwayland-protocols:tests=false
meson compile -C build
meson install -C build
ldconfig
cd ..
rm -rf gtk/