package libdrm {
	description = "a userspace library for accessing the DRM"
	website = "https://dri.freedesktop.org"
	anitya = 1596

	version# = "2.4.133"
	source = remoteGitLab {
		domain = "gitlab.freedesktop.org"
		suffix = "mesa/libdrm"
		ref = "libdrm-"+version
		checksum = "bfj296NcR9DndO11hqDbSRFPqaweSLMqRk3dlCPZpM6FONX1WZ9J4JdbTDMUd1rU"
	}

	exec = meson {
		setup = endi [
			"Dintel": true
		]
	}

	inputs = [
		// symbols check fail with llvm nm
		binutils

		libpciaccess
		kernel-headers
	]

	runtime = [ libpciaccess ]
}
