vulkan-volk v1.3.268.0

This commit is contained in:
José Expósito 2024-01-31 15:07:24 +01:00
parent 2588290aa8
commit 6858216448
3 changed files with 53 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/Vulkan-Volk-sdk-*.tar.gz

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (Vulkan-Volk-sdk-1.3.268.0.tar.gz) = 0337eaf7a584793114a301e9459f9f34bf95cfe302a2f1b8ad15adc6edb9912367c86a21794a2eb24899d6a99611826671d87ff5a655c4e25cfc9152dead8e0e

51
vulkan-volk.spec Normal file
View File

@ -0,0 +1,51 @@
%global debug_package %{nil}
Name: vulkan-volk
Version: 1.3.268.0
Release: %autorelease
Summary: Meta loader for Vulkan API
License: MIT
URL: https://github.com/zeux/volk
Source0: %url/archive/vulkan-sdk-%{version}.tar.gz#/Vulkan-Volk-sdk-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: cmake3
BuildRequires: vulkan-headers
Conflicts: volk
%description
%{summary}
%package devel
Summary: Development files for %{name}
Provides: %{name}-static = %{version}-%{release}
Requires: vulkan-headers
%description devel
%{summary}
%prep
%autosetup -n volk-vulkan-sdk-%{version} -p1
%build
%cmake3 -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
-DVOLK_INSTALL:BOOL=ON
%cmake_build
%install
%cmake_install
%files devel
%license LICENSE.md
%doc README.md
%dir %{_libdir}/cmake/volk
%{_includedir}/volk.h
%{_includedir}/volk.c
%{_libdir}/cmake/volk/*.cmake
%{_libdir}/libvolk.a
%changelog
%autochangelog