2022-09-22 15:19:18 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
2022-01-11 16:03:22 +00:00
|
|
|
set -eux
|
|
|
|
|
2023-06-01 17:11:33 +00:00
|
|
|
BRANCH=4.10.3
|
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 \
|
2023-07-17 07:29:20 +00:00
|
|
|
-Ddemos=false \
|
|
|
|
-Dbuild-testsuite=false \
|
|
|
|
-Dbuild-examples=false \
|
2022-12-16 08:13:43 +00:00
|
|
|
-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/
|