package libva {
	description = "an implementation for VA-API (Video Acceleration API)";
	website = "https://01.org/vaapi";
	anitya = 1752;

	version# = "2.23.0";
	source = remoteGitHub {
		suffix = "intel/libva";
		tag = version;
		checksum = "UmF5tPyWIG_w5kiR3KFpoYbF7UUcaak5tyc-RhOheNTwQlLkPlifreFYCM9FQxbq";
	};

	exec = meson {
		setup = {
			"Dwith_x11": "yes";
			"Dwith_glx": "yes";
			"Dwith_wayland": "yes";
		};
	};

	inputs = [
		libdrm,
		libXfixes,
		libglvnd,
		wayland,
		kernel-headers,
	];

	runtime = [
		libdrm,
		libXfixes,
		libglvnd,
		wayland,
	];
}
