From 98e4ae44d850917f10e626a3f3e76e1ab2edc7b5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 4 Jan 2025 10:44:07 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.3.295-1mamba;Fri Jan 03 2025] --- README.md | 2 ++ vulkan-volk.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 vulkan-volk.spec diff --git a/README.md b/README.md index 8648289..d883117 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # vulkan-volk +volk is a meta-loader for Vulkan. It allows you to dynamically load entrypoints required to use Vulkan without linking to vulkan-1.dll or statically linking Vulkan loader. Additionally, volk simplifies the use of Vulkan extensions by automatically loading all associated entrypoints. Finally, volk enables loading Vulkan entrypoints directly from the driver which can increase performance by skipping loader dispatch overhead. + diff --git a/vulkan-volk.spec b/vulkan-volk.spec new file mode 100644 index 0000000..ab1501a --- /dev/null +++ b/vulkan-volk.spec @@ -0,0 +1,48 @@ +Name: vulkan-volk +Version: 1.3.295 +Release: 1mamba +Summary: Meta loader for Vulkan API +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/zeux/volk +Source: https://github.com/zeux/volk.git/%{version}/volk-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +volk is a meta-loader for Vulkan. It allows you to dynamically load entrypoints required to use Vulkan without linking to vulkan-1.dll or statically linking Vulkan loader. Additionally, volk simplifies the use of Vulkan extensions by automatically loading all associated entrypoints. Finally, volk enables loading Vulkan entrypoints directly from the driver which can increase performance by skipping loader dispatch overhead. + +%define debug_package %{nil} + +%prep +%setup -q -n volk-%{version} + +%build +%cmake \ + -DVOLK_INSTALL=On + +%cmake_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%cmake_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_includedir}/volk.c +%{_includedir}/volk.h +%dir %{_libdir}/cmake/volk +%{_libdir}/cmake/volk/volk*.cmake +%{_libdir}/libvolk.a +%doc README.md + +%changelog +* Fri Jan 03 2025 Silvan Calarco 1.3.295-1mamba +- package created using the webbuild interface