All checks were successful
Test / Create distribution (push) Successful in 49s
Test / Sandbox (push) Successful in 2m38s
Test / Hakurei (push) Successful in 4m0s
Test / ShareFS (push) Successful in 3m57s
Test / Hpkg (push) Successful in 4m29s
Test / Sandbox (race detector) (push) Successful in 4m53s
Test / Hakurei (race detector) (push) Successful in 5m52s
Test / Flake checks (push) Successful in 1m45s
Required by wayland and pipewire. Signed-off-by: Ophestra <cat@gensokyo.uk>
28 lines
691 B
Go
28 lines
691 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newMeson() pkg.Artifact {
|
|
const (
|
|
version = "1.10.1"
|
|
checksum = "w895BXF_icncnXatT_OLCFe2PYEtg4KrKooMgUYdN-nQVvbFX3PvYWHGEpogsHtd"
|
|
)
|
|
return t.New("meson-"+version, []pkg.Artifact{
|
|
t.Load(Python),
|
|
t.Load(Setuptools),
|
|
}, nil, nil, `
|
|
cd /usr/src/meson
|
|
chmod -R +w meson.egg-info
|
|
python3 setup.py \
|
|
install \
|
|
--prefix=/system \
|
|
--root=/work
|
|
`, pkg.Path(AbsUsrSrc.Append("meson"), true, pkg.NewHTTPGetTar(
|
|
nil, "https://github.com/mesonbuild/meson/releases/download/"+
|
|
version+"/meson-"+version+".tar.gz",
|
|
mustDecode(checksum),
|
|
pkg.TarGzip,
|
|
)))
|
|
}
|
|
func init() { artifactsF[Meson] = Toolchain.newMeson }
|