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