diff --git a/internal/rosa/all.go b/internal/rosa/all.go index ed7b33f6..20ac0196 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -187,6 +187,7 @@ const ( XCBUtilKeysyms XDGDBusProxy XZ + Xkbcomp XorgProto Zlib Zstd diff --git a/internal/rosa/x.go b/internal/rosa/x.go index bdf64b25..3c583e55 100644 --- a/internal/rosa/x.go +++ b/internal/rosa/x.go @@ -519,6 +519,44 @@ func init() { } } +func (t Toolchain) newXkbcomp() (pkg.Artifact, string) { + const ( + version = "1.5.0" + checksum = "ttICW8ZPbljI-nw2kknvxFhwFoDK40iAMBeZDLAHYsHf3B6UPO_zc9TpzZYRRyZH" + ) + return t.NewPackage("xkbcomp", version, newFromGitLab( + "gitlab.freedesktop.org", + "xorg/app/xkbcomp", + "xkbcomp-"+version, + checksum, + ), nil, &MakeHelper{ + Generate: "NOCONFIGURE=1 ./autogen.sh", + }, + Automake, + Libtool, + PkgConfig, + Bison, + + utilMacros, + Libxkbfile, + ), version +} +func init() { + artifactsM[Xkbcomp] = Metadata{ + f: Toolchain.newXkbcomp, + + Name: "xkbcomp", + Description: "XKB keyboard description compiler", + Website: "http://www.x.org/wiki/XKB", + + Dependencies: P{ + Libxkbfile, + }, + + ID: 15018, + } +} + func (t Toolchain) newLibpciaccess() (pkg.Artifact, string) { const ( version = "0.19"