<pre style='margin:0'>
Vadym-Valdis Yudaiev (judaew) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c09226ac2b4ee792d134594108169d98c102e875">https://github.com/macports/macports-ports/commit/c09226ac2b4ee792d134594108169d98c102e875</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c09226ac2b4ee792d134594108169d98c102e875
</span>Author: Vadym-Valdis Yudaiev <judaew@outlook.de>
AuthorDate: Thu Feb 15 21:20:16 2024 +0200
<span style='display:block; white-space:pre;color:#404040;'> vulkan-volk: New port (ver. 1.3.275.0)
</span>---
graphics/vulkan-volk/Portfile | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/vulkan-volk/Portfile b/graphics/vulkan-volk/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..76ccd3e4cb1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/vulkan-volk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,40 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup zeux volk 1.3.275.0 vulkan-sdk-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name vulkan-volk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories graphics
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms any
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {judaew @judaew} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Meta loader for Vulkan API
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ volk is a meta-loader for Vulkan. It allows you to dynamically load\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ entrypoints required to use Vulkan without linking to vulkan-1.dll or\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ statically linking Vulkan loader. Additionally, volk simplifies the use of\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Vulkan extensions by automatically loading all associated entrypoints.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Finally, volk enables loading Vulkan entrypoints directly from the driver\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ which can increase performance by skipping loader dispatch overhead.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums sha256 b68d24e139190e49e5eafd72894f6e85c80472b8745bddc6ef91d6bf339df813 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 a0e69206616d4efa69c7d85e77f9892cb5a17d44 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 60947
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver 3.12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver_nodot [string map {. {}} ${py_ver}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach stage {configure build destroot test} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${stage}.env-append PATH=${frameworks_dir}/Python.framework/Versions/${py_ver}/bin:$env(PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append port:python${py_ver_nodot} port:vulkan-headers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DVOLK_INSTALL=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DVOLK_STATIC_DEFINES=VK_USE_PLATFORM_MACOS_MVK
</span></pre><pre style='margin:0'>
</pre>