aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-03 04:11:46 +0900
committerOphestra <cat@gensokyo.uk>2026-05-03 04:15:21 +0900
commita77a80295551cf383df2ef828e9e8740088aa9ef (patch)
tree05cf1b92ae4c8a9d133370bded4ff5f63270d473 /internal
parent4407e14dfcbfef11ec70bd610a7a1f592b223319 (diff)
internal/rosa/x: xlib artifact
Required by mesa. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/all.go1
-rw-r--r--internal/rosa/x.go44
2 files changed, 45 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go
index 3caf543e..6cf1cb96 100644
--- a/internal/rosa/all.go
+++ b/internal/rosa/all.go
@@ -73,6 +73,7 @@ const (
IPTables
Kmod
LIT
+ LibX11
LibXau
Libbsd
Libcap
diff --git a/internal/rosa/x.go b/internal/rosa/x.go
index 2c3c78fc..11751b1c 100644
--- a/internal/rosa/x.go
+++ b/internal/rosa/x.go
@@ -127,6 +127,50 @@ func init() {
}
}
+func (t Toolchain) newLibX11() (pkg.Artifact, string) {
+ const (
+ version = "1.8.13"
+ checksum = "ARh-cuZY_U2v3DbPS1byc7ybh9NInZc-yav7SJiusk_C7408s058qWV83ocMd2pT"
+ )
+ return t.NewPackage("libX11", version, newFromGitLab(
+ "gitlab.freedesktop.org",
+ "xorg/lib/libx11",
+ "libX11-"+version,
+ checksum,
+ ), nil, &MakeHelper{
+ Generate: "NOCONFIGURE=1 ./autogen.sh",
+
+ Configure: []KV{
+ {"enable-static"},
+ {"without-xmlto"},
+ },
+ },
+ Automake,
+ Libtool,
+ PkgConfig,
+
+ utilMacros,
+ Libxtrans,
+ XorgProto,
+ XCB,
+ ), version
+}
+func init() {
+ artifactsM[LibX11] = Metadata{
+ f: Toolchain.newLibX11,
+
+ Name: "libX11",
+ Description: `Core X11 protocol client library (aka "Xlib")`,
+ Website: "https://gitlab.freedesktop.org/xorg/lib/libx11",
+
+ Dependencies: P{
+ XCB,
+ },
+
+ ID: 1764,
+ }
+}
+
func (t Toolchain) newLibpciaccess() (pkg.Artifact, string) {
const (
version = "0.19"