diff --git a/internal/rosa/all.go b/internal/rosa/all.go index 2c0b01d2..ef3275d6 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -95,6 +95,7 @@ const ( Libtool Libucontext Libunistring + Libxshmfence Libxml2 Libxslt Libxtrans diff --git a/internal/rosa/x.go b/internal/rosa/x.go index 16ad27ef..b10aa31d 100644 --- a/internal/rosa/x.go +++ b/internal/rosa/x.go @@ -208,6 +208,39 @@ func init() { } } +func (t Toolchain) newLibxshmfence() (pkg.Artifact, string) { + const ( + version = "1.3.3" + checksum = "JamExTPg81By2fs3vWdeo_dzlpBQeAwXr2sDXeHJqm9XBoLW5pamiD6FgAWtAKyA" + ) + return t.NewPackage("libxshmfence", version, newFromGitLab( + "gitlab.freedesktop.org", + "xorg/lib/libxshmfence", + "libxshmfence-"+version, + checksum, + ), nil, &MakeHelper{ + Generate: "NOCONFIGURE=1 ./autogen.sh", + }, + Automake, + Libtool, + PkgConfig, + + utilMacros, + XorgProto, + ), version +} +func init() { + artifactsM[Libxshmfence] = Metadata{ + f: Toolchain.newLibxshmfence, + + Name: "libxshmfence", + Description: "shared memory 'SyncFence' synchronization primitive", + Website: "https://gitlab.freedesktop.org/xorg/lib/libxshmfence", + + ID: 1792, + } +} + func (t Toolchain) newLibpciaccess() (pkg.Artifact, string) { const ( version = "0.19"