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