Skip to content

Commit c312810

Browse files
committed
✨ desktop/vulkan-headers: Add at 1.4.348
1 parent 04e1a38 commit c312810

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)