1 | Name: vulkan-validation-layers |
---|
2 | Summary: Vulkan validation layers |
---|
3 | Version: 1.2.135.0 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | Vendor: Project Vine |
---|
6 | Distribution: Vine Linux |
---|
7 | |
---|
8 | License: ASL 2.0 |
---|
9 | URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers |
---|
10 | Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz |
---|
11 | Patch0: fix_shared.patch |
---|
12 | |
---|
13 | BuildRequires: gcc |
---|
14 | BuildRequires: gcc-c++ |
---|
15 | BuildRequires: cmake |
---|
16 | BuildRequires: glslang-devel |
---|
17 | BuildRequires: ninja |
---|
18 | BuildRequires: python3-devel |
---|
19 | BuildRequires: spirv-tools-devel |
---|
20 | BuildRequires: vulkan-loader-devel |
---|
21 | #BuildRequires: pkgconfig(wayland-client) |
---|
22 | #BuildRequires: pkgconfig(wayland-cursor) |
---|
23 | #BuildRequires: pkgconfig(wayland-server) |
---|
24 | #BuildRequires: pkgconfig(wayland-egl) |
---|
25 | BuildRequires: pkgconfig(x11) |
---|
26 | BuildRequires: pkgconfig(xrandr) |
---|
27 | BuildRequires: pkgconfig(xcb) |
---|
28 | |
---|
29 | %description |
---|
30 | Vulkan validation layers |
---|
31 | |
---|
32 | %package devel |
---|
33 | Summary: Development files for %{name} |
---|
34 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
35 | Requires: vulkan-headers |
---|
36 | |
---|
37 | %description devel |
---|
38 | The %{name}-devel package contains libraries and header files for |
---|
39 | developing applications that use %{name}. |
---|
40 | |
---|
41 | |
---|
42 | %debug_package |
---|
43 | |
---|
44 | |
---|
45 | %prep |
---|
46 | %autosetup -p1 -n Vulkan-ValidationLayers-sdk-%{version} |
---|
47 | |
---|
48 | # https://github.com/KhronosGroup/Vulkan-ValidationLayers/commit/bb145f36fc6468faeb4862b9c83ce807f33afcc5 |
---|
49 | sed -i -e "s/kInst2MaxOutCnt/kInstMaxOutCnt/" layers/gpu_validation.cpp |
---|
50 | |
---|
51 | |
---|
52 | %build |
---|
53 | # Decrease debuginfo verbosity to reduce memory consumption even more |
---|
54 | %global optflags %(echo %{optflags} | sed 's/-g /-g1 /') |
---|
55 | |
---|
56 | %cmake -GNinja \ |
---|
57 | -DCMAKE_BUILD_TYPE=Release \ |
---|
58 | -DGLSLANG_INSTALL_DIR=%{_prefix} \ |
---|
59 | -DBUILD_LAYER_SUPPORT_FILES:BOOL=ON \ |
---|
60 | -DBUILD_WSI_WAYLAND_SUPPORT=off \ |
---|
61 | -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/vulkan/ . |
---|
62 | %ninja_build |
---|
63 | |
---|
64 | |
---|
65 | %install |
---|
66 | %ninja_install |
---|
67 | |
---|
68 | |
---|
69 | %post -p /sbin/ldconfig |
---|
70 | %postun -p /sbin/ldconfig |
---|
71 | |
---|
72 | |
---|
73 | %files |
---|
74 | %license LICENSE.txt |
---|
75 | %doc README.md CONTRIBUTING.md |
---|
76 | %{_datadir}/vulkan/explicit_layer.d/*.json |
---|
77 | %{_libdir}/libVkLayer_*.so |
---|
78 | |
---|
79 | %files devel |
---|
80 | %{_includedir}/vulkan/ |
---|
81 | |
---|
82 | %changelog |
---|
83 | * Thu Jul 30 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.135.0-2 |
---|
84 | - initial build for Vine Linux. |
---|
85 | |
---|
86 | * Wed Apr 22 2020 Dave Airlie <airlied@redhat.com> - 1.2.135.0-1 |
---|
87 | - Update validation layers to 1.2.135.0 |
---|
88 | |
---|
89 | * Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.2.131.1-1 |
---|
90 | - Update validation layers to 1.2.131.1 |
---|
91 | |
---|
92 | * Wed Nov 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-1 |
---|
93 | - Update validation layers to 1.1.126.0 |
---|
94 | |
---|
95 | * Wed Jul 31 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-1 |
---|
96 | - Update validation layers to 1.1.114.0 |
---|
97 | |
---|
98 | * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.108.0-2 |
---|
99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
100 | |
---|
101 | * Tue Jun 25 2019 Dave Airlie <airlied@redhat.com> - 1.1.108.0-1 |
---|
102 | - Update valdiation layers to 1.1.108.0 |
---|
103 | |
---|
104 | * Wed Mar 06 2019 Dave Airlie <airlied@redhat.com> - 1.1.101.0-1 |
---|
105 | - Update valdiation layers to 1.1.101.0 |
---|
106 | |
---|
107 | * Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.97.0-1 |
---|
108 | - Update validation layers to 1.1.97.0 |
---|
109 | |
---|
110 | * Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.92.0-1 |
---|
111 | - Update validation layers to 1.1.92.0 |
---|
112 | |
---|
113 | * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.82.0-2 |
---|
114 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
115 | |
---|
116 | * Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.82.0-1 |
---|
117 | - Update to 1.1.82.0 |
---|
118 | |
---|
119 | * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.77.0-4 |
---|
120 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
121 | |
---|
122 | * Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3 |
---|
123 | - Workaround i686 build issue |
---|
124 | |
---|
125 | * Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2 |
---|
126 | - Exclude i686 due to 'virtual memory exhausted' FTBFS |
---|
127 | |
---|
128 | * Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1 |
---|
129 | - Initial package |
---|