diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-19 22:51:08 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-19 22:51:08 +0900 |
| commit | c0593e83253813ba4ec9caf6784e5f2d6251e6fd (patch) | |
| tree | 9f07b83fa37a922464588f90e324aa9d274c810f /internal/rosa/state.go | |
| parent | 608d8303ec530c0cb8f30a03721ae5e12d6a986f (diff) | |
internal/rosa/package: migrate dbus
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/state.go')
| -rw-r--r-- | internal/rosa/state.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/internal/rosa/state.go b/internal/rosa/state.go index cdda2127..11415daf 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -674,6 +674,24 @@ func (s *S) getFrame() azalea.Frame { return }}, + k("meson"): {F: func( + args azalea.FArgs, + ) (v any, set bool, err error) { + var attr MesonHelper + if err = args.Apply(map[unique.Handle[azalea.Ident]]any{ + k("preCompile"): &attr.ScriptCompileEarly, + k("postCompile"): &attr.ScriptCompiled, + k("postInstall"): &attr.Script, + k("setup"): &attr.Setup, + k("skipTest"): &attr.SkipTest, + }); err != nil { + return + } + v = &attr + set = true + return + }}, + k("makeMaker"): {F: func( args azalea.FArgs, ) (v any, set bool, err error) { |
