aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-09 00:16:06 +0900
committerOphestra <cat@gensokyo.uk>2026-05-09 00:16:06 +0900
commit50e079b99f562593ee3742e57986f79bb079f4ca (patch)
treeccd511f24036f816a360bca0d9841e4f4fc7afe3 /internal
parentfb2cb5005aed8655bf0486e096afb78174db8a8a (diff)
internal/rosa: xcb-util-keysyms 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.go31
2 files changed, 32 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go
index cd07318e..f0b6b241 100644
--- a/internal/rosa/all.go
+++ b/internal/rosa/all.go
@@ -177,6 +177,7 @@ const (
WaylandProtocols
XCB
XCBProto
+ XCBUtilKeysyms
XDGDBusProxy
XZ
XorgProto
diff --git a/internal/rosa/x.go b/internal/rosa/x.go
index ad17c85c..f164a172 100644
--- a/internal/rosa/x.go
+++ b/internal/rosa/x.go
@@ -186,6 +186,37 @@ func init() {
}
}
+func (t Toolchain) newXCBUtilKeysyms() (pkg.Artifact, string) {
+ const (
+ version = "0.4.1"
+ checksum = "-EEje12UEjtFBuIjb6Fy4cxEghV20BXwQ1BLvhtvSuVcrFkp_X-ZHRM48wAspXZ4"
+ )
+ return t.NewPackage("xcb-util-keysyms", version, newTar(
+ "https://xcb.freedesktop.org/dist/xcb-util-keysyms-"+version+".tar.gz",
+ checksum,
+ pkg.TarGzip,
+ ), nil, (*MakeHelper)(nil),
+ PkgConfig,
+
+ XCB,
+ ), version
+}
+func init() {
+ artifactsM[XCBUtilKeysyms] = Metadata{
+ f: Toolchain.newXCBUtilKeysyms,
+
+ Name: "xcb-util-keysyms",
+ Description: "standard X key constants and conversion to/from keycodes",
+ Website: "https://gitlab.freedesktop.org/xorg/lib/libxcb-keysyms",
+
+ Dependencies: P{
+ XCB,
+ },
+
+ ID: 5168,
+ }
+}
+
func (t Toolchain) newLibX11() (pkg.Artifact, string) {
const (
version = "1.8.13"