aboutsummaryrefslogtreecommitdiff
path: root/extra/meson/files
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-09-09 12:32:58 +0300
committerCem Keylan <cem@ckyln.com>2021-09-09 12:36:18 +0300
commit1df428e6057e7532e1cb3d4daafcd19c60d06429 (patch)
treec6dc3bf44a4da4da253280885adce4c9136a68c9 /extra/meson/files
parent410c461aecd9dd72430b81d798e5117aa5d9b96f (diff)
downloadrepository-1df428e6057e7532e1cb3d4daafcd19c60d06429.tar.gz
meson: add cl-meson wrapper
Diffstat (limited to 'extra/meson/files')
-rwxr-xr-xextra/meson/files/cl-meson15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/meson/files/cl-meson b/extra/meson/files/cl-meson
new file mode 100755
index 00000000..b3cebd85
--- /dev/null
+++ b/extra/meson/files/cl-meson
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# Wrapper for meson, we disable all auto features by default, and disable
+# any downloads from subproject wrappers. We want the builds to be as
+# reproducible as possible, and we want to be adding features most of the
+# time instead of removing them.
+
+exec meson setup \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=lib \
+ --sbindir=bin \
+ --buildtype=release \
+ --auto-features=disabled \
+ --wrap-mode=nodownload \
+ "$@"