mesa/mesa.spec

635 lines
16 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:04:30 -04:00
%undefine _annotated_build
%ifnarch s390x
%global with_hardware 1
%if 0%{?openeuler}
%bcond_without vdpau
%bcond_without nine
%bcond_without omx
%else
%bcond_with vdpau
%bcond_with nine
%bcond_with omx
%endif
%bcond_without vaapi
%bcond_with opencl
%global base_drivers nouveau,r100,r200
%endif
2019-09-30 11:04:30 -04:00
%ifarch %{ix86} x86_64
%global platform_drivers ,i915,i965
%global with_iris 1
%global with_vmware 1
%if 0%{?openeuler}
%global with_xa 1
%endif
%global vulkan_drivers intel,amd
2019-09-30 11:04:30 -04:00
%else
%ifnarch s390x
%global vulkan_drivers amd
%endif
2019-09-30 11:04:30 -04:00
%endif
%ifarch %{arm} aarch64
%global with_etnaviv 1
%global with_freedreno 1
%global with_kmsro 1
%global with_lima 1
%global with_panfrost 1
%global with_tegra 1
%global with_vc4 1
%global with_v3d 1
%if 0%{?openeuler}
%global with_xa 1
%endif
%endif
%ifnarch %{arm} s390x
2020-08-03 18:05:46 +08:00
%global with_radeonsi 1
%endif
%ifnarch %{x86}
%global with_asm 1
%endif
2019-09-30 11:04:30 -04:00
%ifarch %{valgrind_arches}
%bcond_without valgrind
%else
%bcond_with valgrind
%endif
2019-09-30 11:04:30 -04:00
%global dri_drivers %{?base_drivers}%{?platform_drivers}
2020-01-15 18:43:44 +08:00
2019-09-30 11:04:30 -04:00
Name: mesa
Summary: Mesa graphics libraries
2020-08-03 18:05:46 +08:00
Version: 20.1.4
Release: 2
2019-09-30 11:04:30 -04:00
License: MIT
URL: http://www.mesa3d.org
2020-01-09 19:03:16 +08:00
Source0: https://mesa.freedesktop.org/archive/%{name}-%{version}.tar.xz
2019-09-30 11:04:30 -04:00
Patch3: 0001-evergreen-big-endian.patch
BuildRequires: meson >= 0.45
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gettext
2019-09-30 11:04:30 -04:00
%if 0%{?with_hardware}
BuildRequires: kernel-headers
%endif
BuildRequires: pkgconfig(libdrm) >= 2.4.97
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)
BuildRequires: pkgconfig(xcb-randr)
BuildRequires: pkgconfig(xrandr) >= 1.3
BuildRequires: bison
BuildRequires: flex
%if 0%{?with_vdpau}
BuildRequires: pkgconfig(vdpau) >= 1.1
%endif
%if 0%{?with_vaapi}
BuildRequires: pkgconfig(libva) >= 0.38.0
%endif
%if 0%{?with_omx}
BuildRequires: pkgconfig(libomxil-bellagio)
%endif
BuildRequires: pkgconfig(libelf)
BuildRequires: pkgconfig(libglvnd) >= 0.2.0
BuildRequires: llvm-devel >= 7.0.0
2020-01-15 18:43:44 +08:00
%if 0%{?with_opencl}
BuildRequires: clang-devel
BuildRequires: pkgconfig(libclc)
2020-01-15 18:43:44 +08:00
%endif
%if %{with valgrind}
BuildRequires: pkgconfig(valgrind)
%endif
BuildRequires: python3-devel
BuildRequires: python3-mako
%if 0%{?with_hardware}
BuildRequires: vulkan-headers
2019-09-30 11:04:30 -04:00
%endif
%description
%{summary}.
%package filesystem
2019-09-30 11:04:30 -04:00
Summary: Mesa driver filesystem
Provides: mesa-dri-filesystem = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: mesa-dri-filesystem < %{?epoch:%{epoch}:}%{version}-%{release}
%description filesystem
2019-09-30 11:04:30 -04:00
%{summary}.
%package libGL
2019-09-30 11:04:30 -04:00
Summary: Mesa libGL runtime libraries
Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: libglvnd-glx%{?_isa} >= 1:1.0.1-0.9
%description libGL
2019-09-30 11:04:30 -04:00
%{summary}.
%package libGL-devel
2019-09-30 11:04:30 -04:00
Summary: Mesa libGL development package
Requires: %{name}-libGL%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: libglvnd-devel%{?_isa}
Provides: libGL-devel
Provides: libGL-devel%{?_isa}
2019-09-30 11:04:30 -04:00
%description libGL-devel
2019-09-30 11:04:30 -04:00
%{summary}.
%package libEGL
2019-09-30 11:04:30 -04:00
Summary: Mesa libEGL runtime libraries
Requires: libglvnd-egl%{?_isa}
%description libEGL
2019-09-30 11:04:30 -04:00
%{summary}.
%package libEGL-devel
2019-09-30 11:04:30 -04:00
Summary: Mesa libEGL development package
Requires: %{name}-libEGL%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: libglvnd-devel%{?_isa}
Requires: %{name}-khr-devel%{?_isa}
Provides: libEGL-devel
Provides: libEGL-devel%{?_isa}
2019-09-30 11:04:30 -04:00
%description libEGL-devel
2019-09-30 11:04:30 -04:00
%{summary}.
%package dri-drivers
2019-09-30 11:04:30 -04:00
Summary: Mesa-based DRI drivers
Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description dri-drivers
2019-09-30 11:04:30 -04:00
%{summary}.
%if 0%{?with_omx}
%package omx-drivers
2019-09-30 11:04:30 -04:00
Summary: Mesa-based OMX drivers
Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description omx-drivers
2019-09-30 11:04:30 -04:00
%{summary}.
%endif
2019-09-30 11:04:30 -04:00
%if 0%{?with_vdpau}
2019-09-30 11:04:30 -04:00
%package vdpau-drivers
Summary: Mesa-based VDPAU drivers
Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description vdpau-drivers
%{summary}.
%endif
2019-09-30 11:04:30 -04:00
%package libOSMesa
2019-09-30 11:04:30 -04:00
Summary: Mesa offscreen rendering libraries
Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: libOSMesa
Provides: libOSMesa%{?_isa}
2019-09-30 11:04:30 -04:00
%description libOSMesa
2019-09-30 11:04:30 -04:00
%{summary}.
%package libOSMesa-devel
2019-09-30 11:04:30 -04:00
Summary: Mesa offscreen rendering development package
Requires: %{name}-libOSMesa%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description libOSMesa-devel
2019-09-30 11:04:30 -04:00
%{summary}.
%package libgbm
2019-09-30 11:04:30 -04:00
Summary: Mesa gbm runtime library
Provides: libgbm
Provides: libgbm%{?_isa}
2019-09-30 11:04:30 -04:00
%description libgbm
2019-09-30 11:04:30 -04:00
%{summary}.
%package libgbm-devel
2019-09-30 11:04:30 -04:00
Summary: Mesa libgbm development package
Requires: %{name}-libgbm%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: libgbm-devel
Provides: libgbm-devel%{?_isa}
2019-09-30 11:04:30 -04:00
%description libgbm-devel
2019-09-30 11:04:30 -04:00
%{summary}.
%if 0%{?with_xa}
%package libxatracker
2019-09-30 11:04:30 -04:00
Summary: Mesa XA state tracker
Provides: libxatracker
Provides: libxatracker%{?_isa}
2019-09-30 11:04:30 -04:00
%description libxatracker
2019-09-30 11:04:30 -04:00
%{summary}.
%package libxatracker-devel
2019-09-30 11:04:30 -04:00
Summary: Mesa XA state tracker development package
Requires: %{name}-libxatracker%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: libxatracker-devel
Provides: libxatracker-devel%{?_isa}
2019-09-30 11:04:30 -04:00
%description libxatracker-devel
2019-09-30 11:04:30 -04:00
%{summary}.
%endif
2019-09-30 11:04:30 -04:00
%package libglapi
2019-09-30 11:04:30 -04:00
Summary: Mesa shared glapi
Provides: libglapi
Provides: libglapi%{?_isa}
2019-09-30 11:04:30 -04:00
%description libglapi
2019-09-30 11:04:30 -04:00
%{summary}.
2020-01-15 18:43:44 +08:00
%if 0%{?with_opencl}
%package libOpenCL
2019-09-30 11:04:30 -04:00
Summary: Mesa OpenCL runtime library
Requires: ocl-icd%{?_isa}
Requires: libclc%{?_isa}
Requires: %{name}-libgbm%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: opencl-filesystem
%description libOpenCL
2019-09-30 11:04:30 -04:00
%{summary}.
%package libOpenCL-devel
2019-09-30 11:04:30 -04:00
Summary: Mesa OpenCL development package
Requires: %{name}-libOpenCL%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description libOpenCL-devel
2019-09-30 11:04:30 -04:00
%{summary}.
2020-01-15 18:43:44 +08:00
%endif
2019-09-30 11:04:30 -04:00
%if 0%{?with_nine}
%package libd3d
2019-09-30 11:04:30 -04:00
Summary: Mesa Direct3D9 state tracker
%description libd3d
2019-09-30 11:04:30 -04:00
%{summary}.
%package libd3d-devel
2019-09-30 11:04:30 -04:00
Summary: Mesa Direct3D9 state tracker development package
Requires: %{name}-libd3d%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description libd3d-devel
2019-09-30 11:04:30 -04:00
%{summary}.
%endif
2019-09-30 11:04:30 -04:00
%package vulkan-drivers
2019-09-30 11:04:30 -04:00
Summary: Mesa Vulkan drivers
Requires: vulkan%{_isa}
2019-09-30 11:04:30 -04:00
%description vulkan-drivers
2019-09-30 11:04:30 -04:00
The drivers with support for the Vulkan API.
%package vulkan-devel
2019-09-30 11:04:30 -04:00
Summary: Mesa Vulkan development files
Requires: %{name}-vulkan-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: vulkan-devel
%description vulkan-devel
2019-09-30 11:04:30 -04:00
Headers for development with the Vulkan API.
%prep
%autosetup -n %{name}-%{version} -p1
2020-08-03 18:05:46 +08:00
# Make sure the build uses gnu++14 as llvm 10 headers require that
sed -i -e 's/cpp_std=gnu++11/cpp_std=gnu++14/g' meson.build
2019-09-30 11:04:30 -04:00
# cElementTree no longer exists in Python 3.9
sed -i -e 's/import xml.etree.cElementTree/import xml.etree.ElementTree/g' \
src/amd/vulkan/radv_extensions.py \
src/freedreno/vulkan/tu_extensions.py \
src/intel/vulkan/anv_extensions_gen.py
2019-09-30 11:04:30 -04:00
%build
# Build with -fcommon until the omx build with gcc10 is fixed upstream
# https://gitlab.freedesktop.org/mesa/mesa/issues/2385
%global optflags %{optflags} -fcommon
2020-08-03 18:05:46 +08:00
%meson -Dcpp_std=gnu++14 \
-Dplatforms=x11,wayland,drm,surfaceless \
-Ddri3=true \
-Ddri-drivers=%{?dri_drivers} \
%if 0%{?with_hardware}
2020-08-03 18:05:46 +08:00
-Dgallium-drivers=swrast,virgl,r300,nouveau%{?with_iris:,iris}%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi,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} \
%else
-Dgallium-drivers=swrast,virgl \
%endif
-Dgallium-vdpau=%{?with_vdpau:true}%{!?with_vdpau:false} \
2020-08-03 18:05:46 +08:00
-Dgallium-xvmc=false \
-Dgallium-omx=%{?with_omx:bellagio}%{!?with_omx:disabled} \
-Dgallium-va=%{?with_vaapi:true}%{!?with_vaapi:false} \
-Dgallium-xa=%{?with_xa:true}%{!?with_xa:false} \
-Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \
2020-08-03 18:05:46 +08:00
-Dgallium-opencl=disabled \
-Dvulkan-drivers=%{?vulkan_drivers} \
-Dshared-glapi=true \
-Dgles1=false \
-Dgles2=true \
-Dopengl=true \
-Dgbm=true \
-Dglx=dri \
-Degl=true \
-Dglvnd=true \
-Dasm=%{?with_asm:true}%{!?with_asm:false} \
-Dllvm=true \
-Dshared-llvm=true \
-Dvalgrind=%{?with_valgrind:true}%{!?with_valgrind:false} \
-Dbuild-tests=false \
-Dselinux=true \
-Dosmesa=gallium \
-Dvulkan-device-select-layer=true \
%{nil}
%meson_build
2019-09-30 11:04:30 -04:00
%install
2020-08-03 18:05:46 +08:00
%meson_install
2019-09-30 11:04:30 -04:00
# libvdpau opens the versioned name, don't bother including the unversioned
rm -vf %{buildroot}%{_libdir}/vdpau/*.so
# likewise glvnd
rm -vf %{buildroot}%{_libdir}/libGLX_mesa.so
rm -vf %{buildroot}%{_libdir}/libEGL_mesa.so
# XXX can we just not build this
rm -vf %{buildroot}%{_libdir}/libGLES*
2019-09-30 11:04:30 -04:00
# glvnd needs a default provider for indirect rendering where it cannot
# determine the vendor
2019-09-30 11:04:30 -04:00
ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_system.so.0
# this keeps breaking, check it early. note that the exit from eu-ftr is odd.
2019-09-30 11:04:30 -04:00
pushd %{buildroot}%{_libdir}
for i in libOSMesa*.so libGL.so ; do
eu-findtextrel $i && exit 1
done
popd
%files filesystem
%dir %{_libdir}/dri
%if 0%{?with_hardware}
%if 0%{?with_vdpau}
2019-09-30 11:04:30 -04:00
%dir %{_libdir}/vdpau
%endif
%endif
2019-09-30 11:04:30 -04:00
%files libGL
%{_libdir}/libGLX_mesa.so.0*
%{_libdir}/libGLX_system.so.0*
%files libGL-devel
%dir %{_includedir}/GL/internal
2019-09-30 11:04:30 -04:00
%{_includedir}/GL/internal/dri_interface.h
%{_libdir}/pkgconfig/dri.pc
%{_libdir}/libglapi.so
2019-09-30 11:04:30 -04:00
%files libEGL
%{_datadir}/glvnd/egl_vendor.d/50_mesa.json
%{_libdir}/libEGL_mesa.so.0*
%files libEGL-devel
%dir %{_includedir}/EGL
%{_includedir}/EGL/eglmesaext.h
%{_includedir}/EGL/eglextchromium.h
2019-09-30 11:04:30 -04:00
%ldconfig_scriptlets libglapi
2019-09-30 11:04:30 -04:00
%files libglapi
%{_libdir}/libglapi.so.0
%{_libdir}/libglapi.so.0.*
2019-09-30 11:04:30 -04:00
%ldconfig_scriptlets libOSMesa
2019-09-30 11:04:30 -04:00
%files libOSMesa
%{_libdir}/libOSMesa.so.8*
%files libOSMesa-devel
%dir %{_includedir}/GL
2019-09-30 11:04:30 -04:00
%{_includedir}/GL/osmesa.h
%{_libdir}/libOSMesa.so
%{_libdir}/pkgconfig/osmesa.pc
%ldconfig_scriptlets libgbm
2019-09-30 11:04:30 -04:00
%files libgbm
%{_libdir}/libgbm.so.1
%{_libdir}/libgbm.so.1.*
%files libgbm-devel
%{_libdir}/libgbm.so
%{_includedir}/gbm.h
%{_libdir}/pkgconfig/gbm.pc
%if 0%{?with_xa}
%ldconfig_scriptlets libxatracker
2019-09-30 11:04:30 -04:00
%files libxatracker
%if 0%{?with_hardware}
%{_libdir}/libxatracker.so.2
%{_libdir}/libxatracker.so.2.*
%endif
2019-09-30 11:04:30 -04:00
%files libxatracker-devel
%if 0%{?with_hardware}
2019-09-30 11:04:30 -04:00
%{_libdir}/libxatracker.so
%{_includedir}/xa_tracker.h
%{_includedir}/xa_composite.h
%{_includedir}/xa_context.h
2019-09-30 11:04:30 -04:00
%{_libdir}/pkgconfig/xatracker.pc
%endif
%endif
2019-09-30 11:04:30 -04:00
2020-01-15 18:43:44 +08:00
%if 0%{?with_opencl}
%ldconfig_scriptlets libOpenCL
2019-09-30 11:04:30 -04:00
%files libOpenCL
%{_libdir}/libMesaOpenCL.so.*
%{_sysconfdir}/OpenCL/vendors/mesa.icd
%files libOpenCL-devel
%{_libdir}/libMesaOpenCL.so
2020-01-15 18:43:44 +08:00
%endif
2019-09-30 11:04:30 -04:00
%if 0%{?with_nine}
2019-09-30 11:04:30 -04:00
%files libd3d
%dir %{_libdir}/d3d/
2019-09-30 11:04:30 -04:00
%{_libdir}/d3d/*.so.*
%files libd3d-devel
%{_libdir}/pkgconfig/d3d.pc
%{_includedir}/d3dadapter/
%{_libdir}/d3d/*.so
%endif
2019-09-30 11:04:30 -04:00
%files dri-drivers
2020-08-03 18:05:46 +08:00
%dir %{_datadir}/drirc.d
%{_datadir}/drirc.d/00-mesa-defaults.conf
%if 0%{?with_hardware}
2019-09-30 11:04:30 -04:00
%{_libdir}/dri/radeon_dri.so
%{_libdir}/dri/r200_dri.so
%{_libdir}/dri/nouveau_vieux_dri.so
%{_libdir}/dri/r300_dri.so
%if 0%{?with_radeonsi}
2019-09-30 11:04:30 -04:00
%{_libdir}/dri/r600_dri.so
%{_libdir}/dri/radeonsi_dri.so
%endif
2019-09-30 11:04:30 -04:00
%ifarch %{ix86} x86_64
%{_libdir}/dri/i915_dri.so
%{_libdir}/dri/i965_dri.so
2020-08-03 18:05:46 +08:00
%{_libdir}/dri/iris_dri.so
2019-09-30 11:04:30 -04:00
%endif
%ifarch %{arm} aarch64
2020-08-03 18:05:46 +08:00
%{_libdir}/dri/ingenic-drm_dri.so
%{_libdir}/dri/mcde_dri.so
%{_libdir}/dri/mxsfb-drm_dri.so
%{_libdir}/dri/stm_dri.so
%endif
%if 0%{?with_vc4}
2019-09-30 11:04:30 -04:00
%{_libdir}/dri/vc4_dri.so
%endif
%if 0%{?with_v3d}
%{_libdir}/dri/v3d_dri.so
%endif
%if 0%{?with_freedreno}
2019-09-30 11:04:30 -04:00
%{_libdir}/dri/kgsl_dri.so
%{_libdir}/dri/msm_dri.so
%endif
%if 0%{?with_etnaviv}
2019-09-30 11:04:30 -04:00
%{_libdir}/dri/etnaviv_dri.so
%{_libdir}/dri/imx-drm_dri.so
%endif
%if 0%{?with_tegra}
2019-09-30 11:04:30 -04:00
%{_libdir}/dri/tegra_dri.so
%endif
%if 0%{?with_lima}
2020-08-03 18:05:46 +08:00
%{_libdir}/dri/lima_dri.so
%endif
%if 0%{?with_panfrost}
2020-08-03 18:05:46 +08:00
%{_libdir}/dri/panfrost_dri.so
%endif
%{_libdir}/dri/nouveau_dri.so
%if 0%{?with_vmware}
%{_libdir}/dri/vmwgfx_dri.so
%endif
%if 0%{?with_vaapi}
%{_libdir}/dri/nouveau_drv_video.so
%endif
%if 0%{?with_radeonsi}
%if 0%{?with_vaapi}
%{_libdir}/dri/r600_drv_video.so
%{_libdir}/dri/radeonsi_drv_video.so
%endif
%endif
%endif
%if 0%{?with_opencl}
%dir %{_libdir}/gallium-pipe
%{_libdir}/gallium-pipe/*.so
%endif
2020-08-03 18:05:46 +08:00
%if 0%{?with_kmsro}
%{_libdir}/dri/armada-drm_dri.so
%{_libdir}/dri/exynos_dri.so
%{_libdir}/dri/hx8357d_dri.so
%{_libdir}/dri/ili9225_dri.so
%{_libdir}/dri/ili9341_dri.so
%{_libdir}/dri/meson_dri.so
%{_libdir}/dri/mi0283qt_dri.so
%{_libdir}/dri/pl111_dri.so
%{_libdir}/dri/repaper_dri.so
%{_libdir}/dri/rockchip_dri.so
%{_libdir}/dri/st7586_dri.so
%{_libdir}/dri/st7735r_dri.so
%{_libdir}/dri/sun4i-drm_dri.so
2019-09-30 11:04:30 -04:00
%endif
%{_libdir}/dri/kms_swrast_dri.so
%{_libdir}/dri/swrast_dri.so
%{_libdir}/dri/virtio_gpu_dri.so
2019-09-30 11:04:30 -04:00
%if 0%{?with_hardware}
%if 0%{?with_omx}
2019-09-30 11:04:30 -04:00
%files omx-drivers
%{_libdir}/bellagio/libomx_mesa.so
%endif
%if 0%{?with_vdpau}
2019-09-30 11:04:30 -04:00
%files vdpau-drivers
%{_libdir}/vdpau/libvdpau_nouveau.so.1*
%{_libdir}/vdpau/libvdpau_r300.so.1*
%if 0%{?with_radeonsi}
%{_libdir}/vdpau/libvdpau_r600.so.1*
%{_libdir}/vdpau/libvdpau_radeonsi.so.1*
%endif
%endif
%endif
2019-09-30 11:04:30 -04:00
%files vulkan-drivers
%if 0%{?with_hardware}
2019-09-30 11:04:30 -04:00
%ifarch %{ix86} x86_64
%{_libdir}/libvulkan_intel.so
%{_datadir}/vulkan/icd.d/intel_icd.*.json
%endif
%{_libdir}/libvulkan_radeon.so
%{_datadir}/vulkan/icd.d/radeon_icd.*.json
2020-08-03 18:05:46 +08:00
%{_libdir}/libVkLayer_MESA_device_select.so
%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
%endif
2019-09-30 11:04:30 -04:00
%files vulkan-devel
%if 0%{?with_hardware}
2020-08-03 18:05:46 +08:00
%ifarch %{ix86} x86_64
%{_includedir}/vulkan/vulkan_intel.h
%endif
2020-08-03 18:05:46 +08:00
%endif
2019-09-30 11:04:30 -04:00
%changelog
* Thu Mar 25 2021 yanan <yanan@huawei.com> - 20.1.4-2
- optimize the mesa spec
* Sat Oct 10 2020 hanhui <hanhui15@huawei.com> - 20.1.4-1
2020-08-03 18:05:46 +08:00
- update to 20.1.4
* Wed Jun 03 2020 songnannan <songnannan2@huawei.com> - 18.3.6-2
- add mesa-khr-header subpackage to hold <KHR/khrplatform.h>
* Tue Jun 02 2020 songnannan <songnannan2@huawei.com> - 18.3.6-1
- update to 18.3.6
2020-01-15 18:43:44 +08:00
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 18.2.2-6
- disable opencl
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 18.2.2-5
2019-11-06 19:43:02 +08:00
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:add the license file
2020-01-15 18:43:44 +08:00
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 18.2.2-4
2019-09-30 11:04:30 -04:00
- Type: enhance
- Id:NA
- SUG:NA
- DESC: rewrite it without merging packages
2020-01-15 18:43:44 +08:00
* Sat Sep 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 18.2.2-3
2019-09-30 11:04:30 -04:00
- Type:bugfix
- Id:NA
- SUG:NA
- DESC: restore previous version of 18.2.2-1
* Sat Sep 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 18.2.2-2
- Package init