2022-09-22 15:19:18 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
2022-01-11 16:03:22 +00:00
|
|
|
set -eux
|
|
|
|
|
2023-03-09 15:10:37 +00:00
|
|
|
BRANCH=4.10.0
|
2022-01-11 16:03:22 +00:00
|
|
|
|
|
|
|
git clone https://gitlab.gnome.org/GNOME/gtk.git --branch $BRANCH --depth=1
|
|
|
|
cd gtk
|
2022-09-22 15:19:18 +00:00
|
|
|
|
2022-12-16 08:19:28 +00:00
|
|
|
meson setup build \
|
2022-12-16 08:13:43 +00:00
|
|
|
-D prefix=/usr/local \
|
|
|
|
-Dbuild-tests=false \
|
|
|
|
-Dwayland-protocols:tests=false
|
2022-12-16 08:19:28 +00:00
|
|
|
meson compile -C build
|
|
|
|
meson install -C build
|
2022-12-16 08:47:19 +00:00
|
|
|
ldconfig
|
2022-01-11 16:03:22 +00:00
|
|
|
cd ..
|
2022-05-10 07:11:04 +00:00
|
|
|
rm -rf gtk/
|