]> git.pld-linux.org Git - packages/Mesa.git/blob - Mesa.spec
7a3e9d7d448ba6248dc15cd6de71342ad32d1dab
[packages/Mesa.git] / Mesa.spec
1 # TODO: libtizonia >= 0.10.0 as an alternative for bellagio?
2 #
3 # Conditional build:
4 %bcond_without  gallium         # gallium drivers
5 %bcond_with     gallium_i915    # gallium i915 driver instead of dri i915 driver
6 %bcond_without  gallium_nouveau # gallium nouveau driver
7 %bcond_without  gallium_radeon  # gallium radeon drivers
8 %bcond_without  gallium_zink    # gallium zink driver (based on vulkan)
9 %bcond_without  egl             # EGL libraries
10 %bcond_without  gbm             # Graphics Buffer Manager
11 %bcond_without  nine            # Nine Direct3D 9+ state tracker (for Wine)
12 %bcond_without  opencl          # OpenCL support
13 %bcond_without  opencl_spirv    # OpenCL SPIRV support
14 %bcond_without  ocl_icd         # OpenCL as ICD (installable client driver)
15 %bcond_with     glvnd           # OpenGL vendor neutral dispatcher support
16 %bcond_without  omx             # OpenMAX (Bellagio OMXIL) support
17 %bcond_without  va              # VA library
18 %bcond_without  wayland         # Wayland EGL
19 %bcond_without  xa              # XA state tracker (for vmwgfx xorg driver)
20 %bcond_without  radv            # disable build of the radeon Vulkan driver
21 %bcond_with     swr             # OpenSWR software rasterizer (x86 SIMD only; due to broken design
22                                 # propagates AVX code over Gallium DRI megadriver, swrast pipe driver and libOSMesa)
23 %bcond_with     hud_extra       # HUD block/NIC I/O HUD stats support
24 %bcond_with     lm_sensors      # HUD lm_sensors support
25 %bcond_with     tests           # tests
26 #
27 # glapi version (glapi tables in dri drivers and libglx must be in sync);
28 # set to current Mesa version on ABI break, when xserver tables get regenerated
29 # (until they start to be somehow versioned themselves)
30 %define         glapi_ver               7.1.0
31 # other packages
32 %define         libdrm_ver              2.4.105
33 %define         dri2proto_ver           2.8
34 %define         glproto_ver             1.4.14
35 %define         zlib_ver                1.2.8
36 %define         wayland_ver             1.18
37 %define         libglvnd_ver            1.3.2
38 %define         llvm_ver                8.0.0
39 %define         gcc_ver                 6:4.8.0
40
41 %if %{without gallium}
42 %undefine       with_gallium_i915
43 %undefine       with_gallium_nouveau
44 %undefine       with_gallium_radeon
45 %undefine       with_nine
46 %undefine       with_omx
47 %undefine       with_opencl
48 %undefine       with_swr
49 %undefine       with_xa
50 %endif
51
52 %if %{without egl}
53 %undefine       with_gbm
54 %undefine       with_wayland
55 %endif
56
57 %if %{without opencl}
58 %undefine       with_ocl_icd
59 %endif
60
61 %ifnarch %{ix86} %{x8664} x32
62 %undefine       with_swr
63 %endif
64
65 %if %{with gallium_radeon} || %{with gallium_nouveau}
66 %define         with_vdpau      1
67 %define         with_xvmc       1
68 %endif
69
70 Summary:        Free OpenGL implementation
71 Summary(pl.UTF-8):      Wolnodostępna implementacja standardu OpenGL
72 Name:           Mesa
73 Version:        21.1.0
74 Release:        1
75 License:        MIT (core) and others - see license.html file
76 Group:          X11/Libraries
77 #Source0:       ftp://ftp.freedesktop.org/pub/mesa/mesa-%{version}.tar.xz
78 ## Source0-md5: 7c61a801311fb8d2f7b3cceb7b5cf308
79 Source0:        https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-%{version}/mesa-mesa-%{version}.tar.bz2
80 # Source0-md5:  7482dd659c3708bdda247c96449d9d79
81 Patch0:         nouveau_no_rtti.patch
82 Patch1:         zink_x32.patch
83 URL:            http://www.mesa3d.org/
84 %{?with_opencl_spirv:BuildRequires:     SPIRV-LLVM-Translator-devel >= 8.0.1.3}
85 %{?with_gallium_zink:BuildRequires:     Vulkan-Loader-devel}
86 BuildRequires:  bison > 2.3
87 %{?with_opencl:BuildRequires:   clang-devel >= %{llvm_ver}}
88 BuildRequires:  elfutils-devel
89 BuildRequires:  expat-devel >= 1.95
90 BuildRequires:  flex
91 BuildRequires:  gcc >= %{gcc_ver}
92 BuildRequires:  libdrm-devel >= %{libdrm_ver}
93 %{?with_glvnd:BuildRequires:    libglvnd-devel >= %{libglvnd_ver}}
94 BuildRequires:  libselinux-devel
95 BuildRequires:  libstdc++-devel >= %{gcc_ver}
96 BuildRequires:  libunwind-devel
97 %{?with_va:BuildRequires:       libva-devel}
98 %{?with_va:BuildRequires:       pkgconfig(libva) >= 0.39.0}
99 %{?with_vdpau:BuildRequires:    libvdpau-devel >= 1.1}
100 BuildRequires:  libxcb-devel >= 1.13
101 %{?with_gallium:BuildRequires:  llvm-devel >= %{llvm_ver}}
102 %{?with_radv:BuildRequires:     llvm-devel >= %{llvm_ver}}
103 %{?with_opencl:BuildRequires:   llvm-libclc}
104 %{?with_omx:BuildRequires:      libomxil-bellagio-devel}
105 BuildRequires:  meson >= 0.52
106 BuildRequires:  ninja >= 1.5
107 BuildRequires:  pkgconfig
108 BuildRequires:  pkgconfig(talloc) >= 2.0.1
109 BuildRequires:  pkgconfig(xcb-dri2) >= 1.8
110 BuildRequires:  pkgconfig(xcb-dri3) >= 1.13
111 BuildRequires:  pkgconfig(xcb-glx) >= 1.8.1
112 BuildRequires:  pkgconfig(xcb-present) >= 1.13
113 BuildRequires:  pkgconfig(xcb-randr) >= 1.12
114 BuildRequires:  python3 >= 1:3.2
115 BuildRequires:  python3-Mako >= 0.8.0
116 BuildRequires:  rpmbuild(macros) >= 1.736
117 BuildRequires:  sed >= 4.0
118 %{?with_opencl_spirv:BuildRequires:     spirv-tools-devel >= 2018.0}
119 # wayland-{client,server}
120 %{?with_wayland:BuildRequires:  wayland-devel >= %{wayland_ver}}
121 %{?with_wayland:BuildRequires:  wayland-protocols >= 1.8}
122 %{?with_wayland:BuildRequires:  wayland-egl-devel >= %{wayland_ver}}
123 BuildRequires:  xorg-lib-libX11-devel
124 BuildRequires:  xorg-lib-libXext-devel >= 1.0.5
125 BuildRequires:  xorg-lib-libXfixes-devel >= 2.0
126 BuildRequires:  xorg-lib-libXrandr-devel >= 1.3
127 BuildRequires:  xorg-lib-libXv-devel
128 %{?with_xvmc:BuildRequires:     xorg-lib-libXvMC-devel >= 1.0.6}
129 BuildRequires:  xorg-lib-libXxf86vm-devel
130 BuildRequires:  xorg-lib-libxshmfence-devel >= 1.1
131 BuildRequires:  xorg-proto-dri2proto-devel >= %{dri2proto_ver}
132 BuildRequires:  xorg-proto-glproto-devel >= %{glproto_ver}
133 %if %{with gallium}
134 %{?with_lm_sensors:BuildRequires:       lm_sensors-devel}
135 %endif
136 BuildRequires:  zlib-devel >= %{zlib_ver}
137 BuildRequires:  zstd-devel
138 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
139
140 # libGLESv1_CM, libGLESv2, libGL, libOSMesa:
141 #  _glapi_tls_Dispatch is defined in libglapi, but it's some kind of symbol ldd -r doesn't notice(?)
142 %define         skip_post_check_so      libGLESv1_CM.so.1.* libGLESv2.so.2.* libGL.so.1.* libOSMesa.so.* libGLX_mesa.so.0.*
143
144 %description
145 Mesa is a 3-D graphics library with an API which is very similar to
146 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
147 syntax or state machine, it is being used with authorization from
148 Silicon Graphics, Inc. However, the author does not possess an OpenGL
149 license from SGI, and makes no claim that Mesa is in any way a
150 compatible replacement for OpenGL or associated with SGI.
151
152 %description -l pl.UTF-8
153 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
154 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
155 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
156 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
157 OpenGL ani powiązana z SGI.
158
159 %package libEGL
160 Summary:        Mesa implementation of EGL Native Platform Graphics Interface library
161 Summary(pl.UTF-8):      Implementacja Mesa biblioteki interfejsu EGL
162 License:        MIT
163 Group:          Libraries
164 Requires:       %{name}-libglapi = %{version}-%{release}
165 # glx driver in libEGL dlopens libGL.so
166 Requires:       OpenGL >= 1.2
167 Requires:       libdrm >= %{libdrm_ver}
168 Requires:       libxcb >= 1.13
169 %{?with_wayland:Requires:       wayland >= %{wayland_ver}}
170 %if %{with gbm}
171 Requires:       %{name}-libgbm = %{version}-%{release}
172 %endif
173 %if %{with glvnd}
174 Requires:       libglvnd-libEGL >= %{libglvnd_ver}
175 %endif
176 Provides:       EGL = 1.5
177
178 %description libEGL
179 This package contains shared libEGL - Mesa implementation of EGL
180 Native Platform Graphics Interface as specified by Khronos Group:
181 <http://www.khronos.org/egl/>.
182
183 %description libEGL -l pl.UTF-8
184 Ten pakiet zawiera bibliotekę współdzieloną libEGL - implementację
185 Mesa standardu EGL Native Platform Graphics Interface (interfejsu
186 graficznego platformy natywnej) wg specyfikacji Khronos Group:
187 <http://www.khronos.org/egl/>.
188
189 %package libEGL-devel
190 Summary:        Header files for Mesa implementation of EGL library
191 Summary(pl.UTF-8):      Pliki nagłówkowe implementacji Mesa biblioteki EGL
192 License:        MIT
193 Group:          Development/Libraries
194 Requires:       %{name}-libEGL = %{version}-%{release}
195 Requires:       xorg-lib-libX11-devel
196 %if %{with glvnd}
197 Requires:       libglvnd-libEGL-devel >= %{libglvnd_ver}
198 %else
199 Requires:       %{name}-khrplatform-devel = %{version}-%{release}
200 Requires:       libdrm-devel >= %{libdrm_ver}
201 Requires:       libxcb-devel >= 1.13
202 Requires:       pkgconfig(xcb-dri2) >= 1.8
203 Requires:       pkgconfig(xcb-glx) >= 1.8.1
204 Requires:       xorg-lib-libXext-devel >= 1.0.5
205 Requires:       xorg-lib-libXfixes-devel >= 2.0
206 Requires:       xorg-lib-libXxf86vm-devel
207 %endif
208 %if %{without glvnd}
209 Provides:       EGL-devel = 1.5
210 %endif
211
212 %description libEGL-devel
213 Header files for Mesa implementation of EGL library.
214
215 %description libEGL-devel -l pl.UTF-8
216 Pliki nagłówkowe implementacji Mesa biblioteki EGL.
217
218 %package libEGL-static
219 Summary:        Static Mesa EGL library
220 Summary(pl.UTF-8):      Statyczna biblioteka Mesa EGL
221 License:        MIT
222 Group:          Development/Libraries
223 Requires:       %{name}-libEGL-devel = %{version}-%{release}
224 Provides:       EGL-static = 1.5
225
226 %description libEGL-static
227 Static Mesa EGL library.
228
229 %description libEGL-static -l pl.UTF-8
230 Statyczna biblioteka Mesa EGL.
231
232 %package libGL
233 Summary:        Free Mesa3D implementation of libGL OpenGL library
234 Summary(pl.UTF-8):      Wolnodostępna implementacja Mesa3D biblioteki libGL ze standardu OpenGL
235 License:        MIT
236 Group:          X11/Libraries
237 Requires:       %{name}-libglapi = %{version}-%{release}
238 Requires:       libdrm >= %{libdrm_ver}
239 Requires:       libxcb >= 1.13
240 %if %{with glvnd}
241 Requires:       libglvnd-libGL >= %{libglvnd_ver}
242 %endif
243 Provides:       OpenGL = 4.6
244 Provides:       OpenGL-GLX = 1.4
245 Obsoletes:      Mesa
246 Obsoletes:      Mesa-dri
247 Obsoletes:      Mesa-dri-core < 10.0.0
248 Obsoletes:      X11-OpenGL-libGL < 1:7.0.0
249 Obsoletes:      XFree86-OpenGL-libGL < 1:7.0.0
250
251 %description libGL
252 Mesa is a 3-D graphics library with an API which is very similar to
253 that of OpenGL(R). To the extent that Mesa utilizes the OpenGL command
254 syntax or state machine, it is being used with authorization from
255 Silicon Graphics, Inc. However, the author does not possess an OpenGL
256 license from SGI, and makes no claim that Mesa is in any way a
257 compatible replacement for OpenGL or associated with SGI.
258
259 This package contains libGL which implements OpenGL 4.6 and GLX 1.4
260 specifications. It uses DRI for rendering.
261
262 %description libGL -l pl.UTF-8
263 Mesa jest biblioteką grafiki 3D z API bardzo podobnym do OpenGL(R). Do
264 tego stopnia, że Mesa używa składni i automatu OpenGL jest używana z
265 autoryzacją Silicon Graphics, Inc. Jednak autor nie posiada licencji
266 OpenGL od SGI i nie twierdzi, że Mesa jest kompatybilnym zamiennikiem
267 OpenGL ani powiązana z SGI.
268
269 Ten pakiet zawiera libGL implementującą specyfikacje OpenGL 4.6 oraz
270 GLX 1.4. Używa DRI do renderowania.
271
272 %package libGL-devel
273 Summary:        Header files for Mesa3D libGL library
274 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libGL z projektu Mesa3D
275 License:        MIT
276 Group:          X11/Development/Libraries
277 Requires:       libdrm-devel >= %{libdrm_ver}
278 %if %{with glvnd}
279 Requires:       libglvnd-libGL-devel >= %{libglvnd_ver}
280 %else
281 Requires:       %{name}-libGL = %{version}-%{release}
282 Requires:       libxcb-devel >= 1.13
283 Requires:       pkgconfig(xcb-dri2) >= 1.8
284 Requires:       pkgconfig(xcb-glx) >= 1.8.1
285 Requires:       xorg-lib-libX11-devel
286 Requires:       xorg-lib-libXext-devel >= 1.0.5
287 Requires:       xorg-lib-libXfixes-devel >= 2.0
288 Requires:       xorg-lib-libXxf86vm-devel
289 Suggests:       OpenGL-doc-man
290 %if %{without glvnd}
291 Provides:       OpenGL-GLX-devel = 1.4
292 Provides:       OpenGL-devel = 4.6
293 %endif
294 Obsoletes:      Mesa-devel
295 Obsoletes:      X11-OpenGL-devel < 1:7.0.0
296 Obsoletes:      X11-OpenGL-devel-base < 1:7.0.0
297 Obsoletes:      XFree86-OpenGL-devel < 1:7.0.0
298 Obsoletes:      XFree86-OpenGL-devel-base < 1:7.0.0
299
300 %description libGL-devel
301 Header files for Mesa3D libGL library.
302
303 %description libGL-devel -l pl.UTF-8
304 Pliki nagłówkowe biblioteki libGL z projektu Mesa3D.
305
306 %package libGL-static
307 Summary:        Static Mesa3D libGL library
308 Summary(pl.UTF-8):      Statyczna biblioteka libGL z projektu Mesa3D
309 License:        MIT
310 Group:          X11/Development/Libraries
311 Requires:       %{name}-libGL-devel = %{version}-%{release}
312 Provides:       OpenGL-static = 4.6
313 Obsoletes:      Mesa-static
314 Obsoletes:      X11-OpenGL-static < 1:7.0.0
315 Obsoletes:      XFree86-OpenGL-static < 1:7.0.0
316
317 %description libGL-static
318 Static Mesa3D libGL library. It uses software renderer.
319
320 %description libGL-static -l pl.UTF-8
321 Statyczna biblioteka libGL z projektu Mesa3D. Używa programowego
322 renderingu.
323
324 %package libGLES
325 Summary:        Mesa implementation of GLES (OpenGL ES) libraries
326 Summary(pl.UTF-8):      Implementacja Mesa bibliotek GLES (OpenGL ES)
327 Group:          Libraries
328 Requires:       %{name}-libglapi = %{version}-%{release}
329 %if %{with glvnd}
330 Requires:       libglvnd-libGLES >= %{libglvnd_ver}
331 %endif
332 Provides:       OpenGLES
333 Provides:       OpenGLESv1 = 1.1
334 Provides:       OpenGLESv2 = 2.0
335 Provides:       OpenGLESv3 = 3.2
336
337 %description libGLES
338 This package contains shared libraries of Mesa implementation of GLES
339 (OpenGL ES) - cross-platform API for full-function 2D and 3D graphics
340 on embedded systems. OpenGL ES specification can be found on Khronos
341 Group site: <http://www.khronos.org/opengles/>. Mesa implements OpenGL
342 ES 1.1 and 2.0/3.2.
343
344 %description libGLES -l pl.UTF-8
345 Ten pakiet zawiera biblioteki współdzielone implementacji Mesa
346 standardu GLES (OpenGL ES) - wieloplatformowego API do w pełni
347 funkcjonalnej grafiki 2D i 3D na systemach wbudowanych. Specyfikację
348 OpenGL ES można znaleźć na stronie Khronos Group:
349 <http://www.khronos.org/opengles/>. Mesa zawiera implementacją OpenGL
350 ES 1.1 i 2.0/3.2.
351
352 %package libGLES-devel
353 Summary:        Header files for Mesa GLES libraries
354 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek Mesa GLES
355 Group:          Development/Libraries
356 Requires:       %{name}-libGLES = %{version}-%{release}
357 %if %{with glvnd}
358 Requires:       libglvnd-libGLES-devel >= %{libglvnd_ver}
359 %else
360 Requires:       %{name}-khrplatform-devel = %{version}-%{release}
361 # <EGL/egl.h> for <GLES/egl.h>
362 Requires:       %{name}-libEGL-devel = %{version}-%{release}
363 %endif
364 %if %{without glvnd}
365 Provides:       OpenGLES-devel
366 Provides:       OpenGLESv1-devel = 1.1
367 Provides:       OpenGLESv2-devel = 2.0
368 Provides:       OpenGLESv3-devel = 3.2
369 %endif
370
371 %description libGLES-devel
372 Header files for Mesa GLES libraries.
373
374 %description libGLES-devel -l pl.UTF-8
375 Pliki nagłówkowe bibliotek Mesa GLES.
376
377 %package libOSMesa
378 Summary:        OSMesa (off-screen renderer) library
379 Summary(pl.UTF-8):      Biblioteka OSMesa (renderująca bitmapy w pamięci)
380 License:        MIT
381 Group:          Libraries
382 %{?with_swr:Requires:   cpuinfo(avx)}
383 Requires:       zlib >= %{zlib_ver}
384
385 %description libOSMesa
386 OSMesa (off-screen renderer) library.
387
388 %description libOSMesa -l pl.UTF-8
389 Biblioteka OSMesa (renderująca bitmapy w pamięci).
390
391 %package libOSMesa-devel
392 Summary:        Header file for OSMesa (off-screen renderer) library
393 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci)
394 License:        MIT
395 Group:          Development/Libraries
396 Requires:       %{name}-libOSMesa = %{version}-%{release}
397 # for <GL/gl.h> only
398 Requires:       OpenGL-devel
399 Requires:       libselinux-devel
400
401 %description libOSMesa-devel
402 Header file for OSMesa (off-screen renderer) library.
403
404 %description libOSMesa-devel -l pl.UTF-8
405 Plik nagłówkowy biblioteki OSMesa (renderującej bitmapy w pamięci).
406
407 %package libOSMesa-static
408 Summary:        Static OSMesa (off-screen renderer) library
409 Summary(pl.UTF-8):      Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci)
410 License:        MIT
411 Group:          Development/Libraries
412 Requires:       %{name}-libOSMesa-devel = %{version}-%{release}
413 # this static build of OSMesa needs static non-dri Mesa implementation
414 Requires:       %{name}-libGL-static = %{version}-%{release}
415
416 %description libOSMesa-static
417 Static OSMesa (off-screen renderer) library.
418
419 %description libOSMesa-static -l pl.UTF-8
420 Biblioteka statyczna OSMesa (renderująca bitmapy w pamięci).
421
422 %package OpenCL-icd
423 Summary:        Mesa implementation of OpenCL (Compuing Language) API ICD
424 Summary(pl.UTF-8):      Implementacja Mesa API OpenCL (języka obliczeń) ICD
425 License:        MIT
426 Group:          Libraries
427 Requires:       filesystem >= 4.0-29
428 Requires:       libdrm >= %{libdrm_ver}
429 Requires:       llvm-libclc
430 Requires:       zlib >= %{zlib_ver}
431 Provides:       OpenCL = 1.1
432 Provides:       ocl-icd-driver
433
434 %description OpenCL-icd
435 This package contains Mesa implementation of OpenCL - standard for
436 cross-platform, parallel programming of modern processors found in
437 personal computers, servers and handheld/embedded devices. OpenCL
438 specification can be found on Khronos Group site:
439 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
440
441 The implementation is provided as an installable client driver (ICD)
442 for use with the ocl-icd loader.
443
444 %description OpenCL-icd -l pl.UTF-8
445 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
446 wieloplatformowego, równoległego programowania nowoczesnych
447 procesorów, jakie znajdują się w komputerach osobistych, serwerach
448 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
449 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
450 Mesa zawiera implementację OpenCL w wersji 1.1.
451
452 Implementacja dostarczona jest w postaci instalowalnego sterownika
453 klienta (ICD), który może być użyty z loaderem ocl-icd.
454
455 %package libOpenCL
456 Summary:        Mesa implementation of OpenCL (Compuing Language) API
457 Summary(pl.UTF-8):      Implementacja Mesa API OpenCL (języka obliczeń)
458 License:        MIT
459 Group:          Libraries
460 Requires:       libdrm >= %{libdrm_ver}
461 Requires:       llvm-libclc
462 Provides:       OpenCL = 1.1
463
464 %description libOpenCL
465 This package contains Mesa implementation of OpenCL - standard for
466 cross-platform, parallel programming of modern processors found in
467 personal computers, servers and handheld/embedded devices. OpenCL
468 specification can be found on Khronos Group site:
469 <http://www.khronos.org/opencl/>. Mesa implements OpenCL 1.1.
470
471 %description libOpenCL -l pl.UTF-8
472 Ten pakiet zawiera implementację Mesa standardu OpenCL - standardu
473 wieloplatformowego, równoległego programowania nowoczesnych
474 procesorów, jakie znajdują się w komputerach osobistych, serwerach
475 oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
476 znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
477 Mesa zawiera implementację OpenCL w wersji 1.1.
478
479 %package libOpenCL-devel
480 Summary:        Header files for Mesa OpenCL library
481 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Mesa OpenCL
482 License:        MIT
483 Group:          Development/Libraries
484 Requires:       %{name}-libOpenCL = %{version}-%{release}
485 Provides:       OpenCL-devel = 1.2
486
487 %description libOpenCL-devel
488 Header files for Mesa OpenCL library.
489
490 %description libOpenCL-devel -l pl.UTF-8
491 Pliki nagłówkowe biblioteki Mesa OpenCL.
492
493 %package libXvMC-nouveau
494 Summary:        Mesa implementation of XvMC API for NVidia adapters
495 Summary(pl.UTF-8):      Implementacja Mesa API XvMC dla kart NVidia
496 License:        MIT
497 Group:          Libraries
498 Requires:       libdrm >= %{libdrm_ver}
499 Requires:       xorg-lib-libXvMC >= 1.0.6
500 Requires:       zlib >= %{zlib_ver}
501 Conflicts:      Mesa-libXvMC
502
503 %description libXvMC-nouveau
504 Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
505
506 %description libXvMC-nouveau -l pl.UTF-8
507 Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
508
509 %package libXvMC-r600
510 Summary:        Mesa implementation of XvMC API for ATI Radeon R600 series adapters
511 Summary(pl.UTF-8):      Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
512 License:        MIT
513 Group:          Libraries
514 Requires:       libdrm >= %{libdrm_ver}
515 Requires:       xorg-lib-libXvMC >= 1.0.6
516 Requires:       zlib >= %{zlib_ver}
517 Conflicts:      Mesa-libXvMC
518
519 %description libXvMC-r600
520 Mesa implementation of XvMC API for ATI Radeon adapters based on
521 R600/R700 chips.
522
523 %description libXvMC-r600 -l pl.UTF-8
524 Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
525 R600/R700.
526
527 %package -n libva-driver-gallium
528 Summary:        VA driver for Gallium State Tracker
529 Summary(pl.UTF-8):      Sterowniki VA do Gallium
530 Group:          Libraries
531 %if %{with gallium_radeon}
532 Requires:       libva-driver-r600
533 Requires:       libva-driver-radeonsi
534 %endif
535 %if %{with gallium_nouveau}
536 Requires:       libva-driver-nouveau
537 %endif
538
539 %description -n libva-driver-gallium
540 VA drivers for Gallium State Tracker (r600, radeonsi & nouveau).
541
542 %description -n libva-driver-gallium -l pl.UTF-8
543 Sterowniki VA do Gallium (r600, radeonsi & nouveau).
544
545 %package -n libva-driver-r600
546 Summary:        VA driver for ATI Radeon R600 series adapters
547 Summary(pl.UTF-8):      Sterownik VA dla kart ATI Radeon z serii R600
548 Group:          Libraries
549 Requires:       libva >= 1.6.0
550 Requires:       zlib >= %{zlib_ver}
551
552 %description -n libva-driver-r600
553 VA driver for ATI Radeon R600 series adapters.
554
555 %description -n libva-driver-r600 -l pl.UTF-8
556 Sterownik VA dla kart ATI Radeon z serii R600.
557
558 %package -n libva-driver-radeonsi
559 Summary:        VA driver for ATI Radeon SI adapters
560 Summary(pl.UTF-8):      Sterownik VA dla kart ATI Radeon SI
561 Group:          Libraries
562 Requires:       libva >= 1.6.0
563 Requires:       zlib >= %{zlib_ver}
564
565 %description -n libva-driver-radeonsi
566 VA driver for ATI Radeon adapters based on Southern Islands chips.
567
568 %description -n libva-driver-radeonsi -l pl.UTF-8
569 Sterownik VA dla kart ATI Radeon opartych na układach Southern
570 Islands.
571
572 %package -n libva-driver-nouveau
573 Summary:        VA driver for NVidia adapters
574 Summary(pl.UTF-8):      Sterownik VA dla kart NVidia
575 Group:          Libraries
576 Requires:       libva >= 1.6.0
577 Requires:       zlib >= %{zlib_ver}
578
579 %description -n libva-driver-nouveau
580 VA driver for NVidia adapters.
581
582 %description -n libva-driver-nouveau -l pl.UTF-8
583 Sterownik VA dla kart NVidia.
584
585 %package libgbm
586 Summary:        Mesa Graphics Buffer Manager library
587 Summary(pl.UTF-8):      Biblioteka Mesa Graphics Buffer Manager
588 Group:          Libraries
589 Requires:       %{name}-libglapi = %{version}-%{release}
590 Conflicts:      Mesa-libEGL < 8.0.1-2
591
592 %description libgbm
593 Mesa Graphics Buffer Manager library.
594
595 %description libgbm -l pl.UTF-8
596 Biblioteka Mesa Graphics Buffer Manager (zarządcy bufora graficznego).
597
598 %package libgbm-devel
599 Summary:        Header file for Mesa Graphics Buffer Manager library
600 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager
601 Group:          Development/Libraries
602 Requires:       %{name}-libgbm = %{version}-%{release}
603
604 %description libgbm-devel
605 Header file for Mesa Graphics Buffer Manager library.
606
607 %description libgbm-devel -l pl.UTF-8
608 Plik nagłówkowy biblioteki Mesa Graphics Buffer Manager (zarządcy
609 bufora graficznego).
610
611 %package libglapi
612 Summary:        Mesa GL API shared library
613 Summary(pl.UTF-8):      Biblioteka współdzielona Mesa GL API
614 Group:          Libraries
615 Conflicts:      Mesa-libEGL < 8.0.1-2
616
617 %description libglapi
618 Mesa GL API shared library, common for various APIs (EGL, GL, GLES).
619
620 %description libglapi -l pl.UTF-8
621 Biblioteka współdzielona Mesa GL API, wspólna dla różnych API (EGL,
622 GL, GLES).
623
624 %package libxatracker
625 Summary:        Xorg Gallium3D accelleration library
626 Summary(pl.UTF-8):      Biblioteka akceleracji Gallium3D dla Xorg
627 Group:          X11/Libraries
628 Requires:       libdrm >= %{libdrm_ver}
629 Requires:       zlib >= %{zlib_ver}
630
631 %description libxatracker
632 Xorg Gallium3D accelleration library (used by new vmwgfx driver).
633
634 %description libxatracker -l pl.UTF-8
635 Biblioteka akceleracji Gallium3D dla Xorg (używana przez nowy
636 sterownik vmwgfx).
637
638 %package libxatracker-devel
639 Summary:        Header files for Xorg Gallium3D accelleration library
640 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg
641 Group:          X11/Development/Libraries
642 Requires:       %{name}-libxatracker = %{version}-%{release}
643 Requires:       libdrm-devel >= %{libdrm_ver}
644
645 %description libxatracker-devel
646 Header files for Xorg Gallium3D accelleration library.
647
648 %description libxatracker-devel -l pl.UTF-8
649 Pliki nagłówkowe biblioteki akceleracji Gallium3D dla Xorg.
650
651 %package khrplatform-devel
652 Summary:        Khronos platform header file
653 Summary(pl.UTF-8):      Plik nagłówkowy platformy Khronos
654 Group:          Development/Libraries
655 Conflicts:      Mesa-libEGL-devel < 8.0.1-2
656
657 %description khrplatform-devel
658 Khronos platform header file.
659
660 %description khrplatform-devel -l pl.UTF-8
661 Plik nagłówkowy platformy Khronos.
662
663 %package dri-driver-ati-radeon-R100
664 Summary:        X.org DRI driver for ATI R100 card family
665 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart ATI R100
666 License:        MIT
667 Group:          X11/Libraries
668 Requires:       xorg-driver-video-ati
669 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
670 Requires:       xorg-xserver-server >= %{xserver_ver}
671 Requires:       zlib >= %{zlib_ver}
672 Obsoletes:      X11-driver-radeon-dri < 1:7.0.0
673
674 %description dri-driver-ati-radeon-R100
675 X.org DRI driver for ATI R100 card family (Radeon 7000-7500). It
676 supports R100, RV100, RS100, RV200, RS200, RS250.
677
678 %description dri-driver-ati-radeon-R100 -l pl.UTF-8
679 Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
680 Obsługuje układy R100, RV100, RS100, RV200, RS200, RS250.
681
682 %package dri-driver-ati-radeon-R200
683 Summary:        X.org DRI driver for ATI R200 card family
684 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart ATI R200
685 License:        MIT
686 Group:          X11/Libraries
687 Requires:       xorg-driver-video-ati
688 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
689 Requires:       xorg-xserver-server >= %{xserver_ver}
690 Requires:       zlib >= %{zlib_ver}
691 Obsoletes:      X11-driver-radeon-dri < 1:7.0.0
692
693 %description dri-driver-ati-radeon-R200
694 X.org DRI driver for ATI R200 card family (Radeon 8500-92xx). It
695 supports R200, RV250, RV280, RS300, RS350 chips.
696
697 %description dri-driver-ati-radeon-R200 -l pl.UTF-8
698 Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
699 Obsługuje układy R200, RV250, RV280, RS300, RS350.
700
701 %package dri-driver-ati-radeon-R300
702 Summary:        X.org DRI driver for ATI R300 card family
703 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart ATI R300
704 License:        MIT
705 Group:          X11/Libraries
706 %{?with_swr:Requires:   cpuinfo(avx)}
707 Requires:       xorg-driver-video-ati
708 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
709 Requires:       xorg-xserver-server >= %{xserver_ver}
710 Requires:       zlib >= %{zlib_ver}
711 Obsoletes:      X11-driver-radeon-dri < 1:7.0.0
712
713 %description dri-driver-ati-radeon-R300
714 X.org Gallium DRI driver for ATI R300/R400/RS690/R500 card family
715 (Radeon 9600-9800, X300-X2300). It supports R300, R350, R360, RV350,
716 RV370, RV380, R420, R423, R430, R480, R481, RV410, RS400, RC410,
717 RS480, RS482, R520, RV515, RV530, RV560, RV570, R580, RS600, RS690,
718 RS740 chips.
719
720 %description dri-driver-ati-radeon-R300 -l pl.UTF-8
721 Sterownik X.org DRI Gallium dla rodziny kart ATI R300/R400/RS690/R500
722 (Radeon 9600-9800, X300-X2300). Obsługuje układy R300, R350, R360,
723 RV350, RV370, RV380, R420, R423, R430, R480, R481, RV410, RS400,
724 RC410, RS480, RS482, R520, RV515, RV530, RV560, RV570, R580, RS600,
725 RS690, RS740.
726
727 %package dri-driver-ati-radeon-R600
728 Summary:        X.org DRI driver for ATI R600 card family
729 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart ATI R600
730 License:        MIT
731 Group:          X11/Libraries
732 %{?with_swr:Requires:   cpuinfo(avx)}
733 Requires:       radeon-ucode
734 Requires:       xorg-driver-video-ati
735 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
736 Requires:       xorg-xserver-server >= %{xserver_ver}
737 Requires:       zlib >= %{zlib_ver}
738
739 %description dri-driver-ati-radeon-R600
740 X.org Gallium DRI driver for ATI R600/R700 card family (Radeon HD
741 2400-7000). It supports R600, RV610, RV630, RV670, RV620, RV635,
742 RS780, RS880, RV770, RV730, RV710, RV740, CEDAR, REDWOOD, JUNIPER,
743 CYPRESS, HEMLOCK, PALM, SUMO/SUMO2, CAYMAN, BARTS, TURKS, CAICOS,
744 ARUBA chips.
745
746 %description dri-driver-ati-radeon-R600 -l pl.UTF-8
747 Sterownik X.org DRI Gallium dla rodziny kart ATI R600/R700 (Radeon HD
748 2400-7000). Obsługuje układy R600, RV610, RV630, RV670, RV620, RV635,
749 RS780, RS880, RV770, RV730, RV710, RV740, CEDAR, REDWOOD, JUNIPER,
750 CYPRESS, HEMLOCK, PALM, SUMO/SUMO2, CAYMAN, BARTS, TURKS, CAICOS,
751 ARUBA.
752
753 %package dri-driver-ati-radeon-SI
754 Summary:        X.org DRI driver for ATI Southern Islands card family
755 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart ATI Southern Islands
756 License:        MIT
757 Group:          X11/Libraries
758 %{?with_swr:Requires:   cpuinfo(avx)}
759 Requires:       radeon-ucode
760 Requires:       xorg-driver-video-ati
761 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
762 Requires:       xorg-xserver-server >= %{xserver_ver}
763 Requires:       zlib >= %{zlib_ver}
764
765 %description dri-driver-ati-radeon-SI
766 X.org Gallium DRI driver for ATI Southern Islands card family (Radeon
767 HD 7700-8000, R9, APU). It supports TAHITI, PITCAIRN, VERDE, OLAND,
768 HAINAN, BONAIRE, KABINI, MULLINS, KAVERI, HAWAII, ICELAND, TONGA,
769 CARRIZO, FIJI, POLARIS, STONEY, VEGA, RAVEN chips.
770
771 %description dri-driver-ati-radeon-SI -l pl.UTF-8
772 Sterownik X.org DRI Gallium dla rodziny kart ATI Southern Islands
773 (Radeon HD 7700-8000, R9, APU). Obsługuje układy TAHITI, PITCAIRN,
774 VERDE, OLAND, HAINAN, BONAIRE, KABINI, MULLINS, KAVERI, HAWAII,
775 ICELAND, TONGA, CARRIZO, FIJI, POLARIS, STONEY, VEGA, RAVEN.
776
777 %package dri-driver-etnaviv
778 Summary:        X.org DRI driver for Vivante 3D chips
779 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Vivante 3D
780 License:        MIT
781 Group:          X11/Libraries
782 %{?with_swr:Requires:   cpuinfo(avx)}
783 #Requires:      xorg-driver-video-?
784 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
785 Requires:       xorg-xserver-server >= %{xserver_ver}
786 Requires:       zlib >= %{zlib_ver}
787
788 %description dri-driver-etnaviv
789 X.org Gallium DRI driver for Vivante 3D chips.
790
791 %description dri-driver-etnaviv -l pl.UTF-8
792 Sterownik X.org DRI Gallium dla układów Vivante 3D.
793
794 %package dri-driver-freedreno
795 Summary:        X.org DRI driver for Adreno chips
796 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Adreno
797 License:        MIT
798 Group:          X11/Libraries
799 %{?with_swr:Requires:   cpuinfo(avx)}
800 Requires:       xorg-driver-video-freedreno
801 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
802 Requires:       xorg-xserver-server >= %{xserver_ver}
803 Requires:       zlib >= %{zlib_ver}
804
805 %description dri-driver-freedreno
806 X.org Gallium DRI driver for Adreno chips.
807
808 %description dri-driver-freedreno -l pl.UTF-8
809 Sterownik X.org DRI Gallium dla układów Adreno.
810
811 %package dri-driver-intel-i915
812 Summary:        X.org DRI driver for Intel i915 card family
813 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart Intel i915
814 License:        MIT
815 Group:          X11/Libraries
816 %if %{with gallium_i915}
817 %{?with_swr:Requires:   cpuinfo(avx)}
818 %endif
819 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
820 Requires:       xorg-xserver-server >= %{xserver_ver}
821 Requires:       zlib >= %{zlib_ver}
822 Obsoletes:      Mesa-dri-driver-intel-i830
823 Obsoletes:      X11-driver-i810-dri < 1:7.0.0
824
825 %description dri-driver-intel-i915
826 X.org DRI driver for Intel i915 card family (830, 845, 852/855, 865,
827 915, 945, G33, Q33, Q35, Pineview).
828
829 %description dri-driver-intel-i915 -l pl.UTF-8
830 Sterownik X.org DRI dla rodziny kart Intel i915 (830, 845, 852/855,
831 865, 915, 945, G33, Q33, Q35, Pineview).
832
833 %package dri-driver-intel-i965
834 Summary:        X.org DRI driver for Intel i965 card family
835 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart Intel i965
836 License:        MIT
837 Group:          X11/Libraries
838 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
839 Requires:       xorg-xserver-server >= %{xserver_ver}
840 Requires:       zlib >= %{zlib_ver}
841 Obsoletes:      Mesa-dri-driver-intel-i830
842 Obsoletes:      X11-driver-i810-dri < 1:7.0.0
843
844 %description dri-driver-intel-i965
845 X.org (non-Gallium) DRI driver for Intel i965 card family (946GZ,
846 965G, 965Q, 965GM, 965GME, GM45, G41, B43, Q45/Q43, G45/G43, Ironlake,
847 Sandybridge, Ivybridge, Haswell, Ray Trail, Broadwell, Cherrytrail,
848 Braswell, Cherryview, Skylake, Broxton, Kabylake, Coffeelake,
849 Geminilake, Whiskey Lake, Comet Lake, Cannonlake, Ice Lake, Elkhart
850 Lake).
851
852 %description dri-driver-intel-i965 -l pl.UTF-8
853 Sterownik X.org DRI (nie Gallium) dla rodziny kart Intel i965 (946GZ,
854 965G, 965Q, 965GM, 965GME, GM45, G41, B43, Q45/Q43, G45/G43, Ironlake,
855 Sandybridge, Ivybridge, Haswell, Ray Trail, Broadwell, Cherrytrail,
856 Braswell, Cherryview, Skylake, Broxton, Kabylake, Coffeelake,
857 Geminilake, Whiskey Lake, Comet Lake, Cannonlake, Ice Lake, Elkhart
858 Lake).
859
860 %package dri-driver-intel-iris
861 Summary:        X.org DRI driver for Intel Iris (Gen8+) card family
862 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart Intel Iris (Gen8+)
863 License:        MIT
864 Group:          X11/Libraries
865 %{?with_swr:Requires:   cpuinfo(avx)}
866 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
867 Requires:       xorg-xserver-server >= %{xserver_ver}
868 Requires:       zlib >= %{zlib_ver}
869
870 %description dri-driver-intel-iris
871 X.org Gallium DRI driver for Intel Iris (Gen8+) card family
872 (Broadwell, Skylake, Broxton, Kabylake, Coffeelake, Geminilake,
873 Whiskey Lake, Comet Lake, Cannonlake, Ice Lake, Elkhart Lake).
874
875 %description dri-driver-intel-iris -l pl.UTF-8
876 Sterownik X.org DRI Gallium dla rodziny kart Intel Iris (Gen8+:
877 Broadwell, Skylake, Broxton, Kabylake, Coffeelake, Geminilake,
878 Whiskey Lake, Comet Lake, Cannonlake, Ice Lake, Elkhart Lake).
879
880 %package dri-driver-kmsro
881 Summary:        X.org Gallium DRI driver using KMS Render-Only architecture
882 Summary(pl.UTF-8):      Sterownik X.org DRI Gallium wykorzystujący architekturę KMS Render-Only
883 License:        MIT
884 Group:          X11/Libraries
885 %{?with_swr:Requires:   cpuinfo(avx)}
886 #Requires:      xorg-driver-video-?
887 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
888 Requires:       xorg-xserver-server >= %{xserver_ver}
889 Requires:       zlib >= %{zlib_ver}
890
891 %description dri-driver-kmsro
892 X.org Gallium DRI driver using KMS Render-Only architecture.
893
894 %description dri-driver-kmsro -l pl.UTF-8
895 Sterownik X.org DRI Gallium wykorzystujący architekturę KMS
896 Render-Only.
897
898 %package dri-driver-lima
899 Summary:        X.org DRI driver for Mali Utgard chips
900 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Mali Utgard
901 License:        MIT
902 Group:          X11/Libraries
903 %{?with_swr:Requires:   cpuinfo(avx)}
904 #Requires:      xorg-driver-video-???
905 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
906 Requires:       xorg-xserver-server >= %{xserver_ver}
907 Requires:       zlib >= %{zlib_ver}
908
909 %description dri-driver-lima
910 X.org Gallium DRI driver for Mali Utgard chips.
911
912 %description dri-driver-lima -l pl.UTF-8
913 Sterownik X.org DRI Gallium dla układów Mali Utgard.
914
915 %package dri-driver-nouveau
916 Summary:        X.org DRI driver for NVIDIA card family
917 Summary(pl.UTF-8):      Sterownik X.org DRI dla rodziny kart NVIDIA
918 License:        MIT
919 Group:          X11/Libraries
920 %if %{with gallium_nouveau}
921 %{?with_swr:Requires:   cpuinfo(avx)}
922 %endif
923 Requires:       xorg-driver-video-nouveau
924 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
925 Requires:       xorg-xserver-server >= %{xserver_ver}
926 Requires:       zlib >= %{zlib_ver}
927
928 %description dri-driver-nouveau
929 X.org DRI drivers for NVIDIA card family.
930
931 %description dri-driver-nouveau -l pl.UTF-8
932 Sterowniki X.org DRI dla rodziny kart NVIDIA.
933
934 %package dri-driver-panfrost
935 Summary:        X.org DRI driver for Mali Midgard/Bifrost chips
936 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Mali Midgard/Bifrost
937 License:        MIT
938 Group:          X11/Libraries
939 %{?with_swr:Requires:   cpuinfo(avx)}
940 #Requires:      xorg-driver-video-???
941 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
942 Requires:       xorg-xserver-server >= %{xserver_ver}
943 Requires:       zlib >= %{zlib_ver}
944
945 %description dri-driver-panfrost
946 X.org Gallium DRI driver for Mali Midgard/Bifrost chips.
947
948 %description dri-driver-panfrost -l pl.UTF-8
949 Sterownik X.org DRI Gallium dla układów Mali Midgard/Bifrost.
950
951 %package dri-driver-swrast
952 Summary:        X.org DRI software rasterizer driver
953 Summary(pl.UTF-8):      Sterownik X.org DRI obsługujący rysowanie programowe
954 License:        MIT
955 Group:          X11/Libraries
956 %{?with_swr:Requires:   cpuinfo(avx)}
957 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
958 Requires:       xorg-xserver-server >= %{xserver_ver}
959 Requires:       zlib >= %{zlib_ver}
960
961 %description dri-driver-swrast
962 X.org DRI software rasterizer driver.
963
964 %description dri-driver-swrast -l pl.UTF-8
965 Sterownik X.org DRI obsługujący rysowanie programowe.
966
967 %package dri-driver-tegra
968 Summary:        X.org DRI driver for Tegra SoC chips
969 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów SoC Tegra
970 License:        MIT
971 Group:          X11/Libraries
972 %{?with_swr:Requires:   cpuinfo(avx)}
973 #Requires:      xorg-driver-video-???
974 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
975 Requires:       xorg-xserver-server >= %{xserver_ver}
976 Requires:       zlib >= %{zlib_ver}
977
978 %description dri-driver-tegra
979 X.org Gallium DRI driver for Tegra SoC chips.
980
981 %description dri-driver-tegra -l pl.UTF-8
982 Sterownik X.org DRI Gallium dla układów Tegra SoC.
983
984 %package dri-driver-v3d
985 Summary:        X.org DRI driver for Broadcom VC5 chips
986 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Broadcom VC5
987 License:        MIT
988 Group:          X11/Libraries
989 %{?with_swr:Requires:   cpuinfo(avx)}
990 Requires:       xorg-driver-video-modesetting
991 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
992 Requires:       xorg-xserver-server >= %{xserver_ver}
993 Requires:       zlib >= %{zlib_ver}
994
995 %description dri-driver-v3d
996 X.org Gallium DRI driver for Broadcom VC5 chips.
997
998 %description dri-driver-v3d -l pl.UTF-8
999 Sterownik X.org DRI Gallium dla układów Broadcom VC5.
1000
1001 %package dri-driver-vc4
1002 Summary:        X.org DRI driver for Broadcom VC4 chips
1003 Summary(pl.UTF-8):      Sterownik X.org DRI dla układów Broadcom VC4
1004 License:        MIT
1005 Group:          X11/Libraries
1006 %{?with_swr:Requires:   cpuinfo(avx)}
1007 Requires:       xorg-driver-video-modesetting
1008 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
1009 Requires:       xorg-xserver-server >= %{xserver_ver}
1010 Requires:       zlib >= %{zlib_ver}
1011
1012 %description dri-driver-vc4
1013 X.org Gallium DRI driver for Broadcom VC4 chips.
1014
1015 %description dri-driver-vc4 -l pl.UTF-8
1016 Sterownik X.org DRI Gallium dla układów Broadcom VC4.
1017
1018 %package dri-driver-virgl
1019 Summary:        X.org DRI driver for QEMU VirGL
1020 Summary(pl.UTF-8):      Sterownik X.org DRI dla QEMU VirGL
1021 License:        MIT
1022 Group:          X11/Libraries
1023 %{?with_swr:Requires:   cpuinfo(avx)}
1024 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
1025 Requires:       xorg-xserver-server >= %{xserver_ver}
1026 Requires:       zlib >= %{zlib_ver}
1027
1028 %description dri-driver-virgl
1029 X.org Gallium DRI driver for QEMU VirGL.
1030
1031 %description dri-driver-virgl -l pl.UTF-8
1032 Sterownik X.org DRI Gallium dla QEMU VirGL.
1033
1034 %package dri-driver-vmwgfx
1035 Summary:        X.org DRI driver for VMware
1036 Summary(pl.UTF-8):      Sterownik X.org DRI dla VMware
1037 License:        MIT
1038 Group:          X11/Libraries
1039 %{?with_swr:Requires:   cpuinfo(avx)}
1040 Requires:       xorg-driver-video-vmware
1041 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
1042 Requires:       xorg-xserver-server >= %{xserver_ver}
1043 Requires:       zlib >= %{zlib_ver}
1044
1045 %description dri-driver-vmwgfx
1046 X.org Gallium DRI driver for VMWare.
1047
1048 %description dri-driver-vmwgfx -l pl.UTF-8
1049 Sterownik X.org DRI Gallium dla VMware.
1050
1051 %package dri-driver-zink
1052 Summary:        X.org DRI driver based on Vulkan
1053 Summary(pl.UTF-8):      Sterownik X.org DRI oparty na Vulkanie
1054 License:        MIT
1055 Group:          X11/Libraries
1056 Requires:       xorg-xserver-libglx(glapi) = %{glapi_ver}
1057 Requires:       xorg-xserver-server >= %{xserver_ver}
1058 Requires:       zlib >= %{zlib_ver}
1059
1060 %description dri-driver-zink
1061 X.org Gallium DRI driver based on Vulkan.
1062
1063 %description dri-driver-zink -l pl.UTF-8
1064 Sterownik X.org DRI Gallium oparty na Vulkanie.
1065
1066 %package pipe-driver-i915
1067 Summary:       i915 driver for Mesa Gallium dynamic pipe loader
1068 Summary(pl.UTF-8):     Sterownik i915 dla dynamicznego systemu potoków szkieletu Mesa Gallium
1069 Group:         Libraries
1070 Requires:      zlib >= %{zlib_ver}
1071 Obsoletes:     Mesa-gbm-driver-i915
1072 Obsoletes:     Mesa-opencl-driver-i915
1073
1074 %description pipe-driver-i915
1075 i915 driver for Mesa Gallium dynamic pipe loader. It supports Intel
1076 915/945/G33/Q33/Q35/Pineview chips.
1077
1078 %description pipe-driver-i915 -l pl.UTF-8
1079 Sterownik i915 dla dynamicznego systemu potoków szkieletu Mesa
1080 Gallium. Obsługuje układy Intela z serii 915/945/G33/Q33/Q35/Pineview.
1081
1082 %package pipe-driver-iris
1083 Summary:       iris driver for Mesa Gallium dynamic pipe loader
1084 Summary(pl.UTF-8):     Sterownik iris dla dynamicznego systemu potoków szkieletu Mesa Gallium
1085 Group:         Libraries
1086 Requires:      zlib >= %{zlib_ver}
1087
1088 %description pipe-driver-iris
1089 iris driver for Mesa Gallium dynamic pipe loader. It supports Intel
1090 Iris (Gen8+) card family (Broadwell, Skylake, Broxton, Kabylake,
1091 Coffeelake, Geminilake, Whiskey Lake, Comet Lake, Cannonlake, Ice
1092 Lake, Elkhart Lake).
1093
1094 %description pipe-driver-iris -l pl.UTF-8
1095 Sterownik iris dla dynamicznego systemu potoków szkieletu Mesa
1096 Gallium. Obsługuje układy Intela z rodziny kart Intel Iris (Gen8+:
1097 Broadwell, Skylake, Broxton, Kabylake, Coffeelake, Geminilake, Whiskey
1098 Lake, Comet Lake, Cannonlake, Ice Lake, Elkhart Lake).
1099
1100 %package pipe-driver-msm
1101 Summary:        msm (freedreno) driver for Mesa Gallium dynamic pipe loader
1102 Summary(pl.UTF-8):      Sterownik msm (freedreno) dla dynamicznego systemu potoków szkieletu Mesa Gallium
1103 Group:          Libraries
1104 Requires:       zlib >= %{zlib_ver}
1105
1106 %description pipe-driver-msm
1107 msm (freedreno) driver for Mesa Gallium dynamic pipe loader. It
1108 supports Adreno chips.
1109
1110 %description pipe-driver-msm -l pl.UTF-8
1111 Sterownik msm (freedreno) dla dynamicznego systemu potoków szkieletu
1112 Mesa Gallium. Obsługuje układy Adreno.
1113
1114 %package pipe-driver-nouveau
1115 Summary:        nouveau driver for Mesa Gallium dynamic pipe loader
1116 Summary(pl.UTF-8):      Sterownik nouveau dla dynamicznego systemu potoków szkieletu Mesa Gallium
1117 Group:          Libraries
1118 Requires:       zlib >= %{zlib_ver}
1119 Obsoletes:      Mesa-gbm-driver-nouveau
1120 Obsoletes:      Mesa-opencl-driver-nouveau
1121
1122 %description pipe-driver-nouveau
1123 nouveau driver for Mesa Gallium dynamic pipe loader. It supports
1124 NVidia adapters.
1125
1126 %description pipe-driver-nouveau -l pl.UTF-8
1127 Sterownik nouveau dla dynamicznego systemu potoków szkieletu Mesa
1128 Gallium. Obsługuje karty graficzne firmy NVidia.
1129
1130 %package pipe-driver-r300
1131 Summary:        r300 driver for Mesa Gallium dynamic pipe loader
1132 Summary(pl.UTF-8):      Sterownik r300 dla dynamicznego systemu potoków szkieletu Mesa Gallium
1133 Group:          Libraries
1134 Requires:       zlib >= %{zlib_ver}
1135 Obsoletes:      Mesa-gbm-driver-r300
1136 Obsoletes:      Mesa-opencl-driver-r300
1137
1138 %description pipe-driver-r300
1139 r300 driver for Mesa Gallium dynamic pipe loader. It supports ATI
1140 Radeon adapters based on R300/R400/RS690/R500 chips.
1141
1142 %description pipe-driver-r300 -l pl.UTF-8
1143 Sterownik r300 dla dynamicznego systemu potoków szkieletu Mesa
1144 Gallium. Obsługuje karty graficzne ATI Radeon oparte na układach
1145 R300/R400/RS690/R500.
1146
1147 %package pipe-driver-r600
1148 Summary:        r600 driver for Mesa Gallium dynamic pipe loader
1149 Summary(pl.UTF-8):      Sterownik r600 dla dynamicznego systemu potoków szkieletu Mesa Gallium
1150 Group:          Libraries
1151 Requires:       zlib >= %{zlib_ver}
1152 Obsoletes:      Mesa-gbm-driver-r600
1153 Obsoletes:      Mesa-libllvmradeon
1154 Obsoletes:      Mesa-opencl-driver-r600
1155
1156 %description pipe-driver-r600
1157 r600 driver for Mesa Gallium dynamic pipe loader. It supports ATI
1158 Radeon adapters based on R600/R700 chips.
1159
1160 %description pipe-driver-r600 -l pl.UTF-8
1161 Sterownik r600 dla dynamicznego systemu potoków szkieletu Mesa
1162 Gallium. Obsługuje karty graficzne ATI Radeon oparte na układach
1163 R600/R700.
1164
1165 %package pipe-driver-radeonsi
1166 Summary:        radeonsi driver for Mesa Gallium dynamic pipe loader
1167 Summary(pl.UTF-8):      Sterownik radeonsi dla dynamicznego systemu potoków szkieletu Mesa Gallium
1168 Group:          Libraries
1169 Requires:       zlib >= %{zlib_ver}
1170 Obsoletes:      Mesa-gbm-driver-radeonsi
1171 Obsoletes:      Mesa-libllvmradeon
1172 Obsoletes:      Mesa-opencl-driver-radeonsi
1173
1174 %description pipe-driver-radeonsi
1175 radeonsi driver for Mesa Gallium dynamic pipe loader. It supports ATI
1176 Radeon adapters based on Southern Islands chips.
1177
1178 %description pipe-driver-radeonsi -l pl.UTF-8
1179 Sterownik radeonsi dla dynamicznego systemu potoków szkieletu Mesa
1180 Gallium. Obsługuje karty graficzne ATI Radeon oparte na układach
1181 Southern Islands.
1182
1183 %package pipe-driver-swrast
1184 Summary:        Software (swrast) driver for Mesa Gallium dynamic pipe loader
1185 Summary(pl.UTF-8):      Sterownik programowy (swrast) dla dynamicznego systemu potoków szkieletu Mesa Gallium
1186 Group:          Libraries
1187 %{?with_swr:Requires:   cpuinfo(avx)}
1188 Requires:       zlib >= %{zlib_ver}
1189 Obsoletes:      Mesa-gbm-driver-swrast
1190 Obsoletes:      Mesa-opencl-driver-swrast
1191
1192 %description pipe-driver-swrast
1193 Software (swrast) driver for Mesa Gallium dynamic pipe loader.
1194
1195 %description pipe-driver-swrast -l pl.UTF-8
1196 Sterownik programowy (swrast) dla dynamicznego systemu potoków
1197 szkieletu Mesa Gallium.
1198
1199 %package pipe-driver-vmwgfx
1200 Summary:        vmwgfx driver for Mesa Gallium dynamic pipe loader
1201 Summary(pl.UTF-8):      Sterownik vmwgfx dla dynamicznego systemu potoków szkieletu Mesa Gallium
1202 Group:          Libraries
1203 Requires:       zlib >= %{zlib_ver}
1204 Obsoletes:      Mesa-gbm-driver-vmwgfx
1205 Obsoletes:      Mesa-opencl-driver-vmwgfx
1206
1207 %description pipe-driver-vmwgfx
1208 vmwgfx driver for Mesa Gallium dynamic pipe loader. It supports VMware
1209 virtual video adapter.
1210
1211 %description pipe-driver-vmwgfx -l pl.UTF-8
1212 Sterownik vmwgfx dla dynamicznego systemu potoków szkieletu Mesa
1213 Gallium. Obsługuje wirtualną kartę graficzną VMware.
1214
1215 %package swr
1216 Summary:        OpenSWR software rasterizer modules for Mesa
1217 Summary(pl.UTF-8):      Moduły programowego rasteryzera OpenSWR dla Mesy
1218 Group:          Libraries
1219 Requires:       cpuinfo(avx)
1220 Requires:       zlib >= %{zlib_ver}
1221
1222 %description swr
1223 OpenSWR software rasterizer modules for Mesa, utilizing x86 AVX or
1224 VX2 instruction sets. They can be loaded by swrast pipe driver or
1225 OSMesa library.
1226
1227 %description swr -l pl.UTF-8
1228 Moduły programowego rasteryzera OpenSWR dla Mesy, wykorzystujące
1229 zestawy instrukcji x86 AVX lub AVX2. Mogą być wczytywane przez
1230 sterownik potoków swrast lub bibliotekę OSMesa.
1231
1232 %package d3d
1233 Summary:        Nine Direct3D9 driver (for Wine)
1234 Summary(pl.UTF-8):      Sterownik Direct3D9 Nine (dla Wine)
1235 Group:          Libraries
1236 Requires:       libdrm >= %{libdrm_ver}
1237 Requires:       zlib >= %{zlib_ver}
1238
1239 %description d3d
1240 Nine Direct3D9 driver (for Wine).
1241
1242 %description d3d -l pl.UTF-8
1243 Sterownik Direct3D9 Nine (dla Wine).
1244
1245 %package d3d-devel
1246 Summary:        Nine Direct3D9 driver API
1247 Summary(pl.UTF-8):      API sterownika Direct3D9 Nine
1248 Group:          Development/Libraries
1249 Requires:       libdrm-devel >= %{libdrm_ver}
1250
1251 %description d3d-devel
1252 Nine Direct3D9 driver API.
1253
1254 %description d3d-devel -l pl.UTF-8
1255 API sterownika Direct3D9 Nine.
1256
1257 %package -n libvdpau-driver-mesa-nouveau
1258 Summary:        Mesa nouveau driver for the vdpau API
1259 Summary(pl.UTF-8):      Sterownik Mesa nouveau dla API vdpau
1260 License:        MIT
1261 Group:          X11/Libraries
1262 Requires:       libdrm >= %{libdrm_ver}
1263 Requires:       libvdpau >= 1.1
1264 Requires:       zlib >= %{zlib_ver}
1265 Conflicts:      libvdpau-driver-mesa
1266
1267 %description -n libvdpau-driver-mesa-nouveau
1268 Mesa nouveau driver for the vdpau API. It supports NVidia adapters
1269 (NV40-NV96, NVa0).
1270
1271 %description -n libvdpau-driver-mesa-nouveau -l pl.UTF-8
1272 Sterownik Mesa nouveau dla API vdpau. Obsługuje karty NVidia
1273 (NV40-NV96, NVa0).
1274
1275 %package -n libvdpau-driver-mesa-r300
1276 Summary:        Mesa r300 driver for the vdpau API
1277 Summary(pl.UTF-8):      Sterownik Mesa r300 dla API vdpau
1278 License:        MIT
1279 Group:          X11/Libraries
1280 Requires:       libdrm >= %{libdrm_ver}
1281 Requires:       libvdpau >= 1.1
1282 Requires:       zlib >= %{zlib_ver}
1283 Conflicts:      libvdpau-driver-mesa
1284
1285 %description -n libvdpau-driver-mesa-r300
1286 Mesa r300 driver for the vdpau API. It supports ATI Radeon adapters
1287 based on R300 chips.
1288
1289 %description -n libvdpau-driver-mesa-r300 -l pl.UTF-8
1290 Sterownik Mesa r300 dla API vdpau. Obsługuje karty ATI Radeon oparte
1291 na układach R300.
1292
1293 %package -n libvdpau-driver-mesa-r600
1294 Summary:        Mesa r600 driver for the vdpau API
1295 Summary(pl.UTF-8):      Sterownik Mesa r600 dla API vdpau
1296 License:        MIT
1297 Group:          X11/Libraries
1298 Requires:       libdrm >= %{libdrm_ver}
1299 Requires:       libvdpau >= 1.1
1300 Requires:       zlib >= %{zlib_ver}
1301 Conflicts:      libvdpau-driver-mesa
1302
1303 %description -n libvdpau-driver-mesa-r600
1304 Mesa r600 driver for the vdpau API. It supports ATI Radeon adapters
1305 based on R600/R700 chips.
1306
1307 %description -n libvdpau-driver-mesa-r600 -l pl.UTF-8
1308 Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
1309 na układach R600/R700.
1310
1311 %package -n libvdpau-driver-mesa-radeonsi
1312 Summary:        Mesa radeonsi driver for the vdpau API
1313 Summary(pl.UTF-8):      Sterownik Mesa radeonsi dla API vdpau
1314 License:        MIT
1315 Group:          X11/Libraries
1316 Requires:       libdrm >= %{libdrm_ver}
1317 Requires:       libvdpau >= 1.1
1318 Requires:       zlib >= %{zlib_ver}
1319 Conflicts:      libvdpau-driver-mesa
1320 Obsoletes:      Mesa-libllvmradeon
1321
1322 %description -n libvdpau-driver-mesa-radeonsi
1323 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
1324 adapters based on Southern Islands chips.
1325
1326 %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
1327 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
1328 oparte na układach Southern Islands.
1329
1330 %package -n omxil-mesa
1331 Summary:        Mesa driver for Bellagio OpenMAX IL API
1332 Summary(pl.UTF-8):      Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
1333 License:        MIT
1334 Group:          X11/Libraries
1335 Requires:       libdrm >= %{libdrm_ver}
1336 Requires:       libxcb >= 1.13
1337 Requires:       libomxil-bellagio
1338 Requires:       zlib >= %{zlib_ver}
1339 Obsoletes:      omxil-mesa-nouveau
1340 Obsoletes:      omxil-mesa-r600
1341 Obsoletes:      omxil-mesa-radeonsi
1342
1343 %description -n omxil-mesa
1344 Mesa driver for Bellagio OpenMAX IL API.
1345
1346 %description -n omxil-mesa -l pl.UTF-8
1347 Sterownik Mesa dla API Bellagio OpenMAX IL.
1348
1349 %package vulkan-icd-broadcom
1350 Summary:        v3dv - Mesa Vulkan driver for Raspberry Pi 4
1351 Summary(pl.UTF-8):      v3dv - sterownik Vulkan dla Raspberry Pi 4
1352 License:        MIT
1353 Group:          Libraries
1354 Requires:       libdrm >= %{libdrm_ver}
1355 Requires:       libxcb >= 1.13
1356 Requires:       xorg-lib-libXrandr >= 1.3
1357 Requires:       xorg-lib-libxshmfence >= 1.1
1358 # wayland-client
1359 Requires:       wayland >= %{wayland_ver}
1360 Requires:       zlib >= %{zlib_ver}
1361 Suggests:       vulkan(loader)
1362 Provides:       vulkan(icd) = 1.0.3
1363
1364 %description vulkan-icd-broadcom
1365 v3dv - Mesa Vulkan driver for Raspberry Pi 4.
1366
1367 %description vulkan-icd-broadcom -l pl.UTF-8
1368 v3dv - sterownik Vulkan dla Raspberry Pi 4.
1369
1370 %package vulkan-icd-freedreno
1371 Summary:        turnip - Mesa Vulkan driver for Adreno chips
1372 Summary(pl.UTF-8):      turnip - sterownik Vulkan dla układów Adreno
1373 License:        MIT
1374 Group:          Libraries
1375 Requires:       libdrm >= %{libdrm_ver}
1376 Requires:       libxcb >= 1.13
1377 Requires:       xorg-lib-libXrandr >= 1.3
1378 Requires:       xorg-lib-libxshmfence >= 1.1
1379 # wayland-client
1380 Requires:       wayland >= %{wayland_ver}
1381 Requires:       zlib >= %{zlib_ver}
1382 Suggests:       vulkan(loader)
1383 Provides:       vulkan(icd) = 1.0.3
1384
1385 %description vulkan-icd-freedreno
1386 turnip - Mesa Vulkan driver for Adreno chips.
1387
1388 %description vulkan-icd-freedreno -l pl.UTF-8
1389 turnip - sterownik Vulkan dla układów Adreno.
1390
1391 %package vulkan-icd-intel
1392 Summary:        Mesa Vulkan driver for Intel GPUs
1393 Summary(pl.UTF-8):      Sterownik Vulkan dla GPU firmy Intel
1394 License:        MIT
1395 Group:          Libraries
1396 Requires:       libdrm >= %{libdrm_ver}
1397 Requires:       libxcb >= 1.13
1398 Requires:       xorg-lib-libXrandr >= 1.3
1399 Requires:       xorg-lib-libxshmfence >= 1.1
1400 # wayland-client
1401 Requires:       wayland >= %{wayland_ver}
1402 Requires:       zlib >= %{zlib_ver}
1403 Suggests:       vulkan(loader)
1404 Provides:       vulkan(icd) = 1.0.3
1405 Obsoletes:      Mesa-vulkan-icd-intel-devel < 21.1.0
1406
1407 %description vulkan-icd-intel
1408 Mesa Vulkan driver for Intel GPUs.
1409
1410 %description vulkan-icd-intel -l pl.UTF-8
1411 Sterownik Vulkan dla GPU Intela.
1412
1413 %package vulkan-icd-lavapipe
1414 Summary:        lavapipe - Mesa software Vulkan driver
1415 Summary(pl.UTF-8):      lavapipe - programowy sterownik Vulkan
1416 License:        MIT
1417 Group:          Libraries
1418 Requires:       libdrm >= %{libdrm_ver}
1419 Requires:       libxcb >= 1.13
1420 Requires:       xorg-lib-libXrandr >= 1.3
1421 Requires:       xorg-lib-libxshmfence >= 1.1
1422 # wayland-client
1423 Requires:       wayland >= %{wayland_ver}
1424 Requires:       zlib >= %{zlib_ver}
1425 Suggests:       vulkan(loader)
1426 Provides:       vulkan(icd) = 1.0.3
1427
1428 %description vulkan-icd-lavapipe
1429 lavapipe - Mesa software Vulkan driver.
1430
1431 %description vulkan-icd-lavapipe -l pl.UTF-8
1432 lavapipe - programowy sterownik Vulkan.
1433
1434 %package vulkan-icd-radeon
1435 Summary:        radv - experimental Mesa Vulkan driver for AMD Radeon GPUs
1436 Summary(pl.UTF-8):      radv - eksperymentalny sterownik Vulkan dla GPU firmy AMD
1437 License:        MIT
1438 Group:          Libraries
1439 Requires:       libdrm >= %{libdrm_ver}
1440 Requires:       libxcb >= 1.13
1441 Requires:       xorg-lib-libXrandr >= 1.3
1442 Requires:       xorg-lib-libxshmfence >= 1.1
1443 # wayland-client
1444 Requires:       wayland >= %{wayland_ver}
1445 Requires:       zlib >= %{zlib_ver}
1446 Suggests:       vulkan(loader)
1447 Provides:       vulkan(icd) = 1.0.3
1448
1449 %description vulkan-icd-radeon
1450 radv - experimental Mesa Vulkan driver for AMD Radeon GPUs.
1451
1452 %description vulkan-icd-radeon -l pl.UTF-8
1453 radv - eksperymentalny sterownik Vulkan dla GPU firmy AMD.
1454
1455 %prep
1456 %setup -q -n mesa-mesa-%{version}
1457 %patch0 -p1
1458 %patch1 -p1
1459
1460 %build
1461 %if %{with opencl}
1462 if [ "$(llvm-config --has-rtti)" != "YES" ] ; then
1463         echo "Clover (gallium OpenCL) requires LLVM with RTTI!"
1464         exit 1
1465 fi
1466 %endif
1467
1468 dri_drivers="nouveau r100 r200 \
1469 %if %{without gallium}
1470 swrast
1471 %endif
1472 %ifarch %{ix86} %{x8664} x32
1473 i965 %{!?with_gallium_i915:i915} \
1474 %endif
1475 "
1476
1477 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
1478
1479 gallium_drivers="virgl swrast %{?with_gallium_zink:zink} \
1480 %ifarch %{ix86} %{x8664} x32
1481 svga iris %{?with_swr:swr} %{?with_gallium_i915:i915} \
1482 %endif
1483 %if %{with gallium_radeon}
1484 r300 r600 radeonsi \
1485 %endif
1486 %if %{with gallium_nouveau}
1487 nouveau
1488 %endif
1489 %ifarch %{arm} aarch64
1490 etnaviv \
1491 freedreno \
1492 lima \
1493 panfrost \
1494 %{?with_gallium_nouveau:tegra} \
1495 v3d \
1496 vc4 \
1497 %endif
1498 "
1499
1500 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
1501
1502 vulkan_drivers="swrast %{?with_radv:amd} \
1503 %ifarch %{ix86} %{x8664} x32
1504 intel \
1505 %endif
1506 %ifarch %{arm} aarch64
1507 freedreno broadcom \
1508 %endif
1509 "
1510
1511 vulkan_drivers=$(echo $vulkan_drivers | xargs | tr ' ' ',')
1512
1513 %meson build \
1514         -Dplatforms=x11%{?with_wayland:,wayland} \
1515         -Ddri3=enabled \
1516         -Ddri-drivers=${dri_drivers} \
1517         -Ddri-drivers-path=%{_libdir}/xorg/modules/dri \
1518         -Degl=%{?with_egl:enabled}%{!?with_egl:disabled} \
1519         -Dgallium-drivers=${gallium_drivers} \
1520         %{?with_hud_extra:-Dgallium-extra-hud=true} \
1521         -Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \
1522         -Dgallium-omx=%{?with_omx:bellagio}%{!?with_omx:disabled} \
1523 %if %{with opencl}
1524 %if %{with ocl_icd}
1525         -Dgallium-opencl=icd \
1526 %else
1527         -Dgallium-opencl=standalone \
1528 %endif
1529 %else
1530         -Dgallium-opencl=disabled \
1531 %endif
1532         -Dgallium-va=%{?with_va:enabled}%{!?with_va:disabled} \
1533         %{?with_vdpau:-Dgallium-vdpau=enabled} \
1534         %{?with_xvmc:-Dgallium-xvmc=enabled} \
1535         -Dgallium-xa=%{?with_xa:enabled}%{!?with_xa:disabled} \
1536         -Dgbm=%{?with_gbm:enabled}%{!?with_gbm:disabled} \
1537         -Dglvnd=%{?with_glvnd:true}%{!?with_glvnd:false} \
1538         -Dlibunwind=enabled \
1539         -Dlmsensors=%{?with_lm_sensors:enabled}%{!?with_lm_sensors:disabled} \
1540         %{?with_opencl_spirv:-Dopencl-spirv=true} \
1541         -Dosmesa=true \
1542         -Dselinux=true \
1543         -Dva-libs-path=%{_libdir}/libva/dri \
1544         -Dvulkan-drivers=${vulkan_drivers} \
1545         -Dvulkan-icd-dir=/usr/share/vulkan/icd.d
1546
1547 %ninja_build -C build
1548
1549 %{?with_tests:%ninja_test -C build}
1550
1551 %install
1552 rm -rf $RPM_BUILD_ROOT
1553
1554 %ninja_install -C build
1555
1556 # not used externally
1557 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
1558
1559 %if %{without glvnd}
1560 # remove "OS ABI: Linux 2.4.20" tag, so private copies (nvidia or fglrx),
1561 # set up via /etc/ld.so.conf.d/*.conf will be preferred over this
1562 strip -R .note.ABI-tag $RPM_BUILD_ROOT%{_libdir}/libGL.so.*.*
1563 %endif
1564
1565 %clean
1566 rm -rf $RPM_BUILD_ROOT
1567
1568 %post   OpenCL-icd -p /sbin/ldconfig
1569 %postun OpenCL-icd -p /sbin/ldconfig
1570
1571 %post   libEGL -p /sbin/ldconfig
1572 %postun libEGL -p /sbin/ldconfig
1573
1574 %post   libGL -p /sbin/ldconfig
1575 %postun libGL -p /sbin/ldconfig
1576
1577 %post   libGLES -p /sbin/ldconfig
1578 %postun libGLES -p /sbin/ldconfig
1579
1580 %post   libOSMesa -p /sbin/ldconfig
1581 %postun libOSMesa -p /sbin/ldconfig
1582
1583 %post   libOpenCL -p /sbin/ldconfig
1584 %postun libOpenCL -p /sbin/ldconfig
1585
1586 %post   libXvMC-nouveau -p /sbin/ldconfig
1587 %postun libXvMC-nouveau -p /sbin/ldconfig
1588 %post   libXvMC-r600 -p /sbin/ldconfig
1589 %postun libXvMC-r600 -p /sbin/ldconfig
1590
1591 %post   libgbm -p /sbin/ldconfig
1592 %postun libgbm -p /sbin/ldconfig
1593
1594 %post   libglapi -p /sbin/ldconfig
1595 %postun libglapi -p /sbin/ldconfig
1596
1597 %post   libxatracker -p /sbin/ldconfig
1598 %postun libxatracker -p /sbin/ldconfig
1599
1600 %if %{with egl}
1601 %files libEGL
1602 %defattr(644,root,root,755)
1603 %if %{with glvnd}
1604 %attr(755,root,root) %{_libdir}/libEGL_mesa.so.*.*
1605 %attr(755,root,root) %ghost %{_libdir}/libEGL_mesa.so.0
1606 %{_datadir}/glvnd/egl_vendor.d/50_mesa.json
1607 %else
1608 %attr(755,root,root) %{_libdir}/libEGL.so.*.*
1609 %attr(755,root,root) %ghost %{_libdir}/libEGL.so.1
1610 %endif
1611
1612 %files libEGL-devel
1613 %defattr(644,root,root,755)
1614 %if %{with glvnd}
1615 %attr(755,root,root) %{_libdir}/libEGL_mesa.so
1616 %else
1617 %attr(755,root,root) %{_libdir}/libEGL.so
1618 %dir %{_includedir}/EGL
1619 %{_includedir}/EGL/egl.h
1620 %{_includedir}/EGL/eglext.h
1621 %{_includedir}/EGL/eglplatform.h
1622 %{_pkgconfigdir}/egl.pc
1623 %endif
1624 %{_includedir}/EGL/eglextchromium.h
1625 %{_includedir}/EGL/eglmesaext.h
1626 %endif
1627
1628 %files libGL
1629 %defattr(644,root,root,755)
1630 %doc docs/{*.rst,README.UVD,features.txt,relnotes/*.rst}
1631 %if %{with glvnd}
1632 %attr(755,root,root) %{_libdir}/libGLX_mesa.so.*.*
1633 %attr(755,root,root) %ghost %{_libdir}/libGLX_mesa.so.0
1634 %attr(755,root,root) %{_libdir}/libGLX_mesa.so
1635 %else
1636 %attr(755,root,root) %{_libdir}/libGL.so.*.*
1637 %attr(755,root,root) %ghost %{_libdir}/libGL.so.1
1638 # symlink for binary apps which fail to conform Linux OpenGL ABI
1639 # (and dlopen libGL.so instead of libGL.so.1; the same does Mesa libEGL)
1640 %attr(755,root,root) %{_libdir}/libGL.so
1641 %endif
1642 %{_datadir}/drirc.d
1643
1644 %files libGL-devel
1645 %defattr(644,root,root,755)
1646 %doc docs/_extra/specs/*
1647 %if %{without glvnd}
1648 %dir %{_includedir}/GL
1649 %{_includedir}/GL/gl.h
1650 %{_includedir}/GL/glcorearb.h
1651 %{_includedir}/GL/glext.h
1652 %{_includedir}/GL/glx.h
1653 %{_includedir}/GL/glxext.h
1654 %{_pkgconfigdir}/gl.pc
1655 %endif
1656 %dir %{_includedir}/GL/internal
1657 %{_includedir}/GL/internal/dri_interface.h
1658 %{_pkgconfigdir}/dri.pc
1659
1660 %files libGLES
1661 %defattr(644,root,root,755)
1662 %if %{without glvnd}
1663 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so.*.*.*
1664 %attr(755,root,root) %ghost %{_libdir}/libGLESv1_CM.so.1
1665 %attr(755,root,root) %{_libdir}/libGLESv2.so.*.*
1666 %attr(755,root,root) %ghost %{_libdir}/libGLESv2.so.2
1667 %endif
1668
1669 %files libGLES-devel
1670 %defattr(644,root,root,755)
1671 %if %{without glvnd}
1672 %attr(755,root,root) %{_libdir}/libGLESv1_CM.so
1673 %attr(755,root,root) %{_libdir}/libGLESv2.so
1674 %{_includedir}/GLES
1675 %{_includedir}/GLES2
1676 %{_includedir}/GLES3
1677 %{_pkgconfigdir}/glesv1_cm.pc
1678 %{_pkgconfigdir}/glesv2.pc
1679 %endif
1680
1681 %files libOSMesa
1682 %defattr(644,root,root,755)
1683 %attr(755,root,root) %{_libdir}/libOSMesa.so.*.*
1684 %attr(755,root,root) %ghost %{_libdir}/libOSMesa.so.8
1685
1686 %files libOSMesa-devel
1687 %defattr(644,root,root,755)
1688 %attr(755,root,root) %{_libdir}/libOSMesa.so
1689 %{_includedir}/GL/osmesa.h
1690 %{_pkgconfigdir}/osmesa.pc
1691
1692 %if %{with opencl}
1693 %if %{with ocl_icd}
1694 %files OpenCL-icd
1695 %defattr(644,root,root,755)
1696 /etc/OpenCL/vendors/mesa.icd
1697 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so
1698 %attr(755,root,root) %{_libdir}/libMesaOpenCL.so.*.*.*
1699 %attr(755,root,root) %ghost %{_libdir}/libMesaOpenCL.so.1
1700 # currently only OpenCL uses dynamic pipe loader
1701 %dir %{_libdir}/gallium-pipe
1702 %else
1703 %files libOpenCL
1704 %defattr(644,root,root,755)
1705 %attr(755,root,root) %{_libdir}/libOpenCL.so.*.*.*
1706 %attr(755,root,root) %ghost %{_libdir}/libOpenCL.so.1
1707 # currently only OpenCL uses dynamic pipe loader
1708 %dir %{_libdir}/gallium-pipe
1709
1710 %files libOpenCL-devel
1711 %defattr(644,root,root,755)
1712 %attr(755,root,root) %{_libdir}/libOpenCL.so
1713 %{_includedir}/CL
1714 %endif
1715 %endif
1716
1717 %if %{with gallium}
1718 %if %{with gallium_nouveau}
1719 %files libXvMC-nouveau
1720 %defattr(644,root,root,755)
1721 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.*.*
1722 %attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
1723 %attr(755,root,root) %{_libdir}/libXvMCnouveau.so
1724 %endif
1725
1726 %if %{with gallium_radeon}
1727 %files libXvMC-r600
1728 %defattr(644,root,root,755)
1729 %attr(755,root,root) %{_libdir}/libXvMCr600.so.1.*.*
1730 %attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
1731 %attr(755,root,root) %{_libdir}/libXvMCr600.so
1732 %endif
1733
1734 %if %{with va}
1735 %files -n libva-driver-gallium
1736 %defattr(644,root,root,755)
1737
1738 %if %{with gallium_radeon}
1739 %files -n libva-driver-r600
1740 %defattr(644,root,root,755)
1741 %attr(755,root,root) %{_libdir}/libva/dri/r600_drv_video.so
1742
1743 %files -n libva-driver-radeonsi
1744 %defattr(644,root,root,755)
1745 %attr(755,root,root) %{_libdir}/libva/dri/radeonsi_drv_video.so
1746 %endif
1747
1748 %if %{with gallium_nouveau}
1749 %files -n libva-driver-nouveau
1750 %defattr(644,root,root,755)
1751 %attr(755,root,root) %{_libdir}/libva/dri/nouveau_drv_video.so
1752 %endif
1753 %endif
1754 %endif
1755
1756 %if %{with gbm}
1757 %files libgbm
1758 %defattr(644,root,root,755)
1759 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
1760 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
1761
1762 %files libgbm-devel
1763 %defattr(644,root,root,755)
1764 %attr(755,root,root) %{_libdir}/libgbm.so
1765 %{_includedir}/gbm.h
1766 %{_pkgconfigdir}/gbm.pc
1767 %endif
1768
1769 %files libglapi
1770 %defattr(644,root,root,755)
1771 %attr(755,root,root) %{_libdir}/libglapi.so.*.*
1772 %attr(755,root,root) %ghost %{_libdir}/libglapi.so.0
1773 # libglapi-devel? nothing seems to need it atm.
1774 #%attr(755,root,root) %{_libdir}/libglapi.so
1775
1776 %if %{with xa}
1777 %files libxatracker
1778 %defattr(644,root,root,755)
1779 %attr(755,root,root) %{_libdir}/libxatracker.so.*.*
1780 %attr(755,root,root) %ghost %{_libdir}/libxatracker.so.2
1781
1782 %files libxatracker-devel
1783 %defattr(644,root,root,755)
1784 %attr(755,root,root) %{_libdir}/libxatracker.so
1785 %{_includedir}/xa_composite.h
1786 %{_includedir}/xa_context.h
1787 %{_includedir}/xa_tracker.h
1788 %{_pkgconfigdir}/xatracker.pc
1789 %endif
1790
1791 %if %{with egl}
1792 %if %{without glvnd}
1793 %files khrplatform-devel
1794 %defattr(644,root,root,755)
1795 %dir %{_includedir}/KHR
1796 %{_includedir}/KHR/khrplatform.h
1797 %endif
1798 %endif
1799
1800 %files dri-driver-ati-radeon-R100
1801 %defattr(644,root,root,755)
1802 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
1803
1804 %files dri-driver-ati-radeon-R200
1805 %defattr(644,root,root,755)
1806 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
1807
1808 %if %{with gallium}
1809 %if %{with gallium_radeon}
1810 %files dri-driver-ati-radeon-R300
1811 %defattr(644,root,root,755)
1812 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r300_dri.so
1813
1814 %files dri-driver-ati-radeon-R600
1815 %defattr(644,root,root,755)
1816 %attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
1817
1818 %files dri-driver-ati-radeon-SI
1819 %defattr(644,root,root,755)
1820 %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
1821 %endif
1822 %endif
1823
1824 %ifarch %{ix86} %{x8664} x32
1825 %files dri-driver-intel-i915
1826 %defattr(644,root,root,755)
1827 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
1828
1829 %files dri-driver-intel-i965
1830 %defattr(644,root,root,755)
1831 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
1832
1833 %if %{with gallium}
1834 %files dri-driver-intel-iris
1835 %defattr(644,root,root,755)
1836 %attr(755,root,root) %{_libdir}/xorg/modules/dri/iris_dri.so
1837 %endif
1838 %endif
1839
1840 %files dri-driver-nouveau
1841 %defattr(644,root,root,755)
1842 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
1843 %if %{with gallium_nouveau}
1844 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
1845 %endif
1846
1847 %files dri-driver-swrast
1848 %defattr(644,root,root,755)
1849 %if %{with gallium}
1850 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kms_swrast_dri.so
1851 %endif
1852 %attr(755,root,root) %{_libdir}/xorg/modules/dri/swrast_dri.so
1853
1854 %if %{with gallium}
1855 %ifarch %{arm} aarch64
1856 %files dri-driver-etnaviv
1857 %defattr(644,root,root,755)
1858 %attr(755,root,root) %{_libdir}/xorg/modules/dri/etnaviv_dri.so
1859
1860 %files dri-driver-freedreno
1861 %defattr(644,root,root,755)
1862 %attr(755,root,root) %{_libdir}/xorg/modules/dri/kgsl_dri.so
1863 %attr(755,root,root) %{_libdir}/xorg/modules/dri/msm_dri.so
1864
1865 %files dri-driver-kmsro
1866 %defattr(644,root,root,755)
1867 %attr(755,root,root) %{_libdir}/xorg/modules/dri/armada-drm_dri.so
1868 %attr(755,root,root) %{_libdir}/xorg/modules/dri/exynos_dri.so
1869 %attr(755,root,root) %{_libdir}/xorg/modules/dri/hx8357d_dri.so
1870 %attr(755,root,root) %{_libdir}/xorg/modules/dri/ili9225_dri.so
1871 %attr(755,root,root) %{_libdir}/xorg/modules/dri/ili9341_dri.so
1872 %attr(755,root,root) %{_libdir}/xorg/modules/dri/imx-dcss_dri.so
1873 %attr(755,root,root) %{_libdir}/xorg/modules/dri/imx-drm_dri.so
1874 %attr(755,root,root) %{_libdir}/xorg/modules/dri/ingenic-drm_dri.so
1875 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mcde_dri.so
1876 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mediatek_dri.so
1877 %attr(755,root,root) %{_libdir}/xorg/modules/dri/meson_dri.so
1878 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mi0283qt_dri.so
1879 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mxsfb-drm_dri.so
1880 %attr(755,root,root) %{_libdir}/xorg/modules/dri/pl111_dri.so
1881 %attr(755,root,root) %{_libdir}/xorg/modules/dri/repaper_dri.so
1882 %attr(755,root,root) %{_libdir}/xorg/modules/dri/rockchip_dri.so
1883 %attr(755,root,root) %{_libdir}/xorg/modules/dri/st7586_dri.so
1884 %attr(755,root,root) %{_libdir}/xorg/modules/dri/st7735r_dri.so
1885 %attr(755,root,root) %{_libdir}/xorg/modules/dri/stm_dri.so
1886 %attr(755,root,root) %{_libdir}/xorg/modules/dri/sun4i-drm_dri.so
1887
1888 %files dri-driver-lima
1889 %defattr(644,root,root,755)
1890 %attr(755,root,root) %{_libdir}/xorg/modules/dri/lima_dri.so
1891
1892 %files dri-driver-panfrost
1893 %defattr(644,root,root,755)
1894 %attr(755,root,root) %{_libdir}/xorg/modules/dri/panfrost_dri.so
1895
1896 %if %{with gallium_nouveau}
1897 %files dri-driver-tegra
1898 %defattr(644,root,root,755)
1899 %attr(755,root,root) %{_libdir}/xorg/modules/dri/tegra_dri.so
1900 %endif
1901
1902 %files dri-driver-v3d
1903 %defattr(644,root,root,755)
1904 %attr(755,root,root) %{_libdir}/xorg/modules/dri/v3d_dri.so
1905
1906 %files dri-driver-vc4
1907 %defattr(644,root,root,755)
1908 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vc4_dri.so
1909 %endif
1910
1911 %files dri-driver-virgl
1912 %defattr(644,root,root,755)
1913 %attr(755,root,root) %{_libdir}/xorg/modules/dri/virtio_gpu_dri.so
1914
1915 %ifarch %{ix86} %{x8664} x32
1916 %files dri-driver-vmwgfx
1917 %defattr(644,root,root,755)
1918 %attr(755,root,root) %{_libdir}/xorg/modules/dri/vmwgfx_dri.so
1919 %endif
1920
1921 %if %{with gallium_zink}
1922 %files dri-driver-zink
1923 %defattr(644,root,root,755)
1924 %attr(755,root,root) %{_libdir}/xorg/modules/dri/zink_dri.so
1925 %endif
1926 %endif
1927
1928 %if %{with gallium}
1929 %if %{with opencl}
1930 %ifarch %{ix86} %{x8664} x32
1931 %if %{with gallium_i915}
1932 %files pipe-driver-i915
1933 %defattr(644,root,root,755)
1934 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_i915.so
1935 %endif
1936
1937 %files pipe-driver-iris
1938 %defattr(644,root,root,755)
1939 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_iris.so
1940 %endif
1941
1942 %ifarch %{arm}
1943 %files pipe-driver-msm
1944 %defattr(644,root,root,755)
1945 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_msm.so
1946 %endif
1947
1948 %if %{with gallium_nouveau}
1949 %files pipe-driver-nouveau
1950 %defattr(644,root,root,755)
1951 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_nouveau.so
1952 %endif
1953
1954 %if %{with gallium_radeon}
1955 %files pipe-driver-r300
1956 %defattr(644,root,root,755)
1957 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r300.so
1958
1959 %files pipe-driver-r600
1960 %defattr(644,root,root,755)
1961 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_r600.so
1962
1963 %files pipe-driver-radeonsi
1964 %defattr(644,root,root,755)
1965 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_radeonsi.so
1966 %endif
1967
1968 %files pipe-driver-swrast
1969 %defattr(644,root,root,755)
1970 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_swrast.so
1971
1972 %files pipe-driver-vmwgfx
1973 %defattr(644,root,root,755)
1974 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
1975 %endif
1976
1977 # currently disabled as cannot be built with swrast
1978 %if %{with swr}
1979 %files swr
1980 %defattr(644,root,root,755)
1981 %attr(755,root,root) %{_libdir}/libswrAVX.so*
1982 %attr(755,root,root) %{_libdir}/libswrAVX2.so*
1983 %endif
1984 %endif
1985
1986 %if %{with nine}
1987 %files d3d
1988 %defattr(644,root,root,755)
1989 %dir %{_libdir}/d3d
1990 %attr(755,root,root) %{_libdir}/d3d/d3dadapter9.so*
1991
1992 %files d3d-devel
1993 %defattr(644,root,root,755)
1994 %{_includedir}/d3dadapter
1995 %{_pkgconfigdir}/d3d.pc
1996 %endif
1997
1998 %if %{with gallium}
1999 # ldconfig is not used in vdpau tree, so package all symlinks
2000 %if %{with gallium_nouveau}
2001 %files -n libvdpau-driver-mesa-nouveau
2002 %defattr(644,root,root,755)
2003 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0.0
2004 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1.0
2005 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so.1
2006 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_nouveau.so
2007 %endif
2008
2009 %if %{with gallium_radeon}
2010 %files -n libvdpau-driver-mesa-r300
2011 %defattr(644,root,root,755)
2012 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0.0
2013 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1.0
2014 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so.1
2015 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r300.so
2016
2017 %files -n libvdpau-driver-mesa-r600
2018 %defattr(644,root,root,755)
2019 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0.0
2020 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1.0
2021 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so.1
2022 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_r600.so
2023
2024 %files -n libvdpau-driver-mesa-radeonsi
2025 %defattr(644,root,root,755)
2026 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
2027 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
2028 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
2029 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
2030 %endif
2031 %endif
2032
2033 %if %{with gallium} && %{with omx}
2034 %files -n omxil-mesa
2035 %defattr(644,root,root,755)
2036 %attr(755,root,root) %{_libdir}/bellagio/libomx_mesa.so
2037 %endif
2038
2039 %ifarch %{arm} aarch64
2040 %files vulkan-icd-broadcom
2041 %defattr(644,root,root,755)
2042 %attr(755,root,root) %{_libdir}/libvulkan_broadcom.so
2043 %{_datadir}/vulkan/icd.d/broadcom_icd.*.json
2044
2045 %files vulkan-icd-freedreno
2046 %defattr(644,root,root,755)
2047 %attr(755,root,root) %{_libdir}/libvulkan_freedreno.so
2048 %{_datadir}/vulkan/icd.d/freedreno_icd.*.json
2049 %endif
2050
2051 %ifarch %{ix86} %{x8664} x32
2052 %files vulkan-icd-intel
2053 %defattr(644,root,root,755)
2054 %attr(755,root,root) %{_libdir}/libvulkan_intel.so
2055 %{_datadir}/vulkan/icd.d/intel_icd.*.json
2056 %endif
2057
2058 %files vulkan-icd-lavapipe
2059 %defattr(644,root,root,755)
2060 %attr(755,root,root) %{_libdir}/libvulkan_lvp.so
2061 %{_datadir}/vulkan/icd.d/lvp_icd.*.json
2062
2063 %if %{with radv}
2064 %files vulkan-icd-radeon
2065 %defattr(644,root,root,755)
2066 %attr(755,root,root) %{_libdir}/libvulkan_radeon.so
2067 %{_datadir}/vulkan/icd.d/radeon_icd.*.json
2068 %endif
This page took 0.361922 seconds and 2 git commands to generate.