vulkan-volk v1.3.268.0
This commit is contained in:
parent
2588290aa8
commit
6858216448
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/Vulkan-Volk-sdk-*.tar.gz
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (Vulkan-Volk-sdk-1.3.268.0.tar.gz) = 0337eaf7a584793114a301e9459f9f34bf95cfe302a2f1b8ad15adc6edb9912367c86a21794a2eb24899d6a99611826671d87ff5a655c4e25cfc9152dead8e0e
|
51
vulkan-volk.spec
Normal file
51
vulkan-volk.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user