package rosa import "hakurei.app/internal/pkg" func (t Toolchain) newFuse() pkg.Artifact { const ( version = "3.18.1" checksum = "COb-BgJRWXLbt9XUkNeuiroQizpMifXqxgieE1SlkMXhs_WGSyJStrmyewAw2hd6" ) return t.New("fuse-"+version, 0, []pkg.Artifact{ t.Load(Python), t.Load(Meson), t.Load(Ninja), t.Load(IniConfig), t.Load(Packaging), t.Load(Pluggy), t.Load(Pygments), t.Load(PyTest), t.Load(KernelHeaders), }, nil, nil, ` cd "$(mktemp -d)" meson setup \ --reconfigure \ --buildtype=release \ --prefix=/system \ --prefer-static \ -Dtests=true \ -Duseroot=false \ -Dinitscriptdir=/system/init.d \ -Ddefault_library=both \ . /usr/src/fuse meson compile python3 -m pytest test/ meson install \ --destdir=/work `, pkg.Path(AbsUsrSrc.Append("fuse"), false, pkg.NewHTTPGetTar( nil, "https://github.com/libfuse/libfuse/releases/download/"+ "fuse-"+version+"/fuse-"+version+".tar.gz", mustDecode(checksum), pkg.TarGzip, ))) } func init() { artifactsF[Fuse] = Toolchain.newFuse }