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