aboutsummaryrefslogtreecommitdiff
path: root/testing/gtk4/build
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gtk4/build')
-rwxr-xr-xtesting/gtk4/build27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/gtk4/build b/testing/gtk4/build
new file mode 100755
index 00000000..f4bc3292
--- /dev/null
+++ b/testing/gtk4/build
@@ -0,0 +1,27 @@
+#!/bin/sh -e
+
+export DESTDIR=$1
+
+# Create gtk-doc subproject directory so that meson doesn't try to clone it
+# even when we disable it. We also don't really need sass, but there is no
+# option to disable it.
+mkdir -p subprojects/gtk-doc \
+ subprojects/libsass \
+ subprojects/sassc
+
+meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var\
+ -Dgtk_doc=false \
+ -Dwayland-backend=false \
+ -Dwin32-backend=false \
+ -Dintrospection=disabled \
+ -Dmedia-gstreamer=disabled \
+ -Ddemos=false \
+ -Dbuild-tests=false \
+ -Dbuild-examples=false \
+ . output
+
+ninja -C output
+ninja -C output install