diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-02 14:07:16 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-02 14:07:16 +0900 |
| commit | 04d9984da06a07c42416469474fd17b82ea7392e (patch) | |
| tree | 1505fdb1c33292db8b675f808e3c8421a49b5850 /internal/rosa/fuse.go | |
| parent | 145ccd1c9289d708c7d836cb4a3a98440ddf7fb3 (diff) | |
internal/rosa/meson: migrate to helper interface
This change also removes some unused options.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/fuse.go')
| -rw-r--r-- | internal/rosa/fuse.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/internal/rosa/fuse.go b/internal/rosa/fuse.go index 36b4bdd0..13781743 100644 --- a/internal/rosa/fuse.go +++ b/internal/rosa/fuse.go @@ -7,13 +7,13 @@ func (t Toolchain) newFuse() pkg.Artifact { version = "3.18.1" checksum = "COb-BgJRWXLbt9XUkNeuiroQizpMifXqxgieE1SlkMXhs_WGSyJStrmyewAw2hd6" ) - return t.NewViaMeson("fuse", version, pkg.NewHTTPGetTar( + return t.NewPackage("fuse", version, pkg.NewHTTPGetTar( nil, "https://github.com/libfuse/libfuse/releases/download/"+ "fuse-"+version+"/fuse-"+version+".tar.gz", mustDecode(checksum), pkg.TarGzip, - ), &MesonAttr{ - Configure: [][2]string{ + ), nil, &MesonHelper{ + Setup: [][2]string{ {"Ddefault_library", "both"}, {"Dtests", "true"}, {"Duseroot", "false"}, @@ -22,15 +22,15 @@ func (t Toolchain) newFuse() pkg.Artifact { ScriptCompiled: "python3 -m pytest test/", // this project uses pytest - SkipCheck: true, + SkipTest: true, }, - t.Load(IniConfig), - t.Load(Packaging), - t.Load(Pluggy), - t.Load(Pygments), - t.Load(PyTest), + IniConfig, + Packaging, + Pluggy, + Pygments, + PyTest, - t.Load(KernelHeaders), + KernelHeaders, ) } func init() { artifactsF[Fuse] = Toolchain.newFuse } |
