blob: 02ce0bd766c635f965f2f9a4fbf2861efc1535ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
package libglvnd {
description = "The GL Vendor-Neutral Dispatch library";
website = "https://gitlab.freedesktop.org/glvnd/libglvnd";
anitya = 12098;
version# = "1.7.0";
source = remoteGitLab {
domain = "gitlab.freedesktop.org";
suffix = "glvnd/libglvnd";
ref = "v"+version;
checksum = "eIQJK2sgFQDHdeFkQO87TrSUaZRFG4y2DrwA8Ut-sGboI59uw1OOiIVqq2AIwnGY";
};
exec = meson {
setup = {
"x11": "enabled";
"glx": "enabled";
};
postCompile = `
export DISPLAY=':0'
Xvfb &
XVFB_PID="$!"
trap 'kill $XVFB_PID && wait $XVFB_PID' EXIT
`;
};
inputs = [
// symbols check fail with llvm nm
binutils,
// test suite wants X server
xserver,
libXext,
];
runtime = [ libXext ];
}
|