diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-03 04:35:39 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-03 04:35:39 +0900 |
| commit | bf2867d653c4a51a281f935e6a17e8789101dea5 (patch) | |
| tree | b5ad8df49bfd9837538addd9dcb4f837acd00e67 | |
| parent | ec0f0f6507e09b21b319c8b26bae1529c4ebbfc1 (diff) | |
internal/rosa/x: libxshmfence artifact
Required by mesa.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/all.go | 1 | ||||
| -rw-r--r-- | internal/rosa/x.go | 33 |
2 files changed, 34 insertions, 0 deletions
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" |
