All checks were successful
Test / Create distribution (push) Successful in 1m4s
Test / Sandbox (push) Successful in 2m57s
Test / ShareFS (push) Successful in 3m45s
Test / Hakurei (push) Successful in 3m50s
Test / Sandbox (race detector) (push) Successful in 5m19s
Test / Hakurei (race detector) (push) Successful in 6m31s
Test / Flake checks (push) Successful in 1m17s
This cleans up many function signatures. Signed-off-by: Ophestra <cat@gensokyo.uk>
44 lines
923 B
Go
44 lines
923 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newFuse() (pkg.Artifact, string) {
|
|
const (
|
|
version = "3.18.2"
|
|
checksum = "iL-7b7eUtmlVSf5cSq0dzow3UiqSjBmzV3cI_ENPs1tXcHdktkG45j1V12h-4jZe"
|
|
)
|
|
return t.NewPackage("fuse", version, newFromGitHubRelease(
|
|
"libfuse/libfuse",
|
|
"fuse-"+version,
|
|
"fuse-"+version+".tar.gz",
|
|
checksum,
|
|
pkg.TarGzip,
|
|
), nil, &MesonHelper{
|
|
Setup: []KV{
|
|
{"Ddefault_library", "both"},
|
|
{"Dtests", "true"},
|
|
{"Duseroot", "false"},
|
|
{"Dinitscriptdir", "/system/etc"},
|
|
},
|
|
|
|
ScriptCompiled: "python3 -m pytest test/",
|
|
// this project uses pytest
|
|
SkipTest: true,
|
|
},
|
|
PythonPyTest,
|
|
|
|
KernelHeaders,
|
|
), version
|
|
}
|
|
func init() {
|
|
native.MustRegister(&Artifact{
|
|
f: Toolchain.newFuse,
|
|
|
|
Name: "fuse",
|
|
Description: "the reference implementation of the Linux FUSE interface",
|
|
Website: "https://github.com/libfuse/libfuse/",
|
|
|
|
ID: 861,
|
|
})
|
|
}
|