internal/rosa/package: migrate dbus

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-19 22:51:08 +09:00
parent 608d8303ec
commit c0593e8325
3 changed files with 81 additions and 77 deletions

View File

@@ -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) {