2018-12-04 14:30:12 +00:00
|
|
|
%ifnarch s390x
|
|
|
|
%global with_hardware 1
|
2020-11-30 02:28:41 +00:00
|
|
|
%global with_vulkan_hw 1
|
2018-12-04 14:30:12 +00:00
|
|
|
%global with_vdpau 1
|
2022-10-02 16:16:54 +00:00
|
|
|
%global with_va 1
|
2021-02-19 18:27:27 +00:00
|
|
|
%if !0%{?rhel}
|
2018-12-04 14:30:12 +00:00
|
|
|
%global with_nine 1
|
|
|
|
%global with_omx 1
|
|
|
|
%global with_opencl 1
|
2021-02-19 18:27:27 +00:00
|
|
|
%endif
|
2020-11-30 02:28:41 +00:00
|
|
|
%global base_vulkan ,amd
|
2015-07-14 23:01:32 +00:00
|
|
|
%endif
|
2016-11-02 13:10:22 +00:00
|
|
|
|
2013-05-14 21:33:42 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
2021-08-05 12:39:43 +00:00
|
|
|
%global with_crocus 1
|
2022-07-14 03:01:17 +00:00
|
|
|
%global with_i915 1
|
2019-09-17 19:38:37 +00:00
|
|
|
%global with_iris 1
|
2018-12-04 14:30:12 +00:00
|
|
|
%global with_xa 1
|
2022-11-22 21:44:54 +00:00
|
|
|
%global platform_vulkan ,intel,intel_hasvk
|
2016-01-22 03:02:07 +00:00
|
|
|
%endif
|
2016-11-02 13:10:22 +00:00
|
|
|
|
2022-08-12 11:59:32 +00:00
|
|
|
%ifarch aarch64
|
2021-03-26 15:30:08 +00:00
|
|
|
%if !0%{?rhel}
|
2018-12-04 14:30:12 +00:00
|
|
|
%global with_etnaviv 1
|
2021-03-26 15:30:08 +00:00
|
|
|
%global with_lima 1
|
|
|
|
%global with_vc4 1
|
|
|
|
%global with_v3d 1
|
|
|
|
%endif
|
2018-12-04 14:30:12 +00:00
|
|
|
%global with_freedreno 1
|
2019-01-31 15:40:55 +00:00
|
|
|
%global with_kmsro 1
|
2019-05-11 19:53:40 +00:00
|
|
|
%global with_panfrost 1
|
2018-12-04 14:30:12 +00:00
|
|
|
%global with_tegra 1
|
|
|
|
%global with_xa 1
|
2021-08-20 17:10:01 +00:00
|
|
|
%global platform_vulkan ,broadcom,freedreno,panfrost
|
2011-08-02 15:58:35 +00:00
|
|
|
%endif
|
2005-09-12 18:26:20 +00:00
|
|
|
|
2022-08-12 11:59:32 +00:00
|
|
|
%ifnarch s390x
|
2021-03-26 15:30:08 +00:00
|
|
|
%if !0%{?rhel}
|
|
|
|
%global with_r300 1
|
|
|
|
%global with_r600 1
|
|
|
|
%endif
|
2018-12-04 14:30:12 +00:00
|
|
|
%global with_radeonsi 1
|
2022-07-21 09:44:46 +00:00
|
|
|
%global with_vmware 1
|
2018-06-05 18:52:02 +00:00
|
|
|
%endif
|
|
|
|
|
2018-12-04 14:30:12 +00:00
|
|
|
%ifarch %{valgrind_arches}
|
|
|
|
%bcond_without valgrind
|
|
|
|
%else
|
|
|
|
%bcond_with valgrind
|
|
|
|
%endif
|
|
|
|
|
2020-11-30 02:28:41 +00:00
|
|
|
%global vulkan_drivers swrast%{?base_vulkan}%{?platform_vulkan}
|
2013-05-14 21:33:42 +00:00
|
|
|
|
2016-08-14 11:01:59 +00:00
|
|
|
Name: mesa
|
|
|
|
Summary: Mesa graphics libraries
|
2023-03-25 08:19:46 +00:00
|
|
|
%global ver 23.0.1
|
2018-08-11 19:24:22 +00:00
|
|
|
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
2021-08-19 20:47:13 +00:00
|
|
|
Release: %autorelease
|
2016-08-14 11:01:59 +00:00
|
|
|
License: MIT
|
|
|
|
URL: http://www.mesa3d.org
|
2018-06-16 13:57:19 +00:00
|
|
|
|
2022-06-02 08:07:29 +00:00
|
|
|
Source0: https://archive.mesa3d.org/mesa-%{ver}.tar.xz
|
2013-01-15 15:38:20 +00:00
|
|
|
# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license.
|
2019-04-14 09:14:27 +00:00
|
|
|
# Source1 contains email correspondence clarifying the license terms.
|
2013-01-15 15:38:20 +00:00
|
|
|
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
2019-04-14 09:14:27 +00:00
|
|
|
Source1: Mesa-MLAA-License-Clarification-Email.txt
|
2021-08-19 14:42:10 +00:00
|
|
|
|
2022-11-25 00:38:22 +00:00
|
|
|
Patch10: gnome-shell-glthread-disable.patch
|
2022-12-06 19:27:54 +00:00
|
|
|
|
2023-02-01 23:06:43 +00:00
|
|
|
BuildRequires: meson >= 1.0.0
|
2016-08-14 11:01:59 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
2018-12-04 14:30:12 +00:00
|
|
|
BuildRequires: gettext
|
|
|
|
%if 0%{?with_hardware}
|
2016-08-14 11:01:59 +00:00
|
|
|
BuildRequires: kernel-headers
|
|
|
|
%endif
|
2020-07-22 18:22:24 +00:00
|
|
|
# We only check for the minimum version of pkgconfig(libdrm) needed so that the
|
|
|
|
# SRPMs for each arch still have the same build dependencies. See:
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1859515
|
|
|
|
BuildRequires: pkgconfig(libdrm) >= 2.4.97
|
2018-12-04 14:30:12 +00:00
|
|
|
BuildRequires: pkgconfig(expat)
|
|
|
|
BuildRequires: pkgconfig(zlib) >= 1.2.3
|
|
|
|
BuildRequires: pkgconfig(libselinux)
|
|
|
|
BuildRequires: pkgconfig(wayland-scanner)
|
|
|
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.8
|
|
|
|
BuildRequires: pkgconfig(wayland-client) >= 1.11
|
|
|
|
BuildRequires: pkgconfig(wayland-server) >= 1.11
|
|
|
|
BuildRequires: pkgconfig(wayland-egl-backend) >= 3
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xdamage) >= 1.1
|
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
BuildRequires: pkgconfig(xcb-glx) >= 1.8.1
|
|
|
|
BuildRequires: pkgconfig(xxf86vm)
|
|
|
|
BuildRequires: pkgconfig(xcb)
|
|
|
|
BuildRequires: pkgconfig(x11-xcb)
|
|
|
|
BuildRequires: pkgconfig(xcb-dri2) >= 1.8
|
|
|
|
BuildRequires: pkgconfig(xcb-dri3)
|
|
|
|
BuildRequires: pkgconfig(xcb-present)
|
|
|
|
BuildRequires: pkgconfig(xcb-sync)
|
|
|
|
BuildRequires: pkgconfig(xshmfence) >= 1.1
|
|
|
|
BuildRequires: pkgconfig(dri2proto) >= 2.8
|
|
|
|
BuildRequires: pkgconfig(glproto) >= 1.4.14
|
|
|
|
BuildRequires: pkgconfig(xcb-xfixes)
|
2019-02-14 10:18:33 +00:00
|
|
|
BuildRequires: pkgconfig(xcb-randr)
|
2018-12-04 14:30:12 +00:00
|
|
|
BuildRequires: pkgconfig(xrandr) >= 1.3
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
2013-05-16 13:29:12 +00:00
|
|
|
%if 0%{?with_vdpau}
|
2018-12-04 14:30:12 +00:00
|
|
|
BuildRequires: pkgconfig(vdpau) >= 1.1
|
2013-05-16 13:29:12 +00:00
|
|
|
%endif
|
2022-10-02 16:16:54 +00:00
|
|
|
%if 0%{?with_va}
|
2018-12-04 14:30:12 +00:00
|
|
|
BuildRequires: pkgconfig(libva) >= 0.38.0
|
2014-12-14 17:58:38 +00:00
|
|
|
%endif
|
2014-02-09 10:14:05 +00:00
|
|
|
%if 0%{?with_omx}
|
2018-12-04 14:30:12 +00:00
|
|
|
BuildRequires: pkgconfig(libomxil-bellagio)
|
2014-02-09 10:14:05 +00:00
|
|
|
%endif
|
2018-12-04 14:30:12 +00:00
|
|
|
BuildRequires: pkgconfig(libelf)
|
2020-09-29 12:40:53 +00:00
|
|
|
BuildRequires: pkgconfig(libglvnd) >= 1.3.2
|
2019-01-31 01:27:12 +00:00
|
|
|
BuildRequires: llvm-devel >= 7.0.0
|
2014-01-18 20:06:01 +00:00
|
|
|
%if 0%{?with_opencl}
|
2018-12-04 14:30:12 +00:00
|
|
|
BuildRequires: clang-devel
|
2022-11-17 23:45:20 +00:00
|
|
|
BuildRequires: bindgen
|
|
|
|
BuildRequires: rust-packaging
|
2018-12-04 14:30:12 +00:00
|
|
|
BuildRequires: pkgconfig(libclc)
|
2022-11-17 23:45:20 +00:00
|
|
|
BuildRequires: pkgconfig(SPIRV-Tools)
|
|
|
|
BuildRequires: pkgconfig(LLVMSPIRVLib)
|
2014-01-18 20:06:01 +00:00
|
|
|
%endif
|
2018-12-04 14:30:12 +00:00
|
|
|
%if %{with valgrind}
|
|
|
|
BuildRequires: pkgconfig(valgrind)
|
2016-11-02 12:37:57 +00:00
|
|
|
%endif
|
2018-12-04 14:30:12 +00:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-mako
|
2019-08-27 17:43:21 +00:00
|
|
|
BuildRequires: vulkan-headers
|
2021-05-05 19:47:58 +00:00
|
|
|
BuildRequires: glslang
|
2020-12-01 21:14:38 +00:00
|
|
|
%if 0%{?with_vulkan_hw}
|
|
|
|
BuildRequires: pkgconfig(vulkan)
|
2020-11-28 14:33:29 +00:00
|
|
|
%endif
|
2005-09-12 18:26:20 +00:00
|
|
|
|
|
|
|
%description
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package filesystem
|
|
|
|
Summary: Mesa driver filesystem
|
2018-08-11 19:24:22 +00:00
|
|
|
Provides: mesa-dri-filesystem = %{?epoch:%{epoch}:}%{version}-%{release}
|
2016-08-14 11:01:59 +00:00
|
|
|
|
|
|
|
%description filesystem
|
|
|
|
%{summary}.
|
2005-09-12 18:26:20 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%package libGL
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa libGL runtime libraries
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2020-09-29 12:40:53 +00:00
|
|
|
Requires: libglvnd-glx%{?_isa} >= 1:1.3.2
|
2022-09-25 20:56:09 +00:00
|
|
|
Recommends: %{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2005-09-12 18:26:20 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%description libGL
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package libGL-devel
|
|
|
|
Summary: Mesa libGL development package
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-libGL%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2020-09-29 12:40:53 +00:00
|
|
|
Requires: libglvnd-devel%{?_isa} >= 1:1.3.2
|
2016-08-14 11:01:59 +00:00
|
|
|
Provides: libGL-devel
|
|
|
|
Provides: libGL-devel%{?_isa}
|
2020-09-25 18:32:50 +00:00
|
|
|
Recommends: gl-manpages
|
2016-08-14 11:01:59 +00:00
|
|
|
|
|
|
|
%description libGL-devel
|
|
|
|
%{summary}.
|
2008-07-02 12:35:05 +00:00
|
|
|
|
2010-11-05 16:41:50 +00:00
|
|
|
%package libEGL
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa libEGL runtime libraries
|
2020-09-29 12:40:53 +00:00
|
|
|
Requires: libglvnd-egl%{?_isa} >= 1:1.3.2
|
2022-09-25 20:56:09 +00:00
|
|
|
Recommends: %{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2010-11-05 16:41:50 +00:00
|
|
|
|
|
|
|
%description libEGL
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package libEGL-devel
|
|
|
|
Summary: Mesa libEGL development package
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-libEGL%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2020-09-29 12:40:53 +00:00
|
|
|
Requires: libglvnd-devel%{?_isa} >= 1:1.3.2
|
2019-10-25 12:59:09 +00:00
|
|
|
Requires: %{name}-khr-devel%{?_isa}
|
2016-08-14 11:01:59 +00:00
|
|
|
Provides: libEGL-devel
|
|
|
|
Provides: libEGL-devel%{?_isa}
|
|
|
|
|
|
|
|
%description libEGL-devel
|
|
|
|
%{summary}.
|
2010-11-05 18:27:39 +00:00
|
|
|
|
2008-07-02 12:35:05 +00:00
|
|
|
%package dri-drivers
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa-based DRI drivers
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2022-10-10 18:57:21 +00:00
|
|
|
%if 0%{?with_va}
|
2023-01-25 11:25:04 +00:00
|
|
|
Recommends: %{name}-va-drivers%{?_isa}
|
2022-10-10 18:57:21 +00:00
|
|
|
%endif
|
2016-08-14 11:01:59 +00:00
|
|
|
|
2008-07-02 12:35:05 +00:00
|
|
|
%description dri-drivers
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2008-07-02 12:35:05 +00:00
|
|
|
|
2014-02-09 10:14:05 +00:00
|
|
|
%if 0%{?with_omx}
|
|
|
|
%package omx-drivers
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa-based OMX drivers
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2016-08-14 11:01:59 +00:00
|
|
|
|
2014-02-09 10:14:05 +00:00
|
|
|
%description omx-drivers
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2014-02-09 10:14:05 +00:00
|
|
|
%endif
|
|
|
|
|
2022-10-02 16:16:54 +00:00
|
|
|
%if 0%{?with_va}
|
|
|
|
%package va-drivers
|
|
|
|
Summary: Mesa-based VA-API video acceleration drivers
|
2022-09-28 23:34:51 +00:00
|
|
|
Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2022-10-02 16:16:54 +00:00
|
|
|
Obsoletes: %{name}-vaapi-drivers < 22.2.0-5
|
2022-09-28 23:34:51 +00:00
|
|
|
|
2022-10-02 16:16:54 +00:00
|
|
|
%description va-drivers
|
2022-09-28 23:34:51 +00:00
|
|
|
%{summary}.
|
|
|
|
%endif
|
|
|
|
|
2013-05-16 13:29:12 +00:00
|
|
|
%if 0%{?with_vdpau}
|
2016-08-14 11:01:59 +00:00
|
|
|
%package vdpau-drivers
|
|
|
|
Summary: Mesa-based VDPAU drivers
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2016-08-14 11:01:59 +00:00
|
|
|
|
2013-05-08 22:03:21 +00:00
|
|
|
%description vdpau-drivers
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2013-05-16 13:29:12 +00:00
|
|
|
%endif
|
2013-05-08 22:03:21 +00:00
|
|
|
|
2006-08-18 19:52:19 +00:00
|
|
|
%package libOSMesa
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa offscreen rendering libraries
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2016-08-14 11:01:59 +00:00
|
|
|
Provides: libOSMesa
|
|
|
|
Provides: libOSMesa%{?_isa}
|
2006-08-18 19:52:19 +00:00
|
|
|
|
|
|
|
%description libOSMesa
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2007-02-20 17:56:21 +00:00
|
|
|
|
2006-08-18 19:52:19 +00:00
|
|
|
%package libOSMesa-devel
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa offscreen rendering development package
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-libOSMesa%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2006-08-18 19:52:19 +00:00
|
|
|
|
|
|
|
%description libOSMesa-devel
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2007-02-20 17:56:21 +00:00
|
|
|
|
2012-02-23 19:14:04 +00:00
|
|
|
%package libgbm
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa gbm runtime library
|
|
|
|
Provides: libgbm
|
|
|
|
Provides: libgbm%{?_isa}
|
2022-09-25 20:56:09 +00:00
|
|
|
Recommends: %{name}-dri-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2012-02-23 19:14:04 +00:00
|
|
|
|
|
|
|
%description libgbm
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2012-02-23 19:14:04 +00:00
|
|
|
|
|
|
|
%package libgbm-devel
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa libgbm development package
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-libgbm%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2016-08-14 11:01:59 +00:00
|
|
|
Provides: libgbm-devel
|
|
|
|
Provides: libgbm-devel%{?_isa}
|
2012-02-23 19:14:04 +00:00
|
|
|
|
|
|
|
%description libgbm-devel
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2012-02-23 19:14:04 +00:00
|
|
|
|
2014-02-03 15:21:09 +00:00
|
|
|
%if 0%{?with_xa}
|
2012-03-15 13:39:24 +00:00
|
|
|
%package libxatracker
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa XA state tracker
|
|
|
|
Provides: libxatracker
|
|
|
|
Provides: libxatracker%{?_isa}
|
2012-03-15 13:39:24 +00:00
|
|
|
|
|
|
|
%description libxatracker
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2012-03-15 13:39:24 +00:00
|
|
|
|
|
|
|
%package libxatracker-devel
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa XA state tracker development package
|
|
|
|
Requires: %{name}-libxatracker%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Provides: libxatracker-devel
|
|
|
|
Provides: libxatracker-devel%{?_isa}
|
2012-03-15 13:39:24 +00:00
|
|
|
|
|
|
|
%description libxatracker-devel
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2012-04-26 14:19:09 +00:00
|
|
|
%endif
|
2012-02-23 19:14:04 +00:00
|
|
|
|
2012-03-28 21:21:59 +00:00
|
|
|
%package libglapi
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa shared glapi
|
|
|
|
Provides: libglapi
|
|
|
|
Provides: libglapi%{?_isa}
|
2012-03-28 21:21:59 +00:00
|
|
|
|
|
|
|
%description libglapi
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2014-01-18 20:06:01 +00:00
|
|
|
|
|
|
|
%if 0%{?with_opencl}
|
|
|
|
%package libOpenCL
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa OpenCL runtime library
|
|
|
|
Requires: ocl-icd%{?_isa}
|
|
|
|
Requires: libclc%{?_isa}
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-libgbm%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2016-08-15 18:50:42 +00:00
|
|
|
Requires: opencl-filesystem
|
2016-04-08 16:49:59 +00:00
|
|
|
|
2014-01-18 20:06:01 +00:00
|
|
|
%description libOpenCL
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2014-01-18 20:06:01 +00:00
|
|
|
|
|
|
|
%package libOpenCL-devel
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa OpenCL development package
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-libOpenCL%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2014-01-18 20:06:01 +00:00
|
|
|
|
|
|
|
%description libOpenCL-devel
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2014-01-18 20:06:01 +00:00
|
|
|
%endif
|
|
|
|
|
2014-12-14 18:15:35 +00:00
|
|
|
%if 0%{?with_nine}
|
|
|
|
%package libd3d
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa Direct3D9 state tracker
|
2014-12-14 18:15:35 +00:00
|
|
|
|
|
|
|
%description libd3d
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2014-12-14 18:15:35 +00:00
|
|
|
|
|
|
|
%package libd3d-devel
|
2016-08-14 11:01:59 +00:00
|
|
|
Summary: Mesa Direct3D9 state tracker development package
|
2018-08-11 19:24:22 +00:00
|
|
|
Requires: %{name}-libd3d%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2014-12-14 18:15:35 +00:00
|
|
|
|
|
|
|
%description libd3d-devel
|
2016-08-14 11:01:59 +00:00
|
|
|
%{summary}.
|
2014-12-14 18:15:35 +00:00
|
|
|
%endif
|
|
|
|
|
2016-11-02 12:37:57 +00:00
|
|
|
%package vulkan-drivers
|
|
|
|
Summary: Mesa Vulkan drivers
|
|
|
|
Requires: vulkan%{_isa}
|
2022-03-21 07:22:52 +00:00
|
|
|
Obsoletes: mesa-vulkan-devel < %{?epoch:%{epoch}:}%{version}-%{release}
|
2016-11-02 12:37:57 +00:00
|
|
|
|
|
|
|
%description vulkan-drivers
|
|
|
|
The drivers with support for the Vulkan API.
|
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%prep
|
2018-11-01 15:28:38 +00:00
|
|
|
%autosetup -n %{name}-%{ver} -p1
|
2019-04-14 09:14:27 +00:00
|
|
|
cp %{SOURCE1} docs/
|
2019-05-14 20:54:35 +00:00
|
|
|
|
2012-11-01 20:54:32 +00:00
|
|
|
%build
|
2023-02-05 19:33:19 +00:00
|
|
|
# ensure standard Rust compiler flags are set
|
|
|
|
export RUSTFLAGS="%build_rustflags"
|
|
|
|
|
2020-08-22 07:46:57 +00:00
|
|
|
# We've gotten a report that enabling LTO for mesa breaks some games. See
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1862771 for details.
|
|
|
|
# Disable LTO for now
|
|
|
|
%define _lto_cflags %{nil}
|
2018-12-04 14:30:12 +00:00
|
|
|
|
2020-09-04 10:13:34 +00:00
|
|
|
%meson \
|
2020-11-28 14:46:08 +00:00
|
|
|
-Dplatforms=x11,wayland \
|
|
|
|
-Ddri3=enabled \
|
2021-01-29 08:25:20 +00:00
|
|
|
-Dosmesa=true \
|
2018-06-18 19:54:49 +00:00
|
|
|
%if 0%{?with_hardware}
|
2022-07-14 03:01:17 +00:00
|
|
|
-Dgallium-drivers=swrast,virgl,nouveau%{?with_r300:,r300}%{?with_crocus:,crocus}%{?with_i915:,i915}%{?with_iris:,iris}%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi}%{?with_r600:,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_v3d:,v3d}%{?with_kmsro:,kmsro}%{?with_lima:,lima}%{?with_panfrost:,panfrost}%{?with_vulkan_hw:,zink} \
|
2012-07-25 06:56:27 +00:00
|
|
|
%else
|
2018-12-04 14:30:12 +00:00
|
|
|
-Dgallium-drivers=swrast,virgl \
|
|
|
|
%endif
|
2020-11-28 14:46:08 +00:00
|
|
|
-Dgallium-vdpau=%{?with_vdpau:enabled}%{!?with_vdpau:disabled} \
|
2018-12-04 14:30:12 +00:00
|
|
|
-Dgallium-omx=%{?with_omx:bellagio}%{!?with_omx:disabled} \
|
2022-10-02 16:16:54 +00:00
|
|
|
-Dgallium-va=%{?with_va:enabled}%{!?with_va:disabled} \
|
2020-11-28 14:46:08 +00:00
|
|
|
-Dgallium-xa=%{?with_xa:enabled}%{!?with_xa:disabled} \
|
2018-12-04 14:30:12 +00:00
|
|
|
-Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \
|
|
|
|
-Dgallium-opencl=%{?with_opencl:icd}%{!?with_opencl:disabled} \
|
2022-11-17 23:45:20 +00:00
|
|
|
%if 0%{?with_opencl}
|
|
|
|
-Dgallium-rusticl=true -Dllvm=enabled -Drust_std=2021 \
|
|
|
|
%endif
|
2018-12-04 14:30:12 +00:00
|
|
|
-Dvulkan-drivers=%{?vulkan_drivers} \
|
2021-05-05 19:47:58 +00:00
|
|
|
-Dvulkan-layers=device-select \
|
2020-11-28 14:46:08 +00:00
|
|
|
-Dshared-glapi=enabled \
|
|
|
|
-Dgles1=disabled \
|
|
|
|
-Dgles2=enabled \
|
2018-12-04 14:30:12 +00:00
|
|
|
-Dopengl=true \
|
2020-11-28 14:46:08 +00:00
|
|
|
-Dgbm=enabled \
|
2018-12-04 14:30:12 +00:00
|
|
|
-Dglx=dri \
|
2020-11-28 14:46:08 +00:00
|
|
|
-Degl=enabled \
|
2018-12-04 14:30:12 +00:00
|
|
|
-Dglvnd=true \
|
2021-01-29 08:25:20 +00:00
|
|
|
-Dmicrosoft-clc=disabled \
|
2020-11-28 14:46:08 +00:00
|
|
|
-Dllvm=enabled \
|
|
|
|
-Dshared-llvm=enabled \
|
|
|
|
-Dvalgrind=%{?with_valgrind:enabled}%{!?with_valgrind:disabled} \
|
2018-12-04 14:30:12 +00:00
|
|
|
-Dbuild-tests=false \
|
|
|
|
-Dselinux=true \
|
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2006-09-29 19:07:15 +00:00
|
|
|
|
2005-09-12 18:27:33 +00:00
|
|
|
%install
|
2018-12-04 14:30:12 +00:00
|
|
|
%meson_install
|
2011-09-08 21:33:52 +00:00
|
|
|
|
2013-05-14 21:33:42 +00:00
|
|
|
# libvdpau opens the versioned name, don't bother including the unversioned
|
2018-12-04 14:30:12 +00:00
|
|
|
rm -vf %{buildroot}%{_libdir}/vdpau/*.so
|
2017-01-17 09:35:41 +00:00
|
|
|
# likewise glvnd
|
2018-12-04 14:30:12 +00:00
|
|
|
rm -vf %{buildroot}%{_libdir}/libGLX_mesa.so
|
|
|
|
rm -vf %{buildroot}%{_libdir}/libEGL_mesa.so
|
2017-01-17 09:35:41 +00:00
|
|
|
# XXX can we just not build this
|
2018-12-04 14:30:12 +00:00
|
|
|
rm -vf %{buildroot}%{_libdir}/libGLES*
|
2013-05-14 21:33:42 +00:00
|
|
|
|
2017-03-20 11:19:29 +00:00
|
|
|
# glvnd needs a default provider for indirect rendering where it cannot
|
|
|
|
# determine the vendor
|
2018-07-23 23:04:55 +00:00
|
|
|
ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_system.so.0
|
2017-03-20 11:19:29 +00:00
|
|
|
|
2009-02-23 20:25:07 +00:00
|
|
|
# this keeps breaking, check it early. note that the exit from eu-ftr is odd.
|
2016-03-20 13:48:31 +00:00
|
|
|
pushd %{buildroot}%{_libdir}
|
2009-08-06 18:04:05 +00:00
|
|
|
for i in libOSMesa*.so libGL.so ; do
|
2009-02-24 16:54:44 +00:00
|
|
|
eu-findtextrel $i && exit 1
|
|
|
|
done
|
2010-11-18 22:06:01 +00:00
|
|
|
popd
|
2009-02-23 20:25:07 +00:00
|
|
|
|
2013-05-14 21:33:42 +00:00
|
|
|
%files filesystem
|
2015-07-14 23:01:32 +00:00
|
|
|
%doc docs/Mesa-MLAA-License-Clarification-Email.txt
|
2005-09-12 18:36:48 +00:00
|
|
|
%dir %{_libdir}/dri
|
2018-12-04 14:30:12 +00:00
|
|
|
%if 0%{?with_hardware}
|
2013-05-16 13:32:04 +00:00
|
|
|
%if 0%{?with_vdpau}
|
2013-05-08 22:03:21 +00:00
|
|
|
%dir %{_libdir}/vdpau
|
2013-05-15 15:26:50 +00:00
|
|
|
%endif
|
2013-05-16 13:32:04 +00:00
|
|
|
%endif
|
2011-01-19 03:36:41 +00:00
|
|
|
|
2016-08-14 11:01:59 +00:00
|
|
|
%files libGL
|
2017-01-17 09:35:41 +00:00
|
|
|
%{_libdir}/libGLX_mesa.so.0*
|
2018-07-23 23:04:55 +00:00
|
|
|
%{_libdir}/libGLX_system.so.0*
|
2006-09-30 18:04:34 +00:00
|
|
|
%files libGL-devel
|
2007-07-24 19:56:47 +00:00
|
|
|
%dir %{_includedir}/GL/internal
|
|
|
|
%{_includedir}/GL/internal/dri_interface.h
|
2008-09-05 05:48:02 +00:00
|
|
|
%{_libdir}/pkgconfig/dri.pc
|
2012-03-19 18:05:34 +00:00
|
|
|
%{_libdir}/libglapi.so
|
2005-09-12 18:27:33 +00:00
|
|
|
|
2016-08-14 11:01:59 +00:00
|
|
|
%files libEGL
|
2017-01-17 09:35:41 +00:00
|
|
|
%{_datadir}/glvnd/egl_vendor.d/50_mesa.json
|
|
|
|
%{_libdir}/libEGL_mesa.so.0*
|
2010-11-05 16:41:50 +00:00
|
|
|
%files libEGL-devel
|
2011-07-05 20:28:52 +00:00
|
|
|
%dir %{_includedir}/EGL
|
2022-11-10 05:31:47 +00:00
|
|
|
%{_includedir}/EGL/eglext_angle.h
|
2022-11-21 13:12:00 +00:00
|
|
|
%{_includedir}/EGL/eglmesaext.h
|
2010-11-05 16:41:50 +00:00
|
|
|
|
2016-08-14 11:01:59 +00:00
|
|
|
%files libglapi
|
|
|
|
%{_libdir}/libglapi.so.0
|
|
|
|
%{_libdir}/libglapi.so.0.*
|
|
|
|
|
2006-08-18 19:52:19 +00:00
|
|
|
%files libOSMesa
|
2012-01-26 15:12:47 +00:00
|
|
|
%{_libdir}/libOSMesa.so.8*
|
2006-08-18 19:52:19 +00:00
|
|
|
%files libOSMesa-devel
|
2011-07-06 20:47:18 +00:00
|
|
|
%dir %{_includedir}/GL
|
2006-08-18 19:52:19 +00:00
|
|
|
%{_includedir}/GL/osmesa.h
|
|
|
|
%{_libdir}/libOSMesa.so
|
2011-05-10 00:17:06 +00:00
|
|
|
%{_libdir}/pkgconfig/osmesa.pc
|
2006-08-18 19:52:19 +00:00
|
|
|
|
2012-02-23 19:14:04 +00:00
|
|
|
%files libgbm
|
|
|
|
%{_libdir}/libgbm.so.1
|
|
|
|
%{_libdir}/libgbm.so.1.*
|
|
|
|
%files libgbm-devel
|
|
|
|
%{_libdir}/libgbm.so
|
|
|
|
%{_includedir}/gbm.h
|
|
|
|
%{_libdir}/pkgconfig/gbm.pc
|
|
|
|
|
2014-02-03 15:21:09 +00:00
|
|
|
%if 0%{?with_xa}
|
2012-03-15 13:39:24 +00:00
|
|
|
%files libxatracker
|
2018-12-04 14:30:12 +00:00
|
|
|
%if 0%{?with_hardware}
|
2013-12-01 12:51:48 +00:00
|
|
|
%{_libdir}/libxatracker.so.2
|
|
|
|
%{_libdir}/libxatracker.so.2.*
|
2012-03-15 13:39:24 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%files libxatracker-devel
|
2018-12-04 14:30:12 +00:00
|
|
|
%if 0%{?with_hardware}
|
2012-03-15 13:39:24 +00:00
|
|
|
%{_libdir}/libxatracker.so
|
|
|
|
%{_includedir}/xa_tracker.h
|
|
|
|
%{_includedir}/xa_composite.h
|
|
|
|
%{_includedir}/xa_context.h
|
|
|
|
%{_libdir}/pkgconfig/xatracker.pc
|
|
|
|
%endif
|
2012-04-26 14:19:09 +00:00
|
|
|
%endif
|
2012-03-15 13:39:24 +00:00
|
|
|
|
2014-01-18 20:06:01 +00:00
|
|
|
%if 0%{?with_opencl}
|
|
|
|
%files libOpenCL
|
|
|
|
%{_libdir}/libMesaOpenCL.so.*
|
2022-11-17 23:45:20 +00:00
|
|
|
%{_libdir}/libRusticlOpenCL.so.*
|
2014-01-18 20:06:01 +00:00
|
|
|
%{_sysconfdir}/OpenCL/vendors/mesa.icd
|
2022-11-17 23:45:20 +00:00
|
|
|
%{_sysconfdir}/OpenCL/vendors/rusticl.icd
|
2014-01-18 20:06:01 +00:00
|
|
|
%files libOpenCL-devel
|
|
|
|
%{_libdir}/libMesaOpenCL.so
|
2022-11-17 23:45:20 +00:00
|
|
|
%{_libdir}/libRusticlOpenCL.so
|
2014-01-18 20:06:01 +00:00
|
|
|
%endif
|
|
|
|
|
2014-12-14 18:15:35 +00:00
|
|
|
%if 0%{?with_nine}
|
|
|
|
%files libd3d
|
|
|
|
%dir %{_libdir}/d3d/
|
|
|
|
%{_libdir}/d3d/*.so.*
|
|
|
|
|
|
|
|
%files libd3d-devel
|
|
|
|
%{_libdir}/pkgconfig/d3d.pc
|
|
|
|
%{_includedir}/d3dadapter/
|
|
|
|
%{_libdir}/d3d/*.so
|
|
|
|
%endif
|
|
|
|
|
2016-08-14 11:01:59 +00:00
|
|
|
%files dri-drivers
|
2018-11-14 17:07:44 +00:00
|
|
|
%dir %{_datadir}/drirc.d
|
|
|
|
%{_datadir}/drirc.d/00-mesa-defaults.conf
|
2020-11-28 14:33:29 +00:00
|
|
|
%{_libdir}/dri/kms_swrast_dri.so
|
|
|
|
%{_libdir}/dri/swrast_dri.so
|
|
|
|
%{_libdir}/dri/virtio_gpu_dri.so
|
|
|
|
|
2018-12-04 14:30:12 +00:00
|
|
|
%if 0%{?with_hardware}
|
2021-03-26 15:30:08 +00:00
|
|
|
%if 0%{?with_r300}
|
2016-08-14 11:01:59 +00:00
|
|
|
%{_libdir}/dri/r300_dri.so
|
2021-03-26 15:30:08 +00:00
|
|
|
%endif
|
2018-06-05 19:31:07 +00:00
|
|
|
%if 0%{?with_radeonsi}
|
2021-03-26 15:30:08 +00:00
|
|
|
%if 0%{?with_r600}
|
2018-06-06 18:06:51 +00:00
|
|
|
%{_libdir}/dri/r600_dri.so
|
2021-03-26 15:30:08 +00:00
|
|
|
%endif
|
2016-08-14 11:01:59 +00:00
|
|
|
%{_libdir}/dri/radeonsi_dri.so
|
2018-06-05 18:52:02 +00:00
|
|
|
%endif
|
2016-08-14 11:01:59 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
2021-08-05 12:39:43 +00:00
|
|
|
%{_libdir}/dri/crocus_dri.so
|
2022-07-14 03:01:17 +00:00
|
|
|
%{_libdir}/dri/i915_dri.so
|
2019-09-17 19:38:37 +00:00
|
|
|
%{_libdir}/dri/iris_dri.so
|
2016-08-14 11:01:59 +00:00
|
|
|
%endif
|
2022-08-12 11:59:32 +00:00
|
|
|
%ifarch aarch64
|
2020-02-02 20:52:23 +00:00
|
|
|
%{_libdir}/dri/ingenic-drm_dri.so
|
2021-04-19 23:34:56 +00:00
|
|
|
%{_libdir}/dri/imx-drm_dri.so
|
2022-08-12 12:29:13 +00:00
|
|
|
%{_libdir}/dri/imx-lcdif_dri.so
|
2021-11-18 08:31:42 +00:00
|
|
|
%{_libdir}/dri/kirin_dri.so
|
2022-03-21 06:41:36 +00:00
|
|
|
%{_libdir}/dri/komeda_dri.so
|
2021-08-05 09:14:42 +00:00
|
|
|
%{_libdir}/dri/mali-dp_dri.so
|
2020-02-02 20:52:23 +00:00
|
|
|
%{_libdir}/dri/mcde_dri.so
|
2019-08-21 09:40:27 +00:00
|
|
|
%{_libdir}/dri/mxsfb-drm_dri.so
|
2022-03-21 06:41:36 +00:00
|
|
|
%{_libdir}/dri/rcar-du_dri.so
|
2019-08-21 09:40:27 +00:00
|
|
|
%{_libdir}/dri/stm_dri.so
|
|
|
|
%endif
|
2016-08-14 11:01:59 +00:00
|
|
|
%if 0%{?with_vc4}
|
|
|
|
%{_libdir}/dri/vc4_dri.so
|
|
|
|
%endif
|
2019-06-24 17:41:44 +00:00
|
|
|
%if 0%{?with_v3d}
|
|
|
|
%{_libdir}/dri/v3d_dri.so
|
|
|
|
%endif
|
2016-08-14 11:01:59 +00:00
|
|
|
%if 0%{?with_freedreno}
|
|
|
|
%{_libdir}/dri/kgsl_dri.so
|
|
|
|
%{_libdir}/dri/msm_dri.so
|
|
|
|
%endif
|
2017-01-21 13:48:46 +00:00
|
|
|
%if 0%{?with_etnaviv}
|
|
|
|
%{_libdir}/dri/etnaviv_dri.so
|
|
|
|
%endif
|
2018-06-15 16:21:16 +00:00
|
|
|
%if 0%{?with_tegra}
|
|
|
|
%{_libdir}/dri/tegra_dri.so
|
|
|
|
%endif
|
2019-05-09 16:42:44 +00:00
|
|
|
%if 0%{?with_lima}
|
|
|
|
%{_libdir}/dri/lima_dri.so
|
|
|
|
%endif
|
2019-05-11 19:53:40 +00:00
|
|
|
%if 0%{?with_panfrost}
|
|
|
|
%{_libdir}/dri/panfrost_dri.so
|
|
|
|
%endif
|
2016-08-14 11:01:59 +00:00
|
|
|
%{_libdir}/dri/nouveau_dri.so
|
|
|
|
%if 0%{?with_vmware}
|
|
|
|
%{_libdir}/dri/vmwgfx_dri.so
|
|
|
|
%endif
|
2018-06-05 18:52:02 +00:00
|
|
|
%endif
|
2021-02-19 18:27:27 +00:00
|
|
|
%if 0%{?with_opencl}
|
2016-08-14 11:01:59 +00:00
|
|
|
%dir %{_libdir}/gallium-pipe
|
|
|
|
%{_libdir}/gallium-pipe/*.so
|
|
|
|
%endif
|
2019-01-31 15:40:55 +00:00
|
|
|
%if 0%{?with_kmsro}
|
2019-05-08 01:36:56 +00:00
|
|
|
%{_libdir}/dri/armada-drm_dri.so
|
2019-05-08 03:55:24 +00:00
|
|
|
%{_libdir}/dri/exynos_dri.so
|
2019-01-31 15:40:55 +00:00
|
|
|
%{_libdir}/dri/hx8357d_dri.so
|
2019-05-08 01:36:56 +00:00
|
|
|
%{_libdir}/dri/ili9225_dri.so
|
|
|
|
%{_libdir}/dri/ili9341_dri.so
|
2020-11-30 02:28:41 +00:00
|
|
|
%{_libdir}/dri/imx-dcss_dri.so
|
|
|
|
%{_libdir}/dri/mediatek_dri.so
|
2019-05-08 01:36:56 +00:00
|
|
|
%{_libdir}/dri/meson_dri.so
|
2019-05-08 02:39:48 +00:00
|
|
|
%{_libdir}/dri/mi0283qt_dri.so
|
2019-01-31 15:40:55 +00:00
|
|
|
%{_libdir}/dri/pl111_dri.so
|
2019-05-08 01:36:56 +00:00
|
|
|
%{_libdir}/dri/repaper_dri.so
|
|
|
|
%{_libdir}/dri/rockchip_dri.so
|
2019-05-08 02:39:48 +00:00
|
|
|
%{_libdir}/dri/st7586_dri.so
|
2019-05-08 01:36:56 +00:00
|
|
|
%{_libdir}/dri/st7735r_dri.so
|
|
|
|
%{_libdir}/dri/sun4i-drm_dri.so
|
2019-01-31 15:40:55 +00:00
|
|
|
%endif
|
2020-12-01 21:14:38 +00:00
|
|
|
%if 0%{?with_vulkan_hw}
|
|
|
|
%{_libdir}/dri/zink_dri.so
|
|
|
|
%endif
|
2016-08-14 11:01:59 +00:00
|
|
|
|
|
|
|
%if 0%{?with_omx}
|
|
|
|
%files omx-drivers
|
|
|
|
%{_libdir}/bellagio/libomx_mesa.so
|
|
|
|
%endif
|
2022-09-28 23:34:51 +00:00
|
|
|
|
2022-10-02 16:16:54 +00:00
|
|
|
%if 0%{?with_va}
|
|
|
|
%files va-drivers
|
2022-09-28 23:34:51 +00:00
|
|
|
%{_libdir}/dri/nouveau_drv_video.so
|
|
|
|
%if 0%{?with_r600}
|
|
|
|
%{_libdir}/dri/r600_drv_video.so
|
|
|
|
%endif
|
|
|
|
%if 0%{?with_radeonsi}
|
|
|
|
%{_libdir}/dri/radeonsi_drv_video.so
|
|
|
|
%endif
|
2022-11-21 13:12:00 +00:00
|
|
|
%{_libdir}/dri/virtio_gpu_drv_video.so
|
2022-09-28 23:34:51 +00:00
|
|
|
%endif
|
|
|
|
|
2016-08-14 11:01:59 +00:00
|
|
|
%if 0%{?with_vdpau}
|
|
|
|
%files vdpau-drivers
|
|
|
|
%{_libdir}/vdpau/libvdpau_nouveau.so.1*
|
2021-03-26 15:30:08 +00:00
|
|
|
%if 0%{?with_r300}
|
2016-08-14 11:01:59 +00:00
|
|
|
%{_libdir}/vdpau/libvdpau_r300.so.1*
|
2021-03-26 15:30:08 +00:00
|
|
|
%endif
|
|
|
|
%if 0%{?with_r600}
|
2018-06-06 18:06:51 +00:00
|
|
|
%{_libdir}/vdpau/libvdpau_r600.so.1*
|
2016-08-14 11:01:59 +00:00
|
|
|
%endif
|
2021-03-26 15:30:08 +00:00
|
|
|
%if 0%{?with_radeonsi}
|
|
|
|
%{_libdir}/vdpau/libvdpau_radeonsi.so.1*
|
2016-08-14 11:01:59 +00:00
|
|
|
%endif
|
2022-11-21 13:12:00 +00:00
|
|
|
%{_libdir}/vdpau/libvdpau_virtio_gpu.so.1*
|
2018-06-05 18:52:02 +00:00
|
|
|
%endif
|
2016-08-14 11:01:59 +00:00
|
|
|
|
2016-11-02 12:37:57 +00:00
|
|
|
%files vulkan-drivers
|
2020-12-01 21:14:38 +00:00
|
|
|
%{_libdir}/libvulkan_lvp.so
|
|
|
|
%{_datadir}/vulkan/icd.d/lvp_icd.*.json
|
|
|
|
%{_libdir}/libVkLayer_MESA_device_select.so
|
|
|
|
%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
|
2020-11-30 02:28:41 +00:00
|
|
|
%if 0%{?with_vulkan_hw}
|
2020-12-01 21:14:38 +00:00
|
|
|
%{_libdir}/libvulkan_radeon.so
|
2022-03-19 22:54:53 +00:00
|
|
|
%{_datadir}/drirc.d/00-radv-defaults.conf
|
2020-12-01 21:14:38 +00:00
|
|
|
%{_datadir}/vulkan/icd.d/radeon_icd.*.json
|
2018-06-18 19:52:47 +00:00
|
|
|
%ifarch %{ix86} x86_64
|
2016-11-02 12:37:57 +00:00
|
|
|
%{_libdir}/libvulkan_intel.so
|
2018-06-18 19:52:47 +00:00
|
|
|
%{_datadir}/vulkan/icd.d/intel_icd.*.json
|
2022-11-22 22:07:43 +00:00
|
|
|
%{_libdir}/libvulkan_intel_hasvk.so
|
|
|
|
%{_datadir}/vulkan/icd.d/intel_hasvk_icd.*.json
|
2018-06-18 19:52:47 +00:00
|
|
|
%endif
|
2022-08-12 11:59:32 +00:00
|
|
|
%ifarch aarch64
|
2020-12-01 21:14:38 +00:00
|
|
|
%{_libdir}/libvulkan_broadcom.so
|
|
|
|
%{_datadir}/vulkan/icd.d/broadcom_icd.*.json
|
|
|
|
%{_libdir}/libvulkan_freedreno.so
|
|
|
|
%{_datadir}/vulkan/icd.d/freedreno_icd.*.json
|
2021-08-20 17:10:01 +00:00
|
|
|
%{_libdir}/libvulkan_panfrost.so
|
2021-08-21 11:47:06 +00:00
|
|
|
%{_datadir}/vulkan/icd.d/panfrost_icd.*.json
|
2020-12-01 21:14:38 +00:00
|
|
|
%endif
|
2020-11-30 02:28:41 +00:00
|
|
|
%endif
|
2016-11-02 12:37:57 +00:00
|
|
|
|
2005-09-12 18:26:20 +00:00
|
|
|
%changelog
|
2021-08-19 20:47:13 +00:00
|
|
|
%autochangelog
|