aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-04 23:05:10 +0900
committerOphestra <cat@gensokyo.uk>2026-04-04 23:05:10 +0900
commit130e470b601eae8bae162a579bdfac27c78e3ffb (patch)
tree9f694444cc6296ecc5ccf4cf4df168f9192f6e00 /internal
parentba5ee8e3eec124fdb42159b352bb4b32a8315530 (diff)
internal/rosa/libxslt: fetch source via git
Eliminates the xz dependency. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/libxslt.go24
1 files changed, 10 insertions, 14 deletions
diff --git a/internal/rosa/libxslt.go b/internal/rosa/libxslt.go
index c979694a..c905d68c 100644
--- a/internal/rosa/libxslt.go
+++ b/internal/rosa/libxslt.go
@@ -1,28 +1,24 @@
package rosa
-import (
- "strings"
-
- "hakurei.app/internal/pkg"
-)
+import "hakurei.app/internal/pkg"
func (t Toolchain) newLibxslt() (pkg.Artifact, string) {
const (
version = "1.1.45"
- checksum = "vw72UbREQnA3YDYuZ9-93hDr9BYCaKV6oh_U4Kt4n1Js_na4E-nFj-ksZnZ0kvEK"
+ checksum = "MZc_dyUWpHChkWDKa5iycrECxBsRd4ZMbYfL4VojTbung593mlH2tHGmxYB6NFYT"
)
- return t.NewPackage("libxslt", version, pkg.NewHTTPGet(
- nil, "https://download.gnome.org/sources/libxslt/"+
- strings.Join(strings.Split(version, ".")[:2], ".")+
- "/libxslt-"+version+".tar.xz",
+ return t.NewPackage("libxslt", version, t.NewViaGit(
+ "https://gitlab.gnome.org/GNOME/libxslt.git",
+ "refs/tags/v"+version,
mustDecode(checksum),
- ), &PackageAttr{
- SourceKind: SourceKindTarXZ,
- }, &MakeHelper{
+ ), nil, &MakeHelper{
+ Generate: "NOCONFIGURE=1 ./autogen.sh",
+
// python libxml2 cyclic dependency
SkipCheck: true,
},
- XZ,
+ Automake,
+ Libtool,
Python,
PkgConfig,