aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/glib/package.az
blob: fc0ad64b68a6144cbe280371fe6a2dfb328cd797 (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
package glib {
	description = "the GNU library of miscellaneous stuff";
	website = "https://developer.gnome.org/glib";
	anitya = 10024;

	version# = "2.89.4";
	source = remoteGit {
		url = "https://gitlab.gnome.org/GNOME/glib.git";
		tag = version;
		checksum = "I_nTEVp4rpOQ4VCmJpesjvq3VbFJ3oLRAUVvsdJEfFiY4XXsvi0ITTqCEWe9Lr47";
	};

	files = {
		"/etc/machine-id": "stub-machine-id-fhs";
		"/system/var/lib/dbus/machine-id": "stub-machine-id";
	};

	exec = meson {
		setup = {
			"default_library": "both";
		};
		// fails with ipv6 disabled
		skipTests = [ "gio" ];
	};

	inputs = [
		python-packaging,
		bash,

		pcre2,
		libffi,
		zlib,
	];

	runtime = [
		pcre2,
		libffi,
		zlib,
	];
}