diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-13 22:21:31 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-13 22:22:02 +0900 |
| commit | ad0f1cf36bb73a9a464dd3968f28a756631a8322 (patch) | |
| tree | dd79a0cf5264bb8e227d2d3a6db3ecf28c62726f /internal | |
| parent | b12d924fa2f35713cd73d6c9979e9afdff6a27a2 (diff) | |
internal/rosa/x: libxkbfile artifact
Required by xkbcomp.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/rosa/all.go | 3 | ||||
| -rw-r--r-- | internal/rosa/x.go | 35 |
2 files changed, 37 insertions, 1 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index 2f8292a7..ed7b33f6 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -105,8 +105,9 @@ const ( Libtool Libucontext Libunistring - Libxshmfence + Libxkbfile Libxml2 + Libxshmfence Libxslt Libxtrans LMSensors diff --git a/internal/rosa/x.go b/internal/rosa/x.go index 98e1e4c3..bdf64b25 100644 --- a/internal/rosa/x.go +++ b/internal/rosa/x.go @@ -484,6 +484,41 @@ func init() { } } +func (t Toolchain) newLibxkbfile() (pkg.Artifact, string) { + const ( + version = "1.2.0" + checksum = "WUtph1ab0AyATahlwljchBxZJcpjYrjyhCK9DW2VO0uXEXaN22GWmUaibcA83i_B" + ) + return t.NewPackage("libxkbfile", version, newFromGitLab( + "gitlab.freedesktop.org", + "xorg/lib/libxkbfile", + "libxkbfile-"+version, + checksum, + ), nil, (*MesonHelper)(nil), + Automake, + Libtool, + PkgConfig, + + utilMacros, + LibX11, + ), version +} +func init() { + artifactsM[Libxkbfile] = Metadata{ + f: Toolchain.newLibxkbfile, + + Name: "libxkbfile", + Description: "XKB file handling routines", + Website: "http://www.x.org/wiki/XKB", + + Dependencies: P{ + LibX11, + }, + + ID: 1781, + } +} + func (t Toolchain) newLibpciaccess() (pkg.Artifact, string) { const ( version = "0.19" |
