All checks were successful
Test / Create distribution (push) Successful in 1m20s
Test / Sandbox (push) Successful in 3m28s
Test / Hakurei (push) Successful in 4m39s
Test / ShareFS (push) Successful in 4m44s
Test / Sandbox (race detector) (push) Successful in 5m57s
Test / Hakurei (race detector) (push) Successful in 7m8s
Test / Flake checks (push) Successful in 1m30s
Eliminates the xz dependency. Signed-off-by: Ophestra <cat@gensokyo.uk>
43 lines
837 B
Go
43 lines
837 B
Go
package rosa
|
|
|
|
import "hakurei.app/internal/pkg"
|
|
|
|
func (t Toolchain) newLibxslt() (pkg.Artifact, string) {
|
|
const (
|
|
version = "1.1.45"
|
|
checksum = "MZc_dyUWpHChkWDKa5iycrECxBsRd4ZMbYfL4VojTbung593mlH2tHGmxYB6NFYT"
|
|
)
|
|
return t.NewPackage("libxslt", version, t.NewViaGit(
|
|
"https://gitlab.gnome.org/GNOME/libxslt.git",
|
|
"refs/tags/v"+version,
|
|
mustDecode(checksum),
|
|
), nil, &MakeHelper{
|
|
Generate: "NOCONFIGURE=1 ./autogen.sh",
|
|
|
|
// python libxml2 cyclic dependency
|
|
SkipCheck: true,
|
|
},
|
|
Automake,
|
|
Libtool,
|
|
Python,
|
|
PkgConfig,
|
|
|
|
Libxml2,
|
|
), version
|
|
}
|
|
func init() {
|
|
artifactsM[Libxslt] = Metadata{
|
|
f: Toolchain.newLibxslt,
|
|
|
|
Name: "libxslt",
|
|
Description: "an XSLT processor based on libxml2",
|
|
Website: "https://gitlab.gnome.org/GNOME/libxslt/",
|
|
|
|
Dependencies: P{
|
|
Libxml2,
|
|
},
|
|
|
|
ID: 13301,
|
|
}
|
|
}
|