From 1df428e6057e7532e1cb3d4daafcd19c60d06429 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 9 Sep 2021 12:32:58 +0300 Subject: meson: add cl-meson wrapper --- extra/meson/build | 2 ++ extra/meson/checksums | 1 + extra/meson/files/cl-meson | 15 +++++++++++++++ extra/meson/sources | 1 + extra/meson/version | 2 +- 5 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 extra/meson/files/cl-meson (limited to 'extra/meson') diff --git a/extra/meson/build b/extra/meson/build index 64c5845a..8c6f3c73 100755 --- a/extra/meson/build +++ b/extra/meson/build @@ -8,3 +8,5 @@ python setup.py install \ # Remove polkit directory rm -rf "$1/usr/share/polkit-1" + +clinst -Dm755 cl-meson "$1/usr/bin/cl-meson" diff --git a/extra/meson/checksums b/extra/meson/checksums index c0960260..84b30c52 100644 --- a/extra/meson/checksums +++ b/extra/meson/checksums @@ -1,2 +1,3 @@ %BLAKE3 0e059fa8f293cd5ce5c5efcd330788c1a60c40f987efd2ae4ae89cc5dfd8a1ae 0.59.1.tar.gz +936ab83bfe944d93132dc0f0ddb07d0e95aabe9d06f2a58e241b627e1eeaceb6 cl-meson 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 \ + "$@" diff --git a/extra/meson/sources b/extra/meson/sources index eb82b02a..59e407d8 100644 --- a/extra/meson/sources +++ b/extra/meson/sources @@ -1 +1,2 @@ https://github.com/mesonbuild/meson/archive/0.59.1.tar.gz +files/cl-meson diff --git a/extra/meson/version b/extra/meson/version index 05565202..20638688 100644 --- a/extra/meson/version +++ b/extra/meson/version @@ -1 +1 @@ -0.59.1 1 +0.59.1 2 -- cgit v1.2.3