File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments