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