]> git.pld-linux.org Git - packages/Mesa.git/blobdiff - Mesa.spec
up to 22.3.5
[packages/Mesa.git] / Mesa.spec
index ea16320ad92f890a77be637bb99862e05a51187d..f1ed63cab9cd67ea4bb291dd9be384063e94734a 100644 (file)
--- a/Mesa.spec
+++ b/Mesa.spec
@@ -1,10 +1,13 @@
-# TODO: libtizonia >= 0.10.0 as an alternative for bellagio?
+# TODO:
+# - libtizonia >= 0.10.0 as an alternative for bellagio?
+# - bcond for perfetto peformance analysis? (BR: perfetto)
 #
 # Conditional build:
 %bcond_without gallium         # gallium drivers
-%bcond_with    gallium_i915    # gallium i915 driver instead of dri i915 driver
+%bcond_without gallium_i915    # gallium i915 driver
 %bcond_without gallium_nouveau # gallium nouveau driver
 %bcond_without gallium_radeon  # gallium radeon drivers
+%bcond_without gallium_rusticl # gallium OpenCL frontend
 %bcond_without gallium_zink    # gallium zink driver (based on vulkan)
 %bcond_without egl             # EGL libraries
 %bcond_without gbm             # Graphics Buffer Manager
 %bcond_without opencl          # OpenCL support
 %bcond_without opencl_spirv    # OpenCL SPIRV support
 %bcond_without ocl_icd         # OpenCL as ICD (installable client driver)
-%bcond_with    glvnd           # OpenGL vendor neutral dispatcher support
+%bcond_without glvnd           # OpenGL vendor neutral dispatcher support
 %bcond_without omx             # OpenMAX (Bellagio OMXIL) support
 %bcond_without va              # VA library
 %bcond_without wayland         # Wayland EGL
 %bcond_without xa              # XA state tracker (for vmwgfx xorg driver)
 %bcond_without radv            # disable build of the radeon Vulkan driver
-%bcond_with    swr             # OpenSWR software rasterizer (x86 SIMD only; due to broken design
-                               # propagates AVX code over Gallium DRI megadriver, swrast pipe driver and libOSMesa)
+%bcond_with    sse2            # SSE2 instructions
 %bcond_with    hud_extra       # HUD block/NIC I/O HUD stats support
 %bcond_with    lm_sensors      # HUD lm_sensors support
 %bcond_with    tests           # tests
 # (until they start to be somehow versioned themselves)
 %define                glapi_ver               7.1.0
 # other packages
-%define                libdrm_ver              2.4.107
+%define                libdrm_ver              2.4.110
 %define                dri2proto_ver           2.8
 %define                glproto_ver             1.4.14
 %define                zlib_ver                1.2.8
 %define                wayland_ver             1.18
-%define                libglvnd_ver            1.3.2
+%define                libglvnd_ver            1.3.4-2
 %define                llvm_ver                11.0.0
-%define                gcc_ver                 6:4.8.0
+%define                gcc_ver                 6:5
 
 %if %{without gallium}
 %undefine      with_gallium_i915
 %undefine      with_gallium_nouveau
 %undefine      with_gallium_radeon
+%undefine      with_gallium_rusticl
 %undefine      with_nine
 %undefine      with_omx
 %undefine      with_opencl
-%undefine      with_swr
 %undefine      with_va
 %undefine      with_xa
 %endif
 %endif
 
 %if %{without opencl}
+%undefine      with_gallium_rusticl
 %undefine      with_ocl_icd
 %endif
 
-%ifnarch %{ix86} %{x8664} x32
-%undefine      with_swr
+%if %{with gallium}
+%define                with_vdpau      1
 %endif
 
-%if %{with gallium_radeon} || %{with gallium_nouveau}
-%define                with_vdpau      1
-%define                with_xvmc       1
+%ifarch %{x86_with_sse2}
+%define                with_sse2       1
 %endif
 
 Summary:       Free OpenGL implementation
 Summary(pl.UTF-8):     Wolnodostępna implementacja standardu OpenGL
 Name:          Mesa
-Version:       21.2.3
+Version:       22.3.5
 Release:       1
 License:       MIT (core) and others - see license.html file
 Group:         X11/Libraries
 #Source0:      ftp://ftp.freedesktop.org/pub/mesa/mesa-%{version}.tar.xz
 ## Source0-md5:        7c61a801311fb8d2f7b3cceb7b5cf308
-Source0:       https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-%{version}/mesa-mesa-%{version}.tar.bz2
-# Source0-md5: 081294669ed94b1ee9955f216e79133f
-Patch0:                zink_x32.patch
+Source0:       https://archive.mesa3d.org/mesa-%{version}.tar.xz
+# Source0-md5: fdb35ae46968ce517702037710db6a3f
 URL:           https://www.mesa3d.org/
-%{?with_opencl_spirv:BuildRequires:    SPIRV-LLVM-Translator-devel >= 8.0.1.3}
+%if %{with opencl_spirv} || %{with gallium_rusticl}
+BuildRequires: SPIRV-LLVM-Translator-devel >= 8.0.1.3
+%endif
 %{?with_gallium_zink:BuildRequires:    Vulkan-Loader-devel}
 BuildRequires: bison > 2.3
 %{?with_opencl:BuildRequires:  clang-devel >= %{llvm_ver}}
@@ -89,20 +92,25 @@ BuildRequires:      elfutils-devel
 BuildRequires: expat-devel >= 1.95
 BuildRequires: flex
 BuildRequires: gcc >= %{gcc_ver}
+%ifarch %{armv6}
+BuildRequires: libatomic-devel
+%endif
 BuildRequires: libdrm-devel >= %{libdrm_ver}
 %{?with_glvnd:BuildRequires:   libglvnd-devel >= %{libglvnd_ver}}
 BuildRequires: libselinux-devel
 BuildRequires: libstdc++-devel >= %{gcc_ver}
 BuildRequires: libunwind-devel
 %{?with_va:BuildRequires:      libva-devel}
-%{?with_va:BuildRequires:      pkgconfig(libva) >= 1.1.0}
+%{?with_va:BuildRequires:      pkgconfig(libva) >= 1.8.0}
 %{?with_vdpau:BuildRequires:   libvdpau-devel >= 1.1}
 BuildRequires: libxcb-devel >= 1.13
 %{?with_gallium:BuildRequires: llvm-devel >= %{llvm_ver}}
 %{?with_radv:BuildRequires:    llvm-devel >= %{llvm_ver}}
-%{?with_opencl:BuildRequires:  llvm-libclc}
+%if %{with opencl} || %{with gallium_rusticl}
+BuildRequires: llvm-libclc
+%endif
 %{?with_omx:BuildRequires:     libomxil-bellagio-devel}
-BuildRequires: meson >= 0.52
+BuildRequires: meson >= 0.61.4
 BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig
 BuildRequires: pkgconfig(talloc) >= 2.0.1
@@ -113,25 +121,30 @@ BuildRequires:    pkgconfig(xcb-present) >= 1.13
 BuildRequires: pkgconfig(xcb-randr) >= 1.12
 BuildRequires: python3 >= 1:3.2
 BuildRequires: python3-Mako >= 0.8.0
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.007
+%{?with_gallium_rusticl:BuildRequires: rust >= 1.59}
+%{?with_gallium_rusticl:BuildRequires: rust-bindgen >= 0.58.0}
 BuildRequires: sed >= 4.0
-%{?with_opencl_spirv:BuildRequires:    spirv-tools-devel >= 2018.0}
+%if %{with opencl_spirv} || %{with gallium_rusticl}
+BuildRequires: spirv-tools-devel >= 2018.0
+%endif
+BuildRequires: tar >= 1:1.22
+BuildRequires: udev-devel
 # wayland-{client,server}
 %{?with_wayland:BuildRequires: wayland-devel >= %{wayland_ver}}
-%{?with_wayland:BuildRequires: wayland-protocols >= 1.8}
+%{?with_wayland:BuildRequires: wayland-protocols >= 1.24}
 %{?with_wayland:BuildRequires: wayland-egl-devel >= %{wayland_ver}}
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXext-devel >= 1.0.5
 BuildRequires: xorg-lib-libXfixes-devel >= 2.0
 BuildRequires: xorg-lib-libXrandr-devel >= 1.3
-BuildRequires: xorg-lib-libXv-devel
-%{?with_xvmc:BuildRequires:    xorg-lib-libXvMC-devel >= 1.0.6}
 BuildRequires: xorg-lib-libXxf86vm-devel
 BuildRequires: xorg-lib-libxshmfence-devel >= 1.1
 BuildRequires: xorg-proto-dri2proto-devel >= %{dri2proto_ver}
 BuildRequires: xorg-proto-glproto-devel >= %{glproto_ver}
 %if %{with gallium}
 %{?with_lm_sensors:BuildRequires:      lm_sensors-devel}
+BuildRequires: xz
 %endif
 BuildRequires: zlib-devel >= %{zlib_ver}
 BuildRequires: zstd-devel
@@ -232,6 +245,7 @@ Provides:   OpenGL-GLX = 1.4
 Obsoletes:     Mesa < 6.4-2
 Obsoletes:     Mesa-dri < 6.4.1-3
 Obsoletes:     Mesa-dri-core < 10.0.0
+Obsoletes:     Mesa-swr < 22
 Obsoletes:     X11-OpenGL-libGL < 1:7.0.0
 Obsoletes:     XFree86-OpenGL-libGL < 1:7.0.0
 
@@ -354,7 +368,6 @@ Summary:    OSMesa (off-screen renderer) library
 Summary(pl.UTF-8):     Biblioteka OSMesa (renderująca bitmapy w pamięci)
 License:       MIT
 Group:         Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
 Requires:      zlib >= %{zlib_ver}
 
 %description libOSMesa
@@ -458,6 +471,39 @@ Group:             Libraries
 Requires:      %{name}-libglapi = %{version}-%{release}
 Conflicts:     Mesa-libEGL < 8.0.1-2
 
+%package Rusticl-icd
+Summary:       Rusticl implementation of OpenCL (Compuing Language) API ICD
+Summary(pl.UTF-8):     Implementacja Rusticl API OpenCL (języka obliczeń) ICD
+License:       MIT
+Group:         Libraries
+Requires:      filesystem >= 4.0-29
+Requires:      libdrm >= %{libdrm_ver}
+Requires:      llvm-libclc
+Requires:      zlib >= %{zlib_ver}
+Provides:      OpenCL = 3.0
+Provides:      ocl-icd-driver
+
+%description Rusticl-icd
+This package contains Rusticl implementation of OpenCL - standard for
+cross-platform, parallel programming of modern processors found in
+personal computers, servers and handheld/embedded devices. OpenCL
+specification can be found on Khronos Group site:
+<http://www.khronos.org/opencl/>. Rusticl implements OpenCL 3.0.
+
+The implementation is provided as an installable client driver (ICD)
+for use with the ocl-icd loader.
+
+%description Rusticl-icd -l pl.UTF-8
+Ten pakiet zawiera implementację Rusticl standardu OpenCL - standardu
+wieloplatformowego, równoległego programowania nowoczesnych
+procesorów, jakie znajdują się w komputerach osobistych, serwerach
+oraz urządzeniach przenośnych/wbudowanych. Specyfikację OpenCL można
+znaleźć na stronie Khronos Group: <http://www.khronos.org/opencl/>.
+Rusticl zawiera implementację OpenCL w wersji 3.0.
+
+Implementacja dostarczona jest w postaci instalowalnego sterownika
+klienta (ICD), który może być użyty z loaderem ocl-icd.
+
 %description libgbm
 Mesa Graphics Buffer Manager library.
 
@@ -538,7 +584,7 @@ Requires:   libdrm-devel >= %{libdrm_ver}
 # <GL/gl.h>
 %if %{with glvnd}
 Requires:      libglvnd-libGL-devel >= %{libglvnd_ver}
-Conflicts:     Mesa-libGL-devel < 22.1.0-2
+Conflicts:     Mesa-libGL-devel < 21.1.0-2
 %else
 Requires:      Mesa-libGL-devel = %{version}-%{release}
 %endif
@@ -549,40 +595,6 @@ Direct Rendering Infrastructure interface header file.
 %description dri-devel -l pl.UTF-8
 Plik nagłówkowy interfejsu DRI (Direct Rendering Infrastructure).
 
-%package libXvMC-nouveau
-Summary:       Mesa implementation of XvMC API for NVidia adapters
-Summary(pl.UTF-8):     Implementacja Mesa API XvMC dla kart NVidia
-License:       MIT
-Group:         Libraries
-Requires:      libdrm >= %{libdrm_ver}
-Requires:      xorg-lib-libXvMC >= 1.0.6
-Requires:      zlib >= %{zlib_ver}
-Conflicts:     Mesa-libXvMC
-
-%description libXvMC-nouveau
-Mesa implementation of XvMC API for NVidia adapters (NV40-NV96, NVa0).
-
-%description libXvMC-nouveau -l pl.UTF-8
-Implementacja Mesa API XvMC dla kart NVidia (NV40-NV96, NVa0).
-
-%package libXvMC-r600
-Summary:       Mesa implementation of XvMC API for ATI Radeon R600 series adapters
-Summary(pl.UTF-8):     Implementacja Mesa API XvMC dla kart ATI Radeon z serii R600
-License:       MIT
-Group:         Libraries
-Requires:      libdrm >= %{libdrm_ver}
-Requires:      xorg-lib-libXvMC >= 1.0.6
-Requires:      zlib >= %{zlib_ver}
-Conflicts:     Mesa-libXvMC
-
-%description libXvMC-r600
-Mesa implementation of XvMC API for ATI Radeon adapters based on
-R600/R700 chips.
-
-%description libXvMC-r600 -l pl.UTF-8
-Implementacja Mesa API XvMC dla kart ATI Radeon opartych na układach
-R600/R700.
-
 %package d3d
 Summary:       Nine Direct3D9 driver (for Wine)
 Summary(pl.UTF-8):     Sterownik Direct3D9 Nine (dla Wine)
@@ -608,55 +620,17 @@ Nine Direct3D9 driver API.
 %description d3d-devel -l pl.UTF-8
 API sterownika Direct3D9 Nine.
 
-%package dri-driver-ati-radeon-R100
-Summary:       X.org DRI driver for ATI R100 card family
-Summary(pl.UTF-8):     Sterownik X.org DRI dla rodziny kart ATI R100
-License:       MIT
-Group:         X11/Libraries
-Requires:      xorg-driver-video-ati
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
-Requires:      zlib >= %{zlib_ver}
-Obsoletes:     X11-driver-radeon-dri < 1:7.0.0
-
-%description dri-driver-ati-radeon-R100
-X.org DRI driver for ATI R100 card family (Radeon 7000-7500). It
-supports R100, RV100, RS100, RV200, RS200, RS250.
-
-%description dri-driver-ati-radeon-R100 -l pl.UTF-8
-Sterownik X.org DRI dla rodziny kart ATI R100 (Radeon 7000-7500).
-Obsługuje układy R100, RV100, RS100, RV200, RS200, RS250.
-
-%package dri-driver-ati-radeon-R200
-Summary:       X.org DRI driver for ATI R200 card family
-Summary(pl.UTF-8):     Sterownik X.org DRI dla rodziny kart ATI R200
-License:       MIT
-Group:         X11/Libraries
-Requires:      xorg-driver-video-ati
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
-Requires:      zlib >= %{zlib_ver}
-Obsoletes:     X11-driver-radeon-dri < 1:7.0.0
-
-%description dri-driver-ati-radeon-R200
-X.org DRI driver for ATI R200 card family (Radeon 8500-92xx). It
-supports R200, RV250, RV280, RS300, RS350 chips.
-
-%description dri-driver-ati-radeon-R200 -l pl.UTF-8
-Sterownik X.org DRI dla rodziny kart ATI R200 (Radeon 8500-92xx).
-Obsługuje układy R200, RV250, RV280, RS300, RS350.
-
 %package dri-driver-ati-radeon-R300
 Summary:       X.org DRI driver for ATI R300 card family
 Summary(pl.UTF-8):     Sterownik X.org DRI dla rodziny kart ATI R300
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-Requires:      xorg-driver-video-ati
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Suggests:      xorg-driver-video-amdgpu
+Suggests:      xorg-driver-video-ati
 Obsoletes:     X11-driver-radeon-dri < 1:7.0.0
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-ati-radeon-R300
 X.org Gallium DRI driver for ATI R300/R400/RS690/R500 card family
@@ -677,12 +651,12 @@ Summary:  X.org DRI driver for ATI R600 card family
 Summary(pl.UTF-8):     Sterownik X.org DRI dla rodziny kart ATI R600
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
 Requires:      radeon-ucode
-Requires:      xorg-driver-video-ati
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Suggests:      xorg-driver-video-amdgpu
+Suggests:      xorg-driver-video-ati
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-ati-radeon-R600
 X.org Gallium DRI driver for ATI R600/R700 card family (Radeon HD
@@ -703,12 +677,12 @@ Summary:  X.org DRI driver for ATI Southern Islands card family
 Summary(pl.UTF-8):     Sterownik X.org DRI dla rodziny kart ATI Southern Islands
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
 Requires:      radeon-ucode
-Requires:      xorg-driver-video-ati
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Suggests:      xorg-driver-video-amdgpu
+Suggests:      xorg-driver-video-ati
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-ati-radeon-SI
 X.org Gallium DRI driver for ATI Southern Islands card family (Radeon
@@ -727,11 +701,10 @@ Summary:  X.org DRI driver for Vivante 3D chips
 Summary(pl.UTF-8):     Sterownik X.org DRI dla układów Vivante 3D
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-#Requires:     xorg-driver-video-?
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+#Suggests:     xorg-driver-video-?
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-etnaviv
 X.org Gallium DRI driver for Vivante 3D chips.
@@ -744,11 +717,10 @@ Summary:  X.org DRI driver for Adreno chips
 Summary(pl.UTF-8):     Sterownik X.org DRI dla układów Adreno
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-Requires:      xorg-driver-video-freedreno
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Suggests:      xorg-driver-video-freedreno
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-freedreno
 X.org Gallium DRI driver for Adreno chips.
@@ -761,10 +733,10 @@ Summary:  X.org DRI driver for Intel Gen4-Gen7 chips
 Summary(pl.UTF-8):     Sterownik X.org DRI dla układów Intel Gen4-Gen7
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Obsoletes:     Mesa-dri-driver-intel-i965 < 22.0.0
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-intel-crocus
 X.org Gallium DRI driver for Intel Gen4/Gen5/Gen6/Gen7 chips.
@@ -777,14 +749,11 @@ Summary:  X.org DRI driver for Intel i915 card family
 Summary(pl.UTF-8):     Sterownik X.org DRI dla rodziny kart Intel i915
 License:       MIT
 Group:         X11/Libraries
-%if %{with gallium_i915}
-%{?with_swr:Requires:  cpuinfo(avx)}
-%endif
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
 Obsoletes:     Mesa-dri-driver-intel-i830 < 6.5
 Obsoletes:     X11-driver-i810-dri < 1:7.0.0
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-intel-i915
 X.org DRI driver for Intel i915 card family (830, 845, 852/855, 865,
@@ -794,42 +763,14 @@ X.org DRI driver for Intel i915 card family (830, 845, 852/855, 865,
 Sterownik X.org DRI dla rodziny kart Intel i915 (830, 845, 852/855,
 865, 915, 945, G33, Q33, Q35, Pineview).
 
-%package dri-driver-intel-i965
-Summary:       X.org DRI driver for Intel i965 card family
-Summary(pl.UTF-8):     Sterownik X.org DRI dla rodziny kart Intel i965
-License:       MIT
-Group:         X11/Libraries
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
-Requires:      zlib >= %{zlib_ver}
-Obsoletes:     Mesa-dri-driver-intel-i830 < 6.5
-Obsoletes:     X11-driver-i810-dri < 1:7.0.0
-
-%description dri-driver-intel-i965
-X.org (non-Gallium) DRI driver for Intel i965 card family (946GZ,
-965G, 965Q, 965GM, 965GME, GM45, G41, B43, Q45/Q43, G45/G43, Ironlake,
-Sandybridge, Ivybridge, Haswell, Ray Trail, Broadwell, Cherrytrail,
-Braswell, Cherryview, Skylake, Broxton, Kabylake, Coffeelake,
-Geminilake, Whiskey Lake, Comet Lake, Cannonlake, Ice Lake, Elkhart
-Lake).
-
-%description dri-driver-intel-i965 -l pl.UTF-8
-Sterownik X.org DRI (nie Gallium) dla rodziny kart Intel i965 (946GZ,
-965G, 965Q, 965GM, 965GME, GM45, G41, B43, Q45/Q43, G45/G43, Ironlake,
-Sandybridge, Ivybridge, Haswell, Ray Trail, Broadwell, Cherrytrail,
-Braswell, Cherryview, Skylake, Broxton, Kabylake, Coffeelake,
-Geminilake, Whiskey Lake, Comet Lake, Cannonlake, Ice Lake, Elkhart
-Lake).
-
 %package dri-driver-intel-iris
 Summary:       X.org DRI driver for Intel Iris (Gen8+) card family
 Summary(pl.UTF-8):     Sterownik X.org DRI dla rodziny kart Intel Iris (Gen8+)
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-intel-iris
 X.org Gallium DRI driver for Intel Iris (Gen8+) card family
@@ -846,11 +787,10 @@ Summary:  X.org Gallium DRI driver using KMS Render-Only architecture
 Summary(pl.UTF-8):     Sterownik X.org DRI Gallium wykorzystujący architekturę KMS Render-Only
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-#Requires:     xorg-driver-video-?
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+#Suggests:     xorg-driver-video-?
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-kmsro
 X.org Gallium DRI driver using KMS Render-Only architecture.
@@ -864,11 +804,10 @@ Summary:  X.org DRI driver for Mali Utgard chips
 Summary(pl.UTF-8):     Sterownik X.org DRI dla układów Mali Utgard
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-#Requires:     xorg-driver-video-???
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+#Suggests:     xorg-driver-video-???
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-lima
 X.org Gallium DRI driver for Mali Utgard chips.
@@ -881,13 +820,10 @@ Summary:  X.org DRI driver for NVIDIA card family
 Summary(pl.UTF-8):     Sterownik X.org DRI dla rodziny kart NVIDIA
 License:       MIT
 Group:         X11/Libraries
-%if %{with gallium_nouveau}
-%{?with_swr:Requires:  cpuinfo(avx)}
-%endif
-Requires:      xorg-driver-video-nouveau
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Suggests:      xorg-driver-video-nouveau
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-nouveau
 X.org DRI drivers for NVIDIA card family.
@@ -900,11 +836,10 @@ Summary:  X.org DRI driver for Mali Midgard/Bifrost chips
 Summary(pl.UTF-8):     Sterownik X.org DRI dla układów Mali Midgard/Bifrost
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-#Requires:     xorg-driver-video-???
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+#Suggests:     xorg-driver-video-???
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-panfrost
 X.org Gallium DRI driver for Mali Midgard/Bifrost chips.
@@ -917,10 +852,9 @@ Summary:   X.org DRI software rasterizer driver
 Summary(pl.UTF-8):     Sterownik X.org DRI obsługujący rysowanie programowe
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-swrast
 X.org DRI software rasterizer driver.
@@ -933,11 +867,10 @@ Summary:  X.org DRI driver for Tegra SoC chips
 Summary(pl.UTF-8):     Sterownik X.org DRI dla układów SoC Tegra
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-#Requires:     xorg-driver-video-???
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+#Suggests:     xorg-driver-video-???
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-tegra
 X.org Gallium DRI driver for Tegra SoC chips.
@@ -950,11 +883,10 @@ Summary:  X.org DRI driver for Broadcom VC5 chips
 Summary(pl.UTF-8):     Sterownik X.org DRI dla układów Broadcom VC5
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-Requires:      xorg-driver-video-modesetting
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Suggests:      xorg-driver-video-modesetting
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-v3d
 X.org Gallium DRI driver for Broadcom VC5 chips.
@@ -967,11 +899,10 @@ Summary:  X.org DRI driver for Broadcom VC4 chips
 Summary(pl.UTF-8):     Sterownik X.org DRI dla układów Broadcom VC4
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-Requires:      xorg-driver-video-modesetting
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Suggests:      xorg-driver-video-modesetting
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-vc4
 X.org Gallium DRI driver for Broadcom VC4 chips.
@@ -984,10 +915,9 @@ Summary:   X.org DRI driver for QEMU VirGL
 Summary(pl.UTF-8):     Sterownik X.org DRI dla QEMU VirGL
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-virgl
 X.org Gallium DRI driver for QEMU VirGL.
@@ -1000,11 +930,10 @@ Summary: X.org DRI driver for VMware
 Summary(pl.UTF-8):     Sterownik X.org DRI dla VMware
 License:       MIT
 Group:         X11/Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
-Requires:      xorg-driver-video-vmware
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Suggests:      xorg-driver-video-vmware
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-vmwgfx
 X.org Gallium DRI driver for VMWare.
@@ -1017,9 +946,9 @@ Summary:   X.org DRI driver based on Vulkan
 Summary(pl.UTF-8):     Sterownik X.org DRI oparty na Vulkanie
 License:       MIT
 Group:         X11/Libraries
-Requires:      xorg-xserver-libglx(glapi) = %{glapi_ver}
-Requires:      xorg-xserver-server >= %{xserver_ver}
 Requires:      zlib >= %{zlib_ver}
+Conflicts:     xorg-xserver-libglx(glapi) > %{glapi_ver}
+Conflicts:     xorg-xserver-libglx(glapi) < %{glapi_ver}
 
 %description dri-driver-zink
 X.org Gallium DRI driver based on Vulkan.
@@ -1175,7 +1104,6 @@ Southern Islands.
 Summary:       Software (swrast) driver for Mesa Gallium dynamic pipe loader
 Summary(pl.UTF-8):     Sterownik programowy (swrast) dla dynamicznego systemu potoków szkieletu Mesa Gallium
 Group:         Libraries
-%{?with_swr:Requires:  cpuinfo(avx)}
 Requires:      zlib >= %{zlib_ver}
 Obsoletes:     Mesa-gbm-driver-swrast < 11.1.1
 Obsoletes:     Mesa-opencl-driver-swrast < 9.1
@@ -1203,23 +1131,6 @@ virtual video adapter.
 Sterownik vmwgfx dla dynamicznego systemu potoków szkieletu Mesa
 Gallium. Obsługuje wirtualną kartę graficzną VMware.
 
-%package swr
-Summary:       OpenSWR software rasterizer modules for Mesa
-Summary(pl.UTF-8):     Moduły programowego rasteryzera OpenSWR dla Mesy
-Group:         Libraries
-Requires:      cpuinfo(avx)
-Requires:      zlib >= %{zlib_ver}
-
-%description swr
-OpenSWR software rasterizer modules for Mesa, utilizing x86 AVX or
-VX2 instruction sets. They can be loaded by swrast pipe driver or
-OSMesa library.
-
-%description swr -l pl.UTF-8
-Moduły programowego rasteryzera OpenSWR dla Mesy, wykorzystujące
-zestawy instrukcji x86 AVX lub AVX2. Mogą być wczytywane przez
-sterownik potoków swrast lub bibliotekę OSMesa.
-
 %package -n libva-driver-gallium
 Summary:       VA driver for Gallium State Tracker
 Summary(pl.UTF-8):     Sterowniki VA do Gallium
@@ -1242,7 +1153,7 @@ Sterowniki VA do Gallium (r600, radeonsi & nouveau).
 Summary:       VA driver for ATI Radeon R600 series adapters
 Summary(pl.UTF-8):     Sterownik VA dla kart ATI Radeon z serii R600
 Group:         Libraries
-Requires:      libva >= 1.6.0
+Requires:      libva >= 1.8.0
 Requires:      zlib >= %{zlib_ver}
 
 %description -n libva-driver-r600
@@ -1255,7 +1166,7 @@ Sterownik VA dla kart ATI Radeon z serii R600.
 Summary:       VA driver for ATI Radeon SI adapters
 Summary(pl.UTF-8):     Sterownik VA dla kart ATI Radeon SI
 Group:         Libraries
-Requires:      libva >= 1.6.0
+Requires:      libva >= 1.8.0
 Requires:      zlib >= %{zlib_ver}
 
 %description -n libva-driver-radeonsi
@@ -1269,7 +1180,7 @@ Islands.
 Summary:       VA driver for NVidia adapters
 Summary(pl.UTF-8):     Sterownik VA dla kart NVidia
 Group:         Libraries
-Requires:      libva >= 1.6.0
+Requires:      libva >= 1.8.0
 Requires:      zlib >= %{zlib_ver}
 
 %description -n libva-driver-nouveau
@@ -1278,6 +1189,19 @@ VA driver for NVidia adapters.
 %description -n libva-driver-nouveau -l pl.UTF-8
 Sterownik VA dla kart NVidia.
 
+%package -n libva-driver-virtio
+Summary:       VA driver for VirtIO adapters
+Summary(pl.UTF-8):     Sterownik VA dla kart VirtIO
+Group:         Libraries
+Requires:      libva >= 1.8.0
+Requires:      zlib >= %{zlib_ver}
+
+%description -n libva-driver-virtio
+VA driver for VirtIO adapters.
+
+%description -n libva-driver-virtio -l pl.UTF-8
+Sterownik VA dla kart VirtIO.
+
 %package -n libvdpau-driver-mesa-nouveau
 Summary:       Mesa nouveau driver for the vdpau API
 Summary(pl.UTF-8):     Sterownik Mesa nouveau dla API vdpau
@@ -1340,8 +1264,8 @@ Group:            X11/Libraries
 Requires:      libdrm >= %{libdrm_ver}
 Requires:      libvdpau >= 1.1
 Requires:      zlib >= %{zlib_ver}
-Conflicts:     libvdpau-driver-mesa
 Obsoletes:     Mesa-libllvmradeon < 9.2
+Conflicts:     libvdpau-driver-mesa
 
 %description -n libvdpau-driver-mesa-radeonsi
 Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
@@ -1351,14 +1275,29 @@ adapters based on Southern Islands chips.
 Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
 oparte na układach Southern Islands.
 
+%package -n libvdpau-driver-mesa-virtio
+Summary:       Mesa virtio driver for the vdpau API
+Summary(pl.UTF-8):     Sterownik Mesa virtio dla API vdpau
+License:       MIT
+Group:         X11/Libraries
+Requires:      libdrm >= %{libdrm_ver}
+Requires:      libvdpau >= 1.1
+Requires:      zlib >= %{zlib_ver}
+
+%description -n libvdpau-driver-mesa-virtio
+Mesa virtio driver for the vdpau API.
+
+%description -n libvdpau-driver-mesa-virtio -l pl.UTF-8
+Sterownik Mesa virtio dla API vdpau.
+
 %package -n omxil-mesa
 Summary:       Mesa driver for Bellagio OpenMAX IL API
 Summary(pl.UTF-8):     Sterownik Mesa nouveau dla API Bellagio OpenMAX IL
 License:       MIT
 Group:         X11/Libraries
 Requires:      libdrm >= %{libdrm_ver}
-Requires:      libxcb >= 1.13
 Requires:      libomxil-bellagio
+Requires:      libxcb >= 1.13
 Requires:      zlib >= %{zlib_ver}
 Obsoletes:     omxil-mesa-nouveau < 10.3
 Obsoletes:     omxil-mesa-r600 < 10.3
@@ -1383,7 +1322,7 @@ Requires: xorg-lib-libxshmfence >= 1.1
 Requires:      wayland >= %{wayland_ver}
 Requires:      zlib >= %{zlib_ver}
 Suggests:      vulkan(loader)
-Provides:      vulkan(icd) = 1.0.3
+Provides:      vulkan(icd) = 1.1.204
 
 %description vulkan-icd-broadcom
 v3dv - Mesa Vulkan driver for Raspberry Pi 4.
@@ -1404,7 +1343,7 @@ Requires: xorg-lib-libxshmfence >= 1.1
 Requires:      wayland >= %{wayland_ver}
 Requires:      zlib >= %{zlib_ver}
 Suggests:      vulkan(loader)
-Provides:      vulkan(icd) = 1.0.3
+Provides:      vulkan(icd) = 1.1.204
 
 %description vulkan-icd-freedreno
 turnip - Mesa Vulkan driver for Adreno chips.
@@ -1412,6 +1351,27 @@ turnip - Mesa Vulkan driver for Adreno chips.
 %description vulkan-icd-freedreno -l pl.UTF-8
 turnip - sterownik Vulkan dla układów Adreno.
 
+%package vulkan-icd-powervr
+Summary:       powervr - Mesa Vulkan driver for Imagination Technologies Rogue GPUs
+Summary(pl.UTF-8):     powervr - sterownik Vulkan dla układów Imagination Technologies Rogue
+License:       MIT
+Group:         Libraries
+Requires:      libdrm >= %{libdrm_ver}
+Requires:      libxcb >= 1.13
+Requires:      xorg-lib-libXrandr >= 1.3
+Requires:      xorg-lib-libxshmfence >= 1.1
+# wayland-client
+Requires:      wayland >= %{wayland_ver}
+Requires:      zlib >= %{zlib_ver}
+Suggests:      vulkan(loader)
+Provides:      vulkan(icd) = 1.1.204
+
+%description vulkan-icd-powervr
+powervr - Mesa Vulkan driver for Imagination Technologies Rogue GPUs.
+
+%description vulkan-icd-powervr -l pl.UTF-8
+powervr - sterownik Vulkan dla układów Imagination Technologies Rogue.
+
 %package vulkan-icd-intel
 Summary:       Mesa Vulkan driver for Intel GPUs
 Summary(pl.UTF-8):     Sterownik Vulkan dla GPU firmy Intel
@@ -1425,7 +1385,7 @@ Requires: xorg-lib-libxshmfence >= 1.1
 Requires:      wayland >= %{wayland_ver}
 Requires:      zlib >= %{zlib_ver}
 Suggests:      vulkan(loader)
-Provides:      vulkan(icd) = 1.0.3
+Provides:      vulkan(icd) = 1.3.204
 Obsoletes:     Mesa-vulkan-icd-intel-devel < 21.1.0
 
 %description vulkan-icd-intel
@@ -1447,7 +1407,7 @@ Requires: xorg-lib-libxshmfence >= 1.1
 Requires:      wayland >= %{wayland_ver}
 Requires:      zlib >= %{zlib_ver}
 Suggests:      vulkan(loader)
-Provides:      vulkan(icd) = 1.0.3
+Provides:      vulkan(icd) = 1.1.204
 
 %description vulkan-icd-lavapipe
 lavapipe - Mesa software Vulkan driver.
@@ -1468,7 +1428,7 @@ Requires: xorg-lib-libxshmfence >= 1.1
 Requires:      wayland >= %{wayland_ver}
 Requires:      zlib >= %{zlib_ver}
 Suggests:      vulkan(loader)
-Provides:      vulkan(icd) = 1.0.3
+Provides:      vulkan(icd) = 1.1.204
 
 %description vulkan-icd-panfrost
 panfrost - Mesa Vulkan driver for Mali Midgard and Bifrost GPUs.
@@ -1489,7 +1449,7 @@ Requires: xorg-lib-libxshmfence >= 1.1
 Requires:      wayland >= %{wayland_ver}
 Requires:      zlib >= %{zlib_ver}
 Suggests:      vulkan(loader)
-Provides:      vulkan(icd) = 1.0.3
+Provides:      vulkan(icd) = 1.3.204
 
 %description vulkan-icd-radeon
 radv - experimental Mesa Vulkan driver for AMD Radeon GPUs.
@@ -1498,8 +1458,7 @@ radv - experimental Mesa Vulkan driver for AMD Radeon GPUs.
 radv - eksperymentalny sterownik Vulkan dla GPU firmy AMD.
 
 %prep
-%setup -q -n mesa-mesa-%{version}
-%patch0 -p1
+%setup -q -n mesa-%{version}
 
 %build
 %if %{with opencl}
@@ -1509,20 +1468,10 @@ if [ "$(llvm-config --has-rtti)" != "YES" ] ; then
 fi
 %endif
 
-dri_drivers="nouveau r100 r200 \
-%if %{without gallium}
-swrast
-%endif
-%ifarch %{ix86} %{x8664} x32
-i965 %{!?with_gallium_i915:i915} \
-%endif
-"
-
-dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
 
 gallium_drivers="virgl swrast %{?with_gallium_zink:zink} \
 %ifarch %{ix86} %{x8664} x32
-svga iris %{?with_swr:swr} %{?with_gallium_i915:i915} crocus \
+svga iris %{?with_gallium_i915:i915} crocus \
 %endif
 %if %{with gallium_radeon}
 r300 r600 radeonsi \
@@ -1540,6 +1489,7 @@ v3d \
 vc4 \
 %endif
 "
+# TODO: asahi (Apple Silicon) - arm/aarch64?
 
 gallium_drivers=$(echo $gallium_drivers | xargs | tr ' ' ',')
 
@@ -1548,16 +1498,21 @@ vulkan_drivers="swrast %{?with_radv:amd} \
 intel \
 %endif
 %ifarch %{arm} aarch64
-freedreno broadcom panfrost \
+freedreno broadcom imagination-experimental panfrost \
 %endif
 "
 
 vulkan_drivers=$(echo $vulkan_drivers | xargs | tr ' ' ',')
 
+%if %{with gallium_rusticl}
+%ifarch %{arm32_with_hf}
+export BINDGEN_EXTRA_CLANG_ARGS="-mfloat-abi=hard"
+%endif
+%endif
+
 %meson build \
        -Dplatforms=x11%{?with_wayland:,wayland} \
        -Ddri3=enabled \
-       -Ddri-drivers=${dri_drivers} \
        -Ddri-drivers-path=%{_libdir}/xorg/modules/dri \
        -Degl=%{?with_egl:enabled}%{!?with_egl:disabled} \
        -Dgallium-drivers=${gallium_drivers} \
@@ -1570,12 +1525,12 @@ vulkan_drivers=$(echo $vulkan_drivers | xargs | tr ' ' ',')
 %else
        -Dgallium-opencl=standalone \
 %endif
+       %{?with_gallium_rusticl:-Dgallium-rusticl=true -Drust_std=2021} \
 %else
        -Dgallium-opencl=disabled \
 %endif
        -Dgallium-va=%{?with_va:enabled}%{!?with_va:disabled} \
        %{?with_vdpau:-Dgallium-vdpau=enabled} \
-       %{?with_xvmc:-Dgallium-xvmc=enabled} \
        -Dgallium-xa=%{?with_xa:enabled}%{!?with_xa:disabled} \
        -Dgbm=%{?with_gbm:enabled}%{!?with_gbm:disabled} \
        -Dglvnd=%{?with_glvnd:true}%{!?with_glvnd:false} \
@@ -1584,9 +1539,15 @@ vulkan_drivers=$(echo $vulkan_drivers | xargs | tr ' ' ',')
        %{?with_opencl_spirv:-Dopencl-spirv=true} \
        -Dosmesa=true \
        -Dselinux=true \
+       -Dsse2=%{__true_false sse2} \
        -Dva-libs-path=%{_libdir}/libva/dri \
+       -Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec \
        -Dvulkan-drivers=${vulkan_drivers} \
-       -Dvulkan-icd-dir=/usr/share/vulkan/icd.d
+       -Dvulkan-icd-dir=/usr/share/vulkan/icd.d \
+%ifarch %{arm} aarch64
+       -Dfreedreno-virtio=true \
+       -Dimagination-srv=true
+%endif
 
 %ninja_build -C build
 
@@ -1597,6 +1558,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %ninja_install -C build
 
+install -d $RPM_BUILD_ROOT%{_libdir}/gbm
+
 # not used externally
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libglapi.so
 
@@ -1636,11 +1599,6 @@ rm -rf $RPM_BUILD_ROOT
 %post  libxatracker -p /sbin/ldconfig
 %postun        libxatracker -p /sbin/ldconfig
 
-%post  libXvMC-nouveau -p /sbin/ldconfig
-%postun        libXvMC-nouveau -p /sbin/ldconfig
-%post  libXvMC-r600 -p /sbin/ldconfig
-%postun        libXvMC-r600 -p /sbin/ldconfig
-
 ### libraries
 
 %if %{with egl}
@@ -1667,7 +1625,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/EGL/eglplatform.h
 %{_pkgconfigdir}/egl.pc
 %endif
-%{_includedir}/EGL/eglextchromium.h
+%{_includedir}/EGL/eglext_angle.h
 %{_includedir}/EGL/eglmesaext.h
 %endif
 
@@ -1733,6 +1691,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/osmesa.pc
 
 %if %{with opencl}
+%if %{with gallium_rusticl}
+%files Rusticl-icd
+%defattr(644,root,root,755)
+/etc/OpenCL/vendors/rusticl.icd
+%attr(755,root,root) %{_libdir}/libRusticlOpenCL.so
+%attr(755,root,root) %{_libdir}/libRusticlOpenCL.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libRusticlOpenCL.so.1
+%endif
 %if %{with ocl_icd}
 %files OpenCL-icd
 %defattr(644,root,root,755)
@@ -1762,6 +1728,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgbm.so.*.*
 %attr(755,root,root) %ghost %{_libdir}/libgbm.so.1
+%dir %{_libdir}/gbm
 
 %files libgbm-devel
 %defattr(644,root,root,755)
@@ -1805,24 +1772,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/GL/internal/dri_interface.h
 %{_pkgconfigdir}/dri.pc
 
-### drivers: XvMC
-
-%if %{with gallium_nouveau}
-%files libXvMC-nouveau
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libXvMCnouveau.so.1.*.*
-%attr(755,root,root) %ghost %{_libdir}/libXvMCnouveau.so.1
-%attr(755,root,root) %{_libdir}/libXvMCnouveau.so
-%endif
-
-%if %{with gallium_radeon}
-%files libXvMC-r600
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libXvMCr600.so.1.*.*
-%attr(755,root,root) %ghost %{_libdir}/libXvMCr600.so.1
-%attr(755,root,root) %{_libdir}/libXvMCr600.so
-%endif
-
 ### drivers: d3d
 
 %if %{with nine}
@@ -1839,14 +1788,6 @@ rm -rf $RPM_BUILD_ROOT
 
 ### drivers: dri
 
-%files dri-driver-ati-radeon-R100
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/xorg/modules/dri/radeon_dri.so
-
-%files dri-driver-ati-radeon-R200
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/xorg/modules/dri/r200_dri.so
-
 %if %{with gallium_radeon}
 %files dri-driver-ati-radeon-R300
 %defattr(644,root,root,755)
@@ -1864,13 +1805,8 @@ rm -rf $RPM_BUILD_ROOT
 %ifarch %{ix86} %{x8664} x32
 %files dri-driver-intel-i915
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/xorg/modules/dri/i830_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so
 
-%files dri-driver-intel-i965
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/xorg/modules/dri/i965_dri.so
-
 %if %{with gallium}
 %files dri-driver-intel-crocus
 %defattr(644,root,root,755)
@@ -1884,7 +1820,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files dri-driver-nouveau
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_vieux_dri.so
 %if %{with gallium_nouveau}
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/nouveau_dri.so
 %endif
@@ -1916,7 +1851,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/ili9341_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/imx-dcss_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/imx-drm_dri.so
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/imx-lcdif_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/ingenic-drm_dri.so
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/kirin_dri.so
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/komeda_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mali-dp_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mcde_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mediatek_dri.so
@@ -1924,6 +1862,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mi0283qt_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/mxsfb-drm_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/pl111_dri.so
+%attr(755,root,root) %{_libdir}/xorg/modules/dri/rcar-du_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/repaper_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/rockchip_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/st7586_dri.so
@@ -2031,14 +1970,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
 %endif
 %endif
-
-# currently disabled as cannot be built with swrast
-%if %{with swr}
-%files swr
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libswrAVX.so*
-%attr(755,root,root) %{_libdir}/libswrAVX2.so*
-%endif
 %endif
 
 ### drivers: va
@@ -2062,6 +1993,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libva/dri/nouveau_drv_video.so
 %endif
+
+%files -n libva-driver-virtio
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libva/dri/virtio_gpu_drv_video.so
 %endif
 
 ### drivers: vdpau
@@ -2099,6 +2034,13 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so.1
 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_radeonsi.so
 %endif
+
+%files -n libvdpau-driver-mesa-virtio
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/vdpau/libvdpau_virtio_gpu.so.1.0.0
+%attr(755,root,root) %{_libdir}/vdpau/libvdpau_virtio_gpu.so.1.0
+%attr(755,root,root) %{_libdir}/vdpau/libvdpau_virtio_gpu.so.1
+%attr(755,root,root) %{_libdir}/vdpau/libvdpau_virtio_gpu.so
 %endif
 
 ### drivers: omxil
@@ -2122,6 +2064,12 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libvulkan_freedreno.so
 %{_datadir}/vulkan/icd.d/freedreno_icd.*.json
 
+%files vulkan-icd-powervr
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libpowervr_rogue.so
+%attr(755,root,root) %{_libdir}/libvulkan_powervr_mesa.so
+%{_datadir}/vulkan/icd.d/powervr_mesa_icd.*.json
+
 %files vulkan-icd-panfrost
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libvulkan_panfrost.so
This page took 0.124072 seconds and 4 git commands to generate.