package wlroots {
	description = "a modular Wayland compositor library";
	website = "https://gitlab.freedesktop.org/wlroots/wlroots";
	anitya = 18357;

	version# = "0.20.2";
	source = remoteGitLab {
		domain = "gitlab.freedesktop.org";
		suffix = "wlroots/wlroots";
		ref = version;
		checksum = "TDDJLXJ83uZEu-81LZeDlM0f1wNxaFd4Xn2q1NlKhm7IAEHnZJQHSdLmJIC4As_e";
	};

	exec = meson {
		setup = {
			"xwayland": "enabled";
			"allocators": "gbm";
			"backends": "drm,libinput";
		};
	};

	inputs = [
		mesa,
		libglvnd,
		hwdata,
		wayland,
		xwayland,
		libxcb-wm,
		xkbcommon,
		pixman,
		seatd,
		libinput,
		libliftoff,
		kernel-headers,
	];

	runtime = [
		mesa,
		libglvnd,
		wayland,
		libxcb-wm,
		xkbcommon,
		pixman,
		seatd,
		libinput,
		libliftoff,
	];
}
