aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa')
-rw-r--r--internal/rosa/mesa.go20
1 files changed, 19 insertions, 1 deletions
diff --git a/internal/rosa/mesa.go b/internal/rosa/mesa.go
index 612400b2..21ace480 100644
--- a/internal/rosa/mesa.go
+++ b/internal/rosa/mesa.go
@@ -12,8 +12,22 @@ func (t Toolchain) newLibglvnd() (pkg.Artifact, string) {
"glvnd/libglvnd",
"v"+version,
checksum,
- ), nil, (*MesonHelper)(nil),
+ ), nil, &MesonHelper{
+ Setup: []KV{
+ {"Dx11", "enabled"},
+ {"Dglx", "enabled"},
+ },
+ ScriptCompiled: `
+export DISPLAY=':0'
+Xvfb &
+XVFB_PID="$!"
+trap 'kill $XVFB_PID && wait $XVFB_PID' EXIT
+`,
+ },
Binutils, // symbols check fail with llvm nm
+ Xserver, // test suite wants X server
+
+ LibXext,
), version
}
func init() {
@@ -24,6 +38,10 @@ func init() {
Description: "The GL Vendor-Neutral Dispatch library",
Website: "https://gitlab.freedesktop.org/glvnd/libglvnd",
+ Dependencies: P{
+ LibXext,
+ },
+
ID: 12098,
}
}