summaryrefslogtreecommitdiff
path: root/vulkan-tools-32/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'vulkan-tools-32/Pkgfile')
-rw-r--r--vulkan-tools-32/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/vulkan-tools-32/Pkgfile b/vulkan-tools-32/Pkgfile
new file mode 100644
index 00000000..de3499f2
--- /dev/null
+++ b/vulkan-tools-32/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Vulkan tools
+# URL: https://www.khronos.org/vulkan/
+# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
+# Depends on: glslang-32 vulkan-loader-32 xorg-libxcb-32
+
+name=vulkan-tools-32
+version=1.1.77.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
+
+ export ASFLAGS='--32'
+
+ mkdir build
+ cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DGLSLANG_INSTALL_DIR=/usr \
+ -DBUILD_WSI_WAYLAND_SUPPORT=OFF \
+ -DBUILD_ICD=OFF
+
+ make
+ make DESTDIR=$PKG install
+
+ for app in $PKG/usr/bin/* ; do
+ mv $app $app-32
+ done
+}

Generated by cgit