aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/wayland.az
blob: a383f05247eb2eebde093c25d3fb5bfd74d176e5 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
package wayland {
	description = "core Wayland window system code and protocol";
	website = "https://wayland.freedesktop.org";
	anitya = 10061;

	version# = "1.26.0";
	source = remoteGitLab {
		domain = "gitlab.freedesktop.org";
		suffix = "wayland/wayland";
		ref = version;
		checksum = "79UJi1LDcQBoYl_yR7Jnt3OXptvyklTdJB7GZIeF_Zb0q0ETQRBp5RqsltdZOTAp";
	};

	writable = true;
	early = `
chmod +w tests tests/sanity-test.c
echo 'int main(){}' > tests/sanity-test.c
`;

	exec = meson {
		setup = {
			"default_library": "both";
			"documentation": "false";
			"tests": "true";
		};

		test = arch {
			default = unset;
			// some tests bypass meson exe_wrapper, qemu sets off
			// fd leak tests
			cross = false;
		};
	};

	tools = [
		awk,
		diffutils,
	];

	inputs = [
		libffi,
		libexpat,
		libxml2,
	];

	// for wayland-scanner
	native = [ wayland ];
}

package wayland-protocols {
	description = "additional standard Wayland protocols";
	website = "https://wayland.freedesktop.org";
	anitya = 13997;

	version# = "1.50";
	source = remoteGitLab {
		domain = "gitlab.freedesktop.org";
		suffix = "wayland/wayland-protocols";
		ref = version;
		checksum = "MbaMJu7xnt604OQ9gGD717N_zR7vpJ9VcEfnnVnyQWJ6wVhhnTMtV3XGrXoocGux";
	};

	exec = meson {};

	inputs = [ wayland ];
	tools = [ wayland ];
	runtime = nil;
	unlikely = true;
}

package wayland-utils {
	description = "a utility for displaying information about the Wayland "+
		"protocols supported by a Wayland compositor";
	website = "https://gitlab.freedesktop.org/wayland/wayland-utils";
	anitya = 129361;

	version# = "1.3.0";
	source = remoteGitLab {
		domain = "gitlab.freedesktop.org";
		suffix = "wayland/wayland-utils";
		ref = version;
		checksum = "D82dyFjOvNr0RnFLgIudQE2jpyGzoNixpvbbUPmjdFv7Rcw987VCiHBWwwo_EP6w";
	};

	exec = meson {};

	inputs = [
		wayland,
		wayland-protocols,
	];

	tools = [ wayland ];

	unlikely = true;
}