diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-30 08:51:46 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-30 08:51:46 +0900 |
| commit | 99efc551ad8f76ee1bc2639751aba71c550505d1 (patch) | |
| tree | 22d3d2e3c61afeb386b2e02c3592f461f9d756df /internal/rosa/package/meson/package.az | |
| parent | 4dbfee06989c35c9c7204aacd1dc28340c4de72a (diff) | |
internal/rosa/package/meson: respect CLICOLOR_FORCE
Upstream had ticket and patch available since 2017, still unmerged and refuses to support the environment variable, so patch it in. This also strips out the variable for test execution to work around buggy test suites like glib.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/meson/package.az')
| -rw-r--r-- | internal/rosa/package/meson/package.az | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/internal/rosa/package/meson/package.az b/internal/rosa/package/meson/package.az new file mode 100644 index 00000000..0af1b997 --- /dev/null +++ b/internal/rosa/package/meson/package.az @@ -0,0 +1,60 @@ +package meson { + description = "an open source build system"; + website = "https://mesonbuild.com"; + anitya = 6472; + + version# = "1.11.2"; + source = remoteGitHub { + suffix = "mesonbuild/meson"; + tag = version; + checksum = "9AMilGxTOVqPA2DaGMASyuVs1BeTzgDZ0NH2oSYoRZk846ApvfOBa4cc18XEEK7M"; + }; + patches = [ + "respect-colour.patch", + "test-strip-colour.patch", + ]; + + env = [ + "CMAKE_MAKE_PROGRAM=ninja", + ]; + + exec = pip { + enterSource = true; + check = ` +cd 'test cases' +rm -rf \ + 'common/32 has header' \ + 'common/66 vcstag' \ + 'common/153 wrap file should not failed' \ + 'common/184 openmp' \ + 'common/189 check header' \ + 'linuxlike/6 subdir include order' \ + 'linuxlike/9 compiler checks with dependencies' \ + 'linuxlike/13 cmake dependency' \ + 'frameworks/15 llvm' \ + 'frameworks/29 blocks' +cd .. + +python3 ./run_project_tests.py \ + -v \ + ` + jobsFlagE + ` \ + --failfast \ + --backend=ninja +`; + }; + + inputs = [ + python-setuptools, + pkg-config, + cmake, + ninja, + python-pytest, + ]; + + runtime = [ + python, + pkg-config, + cmake, + ninja, + ]; +} |
