source: projects/specs/trunk/v/vulkan-validation-layers/vulkan-validation-layers-vl.spec @ 12440

Revision 12440, 3.9 KB checked in by tomop, 4 years ago (diff)

updated 10 packages

glslang-8.13.3743-1

libva-intel-driver-2.4.1-1

libva-2.8.0-1

mesa-20.1.4-1

spirv-headers-1.5.3-1

spirv-tools-2020.3-1

vulkan-headers-1.2.135.0-2

vulkan-loader-1.2.135.0-2

vulkan-tools-1.2.135.0-2

vulkan-validation-layers-1.2.135.0-2

Line 
1Name:           vulkan-validation-layers
2Summary:        Vulkan validation layers
3Version:        1.2.135.0
4Release:        2%{?_dist_release}
5Vendor:         Project Vine
6Distribution:   Vine Linux
7
8License:        ASL 2.0
9URL:            https://github.com/KhronosGroup/Vulkan-ValidationLayers
10Source0:        %url/archive/sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz
11Patch0:         fix_shared.patch
12
13BuildRequires:  gcc
14BuildRequires:  gcc-c++
15BuildRequires:  cmake
16BuildRequires:  glslang-devel
17BuildRequires:  ninja
18BuildRequires:  python3-devel
19BuildRequires:  spirv-tools-devel
20BuildRequires:  vulkan-loader-devel
21#BuildRequires:  pkgconfig(wayland-client)
22#BuildRequires:  pkgconfig(wayland-cursor)
23#BuildRequires:  pkgconfig(wayland-server)
24#BuildRequires:  pkgconfig(wayland-egl)
25BuildRequires:  pkgconfig(x11)
26BuildRequires:  pkgconfig(xrandr)
27BuildRequires:  pkgconfig(xcb)
28
29%description
30Vulkan validation layers
31
32%package        devel
33Summary:        Development files for %{name}
34Requires:       %{name}%{?_isa} = %{version}-%{release}
35Requires:       vulkan-headers
36
37%description    devel
38The %{name}-devel package contains libraries and header files for
39developing 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
49sed -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
Note: See TracBrowser for help on using the repository browser.