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