Initial import
This commit is contained in:
parent
41d5f23cd6
commit
98810245d8
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/Vulkan-Tools-sdk-1.1.77.0.tar.gz
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (Vulkan-Tools-sdk-1.1.77.0.tar.gz) = 42cea9d25a09c379c2a7aeefa471f8b915fadb9d9f89038b10224a2e9411543a565826be3b6ca436392ed4c5ecf21503e86faff3c60a56438d1d52b2411cec42
|
51
vulkan-tools.spec
Normal file
51
vulkan-tools.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
Name: vulkan-tools
|
||||||
|
Version: 1.1.77.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Vulkan tools
|
||||||
|
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: https://github.com/KhronosGroup/Vulkan-Tools
|
||||||
|
Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-Tools-sdk-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: cmake3
|
||||||
|
BuildRequires: glslang-devel
|
||||||
|
BuildRequires: ninja-build
|
||||||
|
BuildRequires: python%{python3_pkgversion}
|
||||||
|
BuildRequires: vulkan-loader-devel
|
||||||
|
BuildRequires: pkgconfig(wayland-client)
|
||||||
|
BuildRequires: pkgconfig(wayland-cursor)
|
||||||
|
BuildRequires: pkgconfig(wayland-server)
|
||||||
|
BuildRequires: pkgconfig(wayland-egl)
|
||||||
|
BuildRequires: pkgconfig(x11)
|
||||||
|
BuildRequires: pkgconfig(xrandr)
|
||||||
|
BuildRequires: pkgconfig(xcb)
|
||||||
|
|
||||||
|
Provides: vulkan-demos%{?_isa} = %{version}-%{release}
|
||||||
|
Obsoletes: vulkan-demos < %{version}-%{release}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Vulkan tools
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n Vulkan-Tools-sdk-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release -DGLSLANG_INSTALL_DIR=%{_bindir} .
|
||||||
|
%ninja_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%ninja_install
|
||||||
|
mv %{buildroot}%{_bindir}/cube %{buildroot}%{_bindir}/vulkan-cube
|
||||||
|
mv %{buildroot}%{_bindir}/cubepp %{buildroot}%{_bindir}/vulkan-cubepp
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.txt COPYRIGHT.txt
|
||||||
|
%doc README.md CONTRIBUTING.md
|
||||||
|
%{_bindir}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
|
||||||
|
- Initial package
|
Loading…
Reference in New Issue
Block a user