aboutsummaryrefslogtreecommitdiff
path: root/extra/gtk4/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-02-04 13:23:56 +0300
committerCem Keylan <cem@ckyln.com>2021-02-04 13:23:56 +0300
commitade362df734ef4567e5d68867dc0c5c55bed54e3 (patch)
tree11175eb65a618b7ffe0a150b0e028b32ea0e9987 /extra/gtk4/build
parent3caa1a8aadc3ced5696a0d31837bc0852684409f (diff)
downloadrepository-ade362df734ef4567e5d68867dc0c5c55bed54e3.tar.gz
gtk4: move to extra
Diffstat (limited to 'extra/gtk4/build')
-rwxr-xr-xextra/gtk4/build30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/gtk4/build b/extra/gtk4/build
new file mode 100755
index 00000000..07cb2b34
--- /dev/null
+++ b/extra/gtk4/build
@@ -0,0 +1,30 @@
+#!/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 \
+ -Dsassc=disabled \
+ -Dprint-cups=disabled \
+ -Ddemos=false \
+ -Dbuild-tests=false \
+ -Dbuild-examples=false \
+ -Dvulkan=disabled \
+ . output
+
+ninja -C output
+ninja -C output install