vulkan-tools: 1.3.204.0 -> 1.3.211.0

This commit is contained in:
Danny Rawlins 2022-05-22 20:22:49 +10:00
parent 74d5d5f282
commit add8c221fa
2 changed files with 13 additions and 8 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/cDb/m0pF9ouB2Pt50oZOlFbM7kFWFWCpyRYavAp1/XmjdfSEpijZpG8xIOPRa6bsV23aTmst4k3Hy+JB6lGsg4=
SHA256 (Pkgfile) = e227b51c1cf38ed5d43d071ff174be413745e327f9e266af0c696803e5e5bd75
RWSE3ohX2g5d/aMZSIbp5f3gxORuCLTs1g3rOb8nYmSC7suHABh3h/soutL+9TheD9RZi0obmul9rz6lOcZzfL1O2b/duHU5Wgk=
SHA256 (Pkgfile) = 0f2f2f51e7d9cb16625862ebdcb8c1b4ca954c240e5f90448e01c8311c0d3b1d
SHA256 (.footprint) = 2193acbc7cabcf79829a7caf3821d84e01bc4e695a36a948b8eb4379bbf8150f
SHA256 (Vulkan-Tools-1.3.204.0.tar.gz) = 672ae9c67d276090542cddf6110f00e3ec187db8fb4a0f3aee634e9619a2afc6
SHA256 (Vulkan-Tools-sdk-1.3.211.0.tar.gz) = 6d48778adcb9a650dfb816b9071475eb23bdba007aaaf0be120d981ecda773f9

View File

@ -5,19 +5,24 @@
# Optional: wayland
name=vulkan-tools
version=1.3.204.0
_name=Vulkan-Tools-sdk
version=1.3.211.0
_version=sdk-$version
#_name=Vulkan-Tools
#version=1.3.213
#_version=v$version
release=1
source=(https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-$version/Vulkan-Tools-$version.tar.gz)
source=(https://github.com/KhronosGroup/Vulkan-Tools/archive/$_version/$_name-$version.tar.gz)
build() {
prt-get isinst ninja && PKGMK_VULKAN_TOOLS+=' -G Ninja'
prt-get isinst wayland || PKGMK_VULKAN_TOOLS+=' -D BUILD_WSI_WAYLAND_SUPPORT=OFF'
cmake -S Vulkan-Tools-sdk-$version -B build $PKGMK_VULKAN_TOOLS \
cmake -S $_name-$version -B build $PKGMK_VULKAN_TOOLS \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="${CFLAGS}" \
-D CMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS}" \
-D CMAKE_C_FLAGS_RELEASE="${CFLAGS} -ffat-lto-objects" \
-D CMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS} -ffat-lto-objects" \
-D GLSLANG_INSTALL_DIR=/usr \
-D BUILD_CUBE=True \
-D BUILD_VULKANINFO=True \