ci: Update gtk to 4.8.1

And follow release tags instead of branches.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1110>
This commit is contained in:
Jordan Petridis 2022-09-22 18:19:18 +03:00
parent e294bb9713
commit ccb9e3a7f8
3 changed files with 7 additions and 4 deletions

View file

@ -1,4 +1,4 @@
variables:
GST_RS_IMG_TAG: '2022-09-22.0'
GST_RS_IMG_TAG: '2022-09-23.0'
GST_RS_STABLE: '1.64.0'
GST_RS_MSRV: '1.63.0'

View file

@ -1,10 +1,13 @@
#! /bin/sh
set -eux
BRANCH=gtk-4-6
BRANCH=4.8.1
git clone https://gitlab.gnome.org/GNOME/gtk.git --branch $BRANCH --depth=1
cd gtk
meson build -D prefix=/usr/local -Dbuild-tests=false
meson build -D prefix=/usr/local -Dbuild-tests=false -Dwayland-protocols:tests=false
ninja -C build
ninja -C build install
cd ..

View file

@ -1,7 +1,7 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
# Download gstreamer and all its subprojects
git clone -b gtk-4-6 --depth 1 https://gitlab.gnome.org/gnome/gtk.git C:\gtk
git clone -b 4.8.1 --depth 1 https://gitlab.gnome.org/gnome/gtk.git C:\gtk
if (!$?) {
Write-Host "Failed to clone gtk"
Exit 1