package glib {
	description = "the GNU library of miscellaneous stuff";
	website = "https://developer.gnome.org/glib";
	anitya = 10024;

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

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

	exec = meson {
		setup = {
			"Ddefault_library": "both";
		};
	};

	inputs = [
		python-packaging,
		bash,

		pcre2,
		libffi,
		zlib,
	];

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