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