package glslang {
	description = "reference front end for GLSL/ESSL"
	website = "https://github.com/KhronosGroup/glslang"
	anitya = 205796

	version# = "16.3.0"
	source = remoteGitHub {
		suffix = "KhronosGroup/glslang"
		tag = version
		checksum = "xyqDf8k3-D0_BXHGi0uLgMglnJ05Rf3j73QgbDs3sGtKNdBIQhY8JfqX1NcNoJQN"
	}

	// test suite writes to source
	writable
	chmod

	exec = cmake {
		cache = {
			"BUILD_SHARED_LIBS": "ON"
			"ALLOW_EXTERNAL_SPIRV_TOOLS": "ON"
		}
	}

	inputs = [
		python
		bash
		diffutils

		spirv-tools
	]
}
