summaryrefslogtreecommitdiff
path: root/vulkan-tools/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'vulkan-tools/Pkgfile')
-rw-r--r--vulkan-tools/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/vulkan-tools/Pkgfile b/vulkan-tools/Pkgfile
new file mode 100644
index 000000000..13bc4b041
--- /dev/null
+++ b/vulkan-tools/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Vulkan tools
+# URL: https://www.khronos.org/vulkan/
+# Maintainer: Danny Rawlins, crux at romster dot me
+# Depends on: glslang vulkan-loader
+
+name=vulkan-tools
+version=1.1.101.0
+release=1
+source=(https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-$version/Vulkan-Tools-sdk-$version.tar.gz)
+
+build() {
+ cd Vulkan-Tools-sdk-$version
+
+ mkdir build
+ cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DGLSLANG_INSTALL_DIR=/usr \
+ -DBUILD_WSI_WAYLAND_SUPPORT=OFF \
+ -DBUILD_ICD=OFF
+
+ make
+ make DESTDIR=$PKG install
+}

Generated by cgit