Skip to content

Commit d32a6f6

Browse files
committed
✨ desktop/vulkan-loader: Add at 1.4.348
1 parent ad6cfd9 commit d32a6f6

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
recipe {
2+
name "vulkan-loader"
3+
version "1.4.348"
4+
release 1
5+
description "Vulkan ICD loader library"
6+
url "https://github.com/KhronosGroup/Vulkan-Loader"
7+
archs "aarch64" "x86_64"
8+
licenses "Apache"
9+
depends "cmake" \
10+
"llvm" \
11+
"mimalloc-dev" \
12+
"musl-dev" \
13+
"ninja" \
14+
"pkgconf" \
15+
"python" \
16+
"vulkan-headers" \
17+
"wayland-dev"
18+
}
19+
20+
source "https://github.com/KhronosGroup/Vulkan-Loader/archive/refs/tags/v${recipe.version}.tar.gz" {
21+
save-as "vulkan-loader-v${recipe.version}.tar.gz"
22+
blake3 "26033b320ba37cb17ab715dd1e77473cd7c59855ad5748954cd5bb413b36e24a"
23+
}
24+
25+
build {
26+
script r#"
27+
cmake -B build -G Ninja \
28+
-DCMAKE_INSTALL_PREFIX=/usr \
29+
-DCMAKE_INSTALL_LIBDIR=lib \
30+
-DCMAKE_BUILD_TYPE=Release \
31+
-DBUILD_WSI_XCB_SUPPORT=OFF \
32+
-DBUILD_WSI_XLIB_SUPPORT=OFF \
33+
-DVULKAN_HEADERS_INSTALL_DIR=/usr
34+
ninja -C build
35+
"#
36+
}
37+
38+
install {
39+
script r#"
40+
DESTDIR="$DESTDIR" ninja -C build install
41+
"#
42+
}
43+
44+
package "vulkan-loader" {
45+
files "usr/lib/lib*.so*"
46+
}
47+
48+
package "vulkan-loader-dev" {
49+
files "usr/lib/cmake/" \
50+
"usr/lib/pkgconfig/"
51+
}

0 commit comments

Comments
 (0)