aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-03 04:35:39 +0900
committerOphestra <cat@gensokyo.uk>2026-05-03 04:35:39 +0900
commitbf2867d653c4a51a281f935e6a17e8789101dea5 (patch)
treeb5ad8df49bfd9837538addd9dcb4f837acd00e67 /internal
parentec0f0f6507e09b21b319c8b26bae1529c4ebbfc1 (diff)
internal/rosa/x: libxshmfence 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.go33
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"