ports/opt (3.4): vulkan-tools: contrib -> opt
commit 844ab3241b7c0acdf71e508ebda6474aad990d4a Author: Danny Rawlins <monster.romster@gmail.com> Date: Sun Apr 28 13:07:24 2019 +1000 vulkan-tools: contrib -> opt diff --git a/vulkan-tools/.footprint b/vulkan-tools/.footprint new file mode 100644 index 000000000..a71f2f332 --- /dev/null +++ b/vulkan-tools/.footprint @@ -0,0 +1,5 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/vkcube +-rwxr-xr-x root/root usr/bin/vkcubepp +-rwxr-xr-x root/root usr/bin/vulkaninfo diff --git a/vulkan-tools/.signature b/vulkan-tools/.signature new file mode 100644 index 000000000..44ef896b7 --- /dev/null +++ b/vulkan-tools/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/Q4KpPW1KST26eUxVC9uVUTATTGotYejz+Az5u7wdG/lcIHORyqqNnL0NuDw8ePhAFdDZvte/iXgr8E/T/Jbtg4= +SHA256 (Pkgfile) = 81d7fb6e4d6ff30e3e6d7f9f25d98018fb33338cee3ad736e49c006c01c45a46 +SHA256 (.footprint) = 2193acbc7cabcf79829a7caf3821d84e01bc4e695a36a948b8eb4379bbf8150f +SHA256 (Vulkan-Tools-sdk-1.1.101.0.tar.gz) = 03d05f0bcfa051f44971442d2075afec92fa4e6f4d09f1f9cbd21587cdb4bb38 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-Too...) + +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 +}
participants (1)
-
crux@crux.nu