aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/glib/package.az
blob: dc7fc7168b2c415bb78c459eab6eb531548876b9 (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.3";
	source = remoteGit {
		url = "https://gitlab.gnome.org/GNOME/glib.git";
		tag = version;
		checksum = "eM9KrXwhwKiZferwrILKmDeq-IGnSjr0EKqV90EEVl0Ee82QVcyVSf2LDMROHcOF";
	};

	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,
	];
}