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