# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 PortGroup cmake 1.1 github.setup KhronosGroup Vulkan-Tools 1.3.296.0 vulkan-sdk- github.tarball_from archive name vulkan-tools revision 0 categories graphics license Apache-2 maintainers {judaew @judaew} openmaintainer description Vulkan tools long_description Provides vulkaninfo command for checking Vulkan installation configuration status homepage https://vulkan.lunarg.com depends_build-append port:vulkan-headers \ port:vulkan-volk \ path:bin/glslang:glslang \ path:bin/glslc:shaderc depends_lib-append port:vulkan-loader checksums sha256 6f90bff4a908688cb6baf076933613a8ee8589e21c7dc3c3ba843afbd7dd84e3 \ rmd160 fe0f0ac75839ba9424224ca77452e6ff333db4d7 \ size 757355 set py_ver 3.12 set py_ver_nodot [string map {. {}} ${py_ver}] foreach stage {configure build destroot test} { ${stage}.env-append PATH=${frameworks_dir}/Python.framework/Versions/${py_ver}/bin:$env(PATH) } depends_build-append port:python${py_ver_nodot} # TODO: cube, icd configure.args-append \ -DBUILD_CUBE=OFF \ -DBUILD_ICD=OFF \ -DDTOOLS_VULKANINFO=ON \ -DDTOOLS_CODEGEN=ON \ -DVULKAN_LOADER_INSTALL_DIR=${prefix}