forked from rosa/hakurei
For upcoming azalea integration. The API is quite ugly right now to ease migration. Signed-off-by: Ophestra <cat@gensokyo.uk>
33 lines
722 B
Go
33 lines
722 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newLibxml2(s *S) (pkg.Artifact, string) {
|
|
const (
|
|
version = "2.15.3"
|
|
checksum = "oJy74htGlEpf70KPvpW18fYJo0RQQkCXZRwqUz6NoXborS3HCq3Nm4gsyaSeNmUH"
|
|
)
|
|
return s.NewPackage(t, "libxml2", version, newFromGitLab(
|
|
"gitlab.gnome.org",
|
|
"GNOME/libxml2",
|
|
"v"+version, checksum,
|
|
), &PackageAttr{
|
|
// can't create shell.out: Read-only file system
|
|
Writable: true,
|
|
}, (*MesonHelper)(nil),
|
|
Git,
|
|
Diffutils,
|
|
), version
|
|
}
|
|
func init() {
|
|
native.MustRegister(&Artifact{
|
|
f: Toolchain.newLibxml2,
|
|
|
|
Name: "libxml2",
|
|
Description: "an XML toolkit implemented in C",
|
|
Website: "https://gitlab.gnome.org/GNOME/libxml2/",
|
|
|
|
ID: 1783,
|
|
})
|
|
}
|