vulkan-tools: contrib -> opt

This commit is contained in:
Danny Rawlins 2019-04-28 13:07:24 +10:00
parent 5d36696bc0
commit 844ab3241b
3 changed files with 37 additions and 0 deletions

5
vulkan-tools/.footprint Normal file
View File

@ -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

5
vulkan-tools/.signature Normal file
View File

@ -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

27
vulkan-tools/Pkgfile Normal file
View File

@ -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
}