Skip to content

Commit 4a86b34

Browse files
committed
✨ desktop/spirv-headers: Add at 1.4.341.0
1 parent fe5bb6a commit 4a86b34

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
recipe {
2+
name "spirv-headers"
3+
version "1.4.341.0"
4+
release 1
5+
description "SPIR-V Headers from the Khronos Group"
6+
url "https://github.com/KhronosGroup/SPIRV-Headers"
7+
archs "aarch64" "x86_64"
8+
licenses "MIT" "CC-BY-4.0"
9+
depends "cmake" \
10+
"llvm" \
11+
"mimalloc-dev" \
12+
"musl-dev" \
13+
"ninja"
14+
}
15+
16+
source "https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-${recipe.version}.tar.gz" {
17+
blake3 "9fcacf7be83a830cf97d52949afff125a36db15b486755e88f21b5f840bc3abc"
18+
}
19+
20+
build {
21+
script r#"
22+
cmake -B build -G Ninja \
23+
-DCMAKE_INSTALL_PREFIX=/usr \
24+
-DCMAKE_BUILD_TYPE=Release
25+
ninja -C build
26+
"#
27+
}
28+
29+
install {
30+
script r#"
31+
DESTDIR="$DESTDIR" ninja -C build install
32+
"#
33+
}
34+
35+
package "spirv-headers" {
36+
files "usr/include/" \
37+
"usr/share/"
38+
}

0 commit comments

Comments
 (0)