vulkan-tools: allow wayland if present to be enabled

This commit is contained in:
Danny Rawlins 2020-01-07 08:47:33 +11:00
parent bcd7b06884
commit d4e0416504
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/TY10k+sjXgVMPklD3BPjEPda7cwlPwhseTzvnXXd5wbY/kj4erdOLmBouCVYMZnOCJDqEugnxEfaQSQMM22zgg=
SHA256 (Pkgfile) = efe64a49be23e5e8f11c4becf8cfab8dfd2713c101ee2fca6408616e42428e5e
RWSE3ohX2g5d/WLLC0Yh3nQGetzQfw4z+90A7fh6+iqwkSyKIjV65WZP49oxR7Xb1Whd7lKSKqw555U2u5GEPUPWM8yXehkmUwE=
SHA256 (Pkgfile) = 268238e5fdc72c2485f51b146eb755a39d7e37e02ebcf04ddeaa3649f5801cc1
SHA256 (.footprint) = 2193acbc7cabcf79829a7caf3821d84e01bc4e695a36a948b8eb4379bbf8150f
SHA256 (Vulkan-Tools-sdk-1.1.126.0.tar.gz) = 830330144f31c1711ea8cf4d7640421e3dbd025a854cb5f097973719fdf671fd

View File

@ -5,7 +5,7 @@
name=vulkan-tools
version=1.1.126.0
release=1
release=2
source=(https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-$version/Vulkan-Tools-sdk-$version.tar.gz)
build() {
@ -24,7 +24,7 @@ build() {
-DCUBE_WSI_SELECTION='XCB' \
-DBUILD_WSI_XCB_SUPPORT=True \
-DBUILD_WSI_XLIB_SUPPORT=True \
-DBUILD_WSI_WAYLAND_SUPPORT=OFF \
-DBUILD_WSI_WAYLAND_SUPPORT=$(prt-get isinst wayland &> /dev/null && echo ON || echo OFF) \
-DBUILD_ICD=OFF \
-GNinja