# -*- 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-Utility-Libraries 1.4.350.1 vulkan-sdk-
github.tarball_from archive
name                vulkan-utility-libraries
revision            0

categories          graphics
license             Apache-2
platforms           any
supported_archs     noarch
maintainers         {judaew @judaew} openmaintainer

description         Utility libraries for Vulkan developers
long_description    {*}${description}
homepage            https://vulkan.lunarg.com

checksums           rmd160  023968373dfcd26c7197aba06bc75d33cd2d5d00 \
                    sha256  e8eca1be31a658c9d0ca30951f2fc7912e4bb01502da64f8decdc71836241a6c \
                    size    1319193

cmake.build_type    Release

depends_build-append       port:vulkan-headers

set py_ver          3.14
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}
