internal/rosa/package: migrate glslang

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-19 23:48:21 +09:00
parent f638c73933
commit bb230378e0
5 changed files with 116 additions and 124 deletions

View File

@@ -0,0 +1,31 @@
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 = true;
chmod = true;
exec = cmake {
cache = {
"BUILD_SHARED_LIBS": "ON";
"ALLOW_EXTERNAL_SPIRV_TOOLS": "ON";
};
};
inputs = [
python,
bash,
diffutils,
spirv-tools,
];
}