mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-28 11:06:25 +00:00
Fix the build
This commit is contained in:
parent
93bbeb41e4
commit
a88ed08afd
1 changed files with 2 additions and 16 deletions
18
mesa.spec
18
mesa.spec
|
@ -8,7 +8,6 @@
|
||||||
%global with_omx 1
|
%global with_omx 1
|
||||||
%global with_opencl 1
|
%global with_opencl 1
|
||||||
%endif
|
%endif
|
||||||
%global base_dri nouveau,r100,r200
|
|
||||||
%global base_vulkan ,amd
|
%global base_vulkan ,amd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -17,7 +16,6 @@
|
||||||
%global with_iris 1
|
%global with_iris 1
|
||||||
%global with_vmware 1
|
%global with_vmware 1
|
||||||
%global with_xa 1
|
%global with_xa 1
|
||||||
%global platform_dri ,i915,i965
|
|
||||||
%global platform_vulkan ,intel
|
%global platform_vulkan ,intel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -50,9 +48,6 @@
|
||||||
%bcond_with valgrind
|
%bcond_with valgrind
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !0%{?rhel}
|
|
||||||
%global dri_drivers %{?base_dri}%{?platform_dri}
|
|
||||||
%endif
|
|
||||||
%global vulkan_drivers swrast%{?base_vulkan}%{?platform_vulkan}
|
%global vulkan_drivers swrast%{?base_vulkan}%{?platform_vulkan}
|
||||||
|
|
||||||
Name: mesa
|
Name: mesa
|
||||||
|
@ -340,7 +335,6 @@ cp %{SOURCE1} docs/
|
||||||
%meson \
|
%meson \
|
||||||
-Dplatforms=x11,wayland \
|
-Dplatforms=x11,wayland \
|
||||||
-Ddri3=enabled \
|
-Ddri3=enabled \
|
||||||
-Ddri-drivers=%{?dri_drivers} \
|
|
||||||
-Dosmesa=true \
|
-Dosmesa=true \
|
||||||
%if 0%{?with_hardware}
|
%if 0%{?with_hardware}
|
||||||
-Dgallium-drivers=swrast,virgl,nouveau%{?with_r300:,r300}%{?with_crocus:,crocus}%{?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} \
|
-Dgallium-drivers=swrast,virgl,nouveau%{?with_r300:,r300}%{?with_crocus:,crocus}%{?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} \
|
||||||
|
@ -485,11 +479,6 @@ popd
|
||||||
%{_libdir}/dri/virtio_gpu_dri.so
|
%{_libdir}/dri/virtio_gpu_dri.so
|
||||||
|
|
||||||
%if 0%{?with_hardware}
|
%if 0%{?with_hardware}
|
||||||
%if !0%{?rhel}
|
|
||||||
%{_libdir}/dri/radeon_dri.so
|
|
||||||
%{_libdir}/dri/r200_dri.so
|
|
||||||
%{_libdir}/dri/nouveau_vieux_dri.so
|
|
||||||
%endif
|
|
||||||
%if 0%{?with_r300}
|
%if 0%{?with_r300}
|
||||||
%{_libdir}/dri/r300_dri.so
|
%{_libdir}/dri/r300_dri.so
|
||||||
%endif
|
%endif
|
||||||
|
@ -500,11 +489,6 @@ popd
|
||||||
%{_libdir}/dri/radeonsi_dri.so
|
%{_libdir}/dri/radeonsi_dri.so
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%if !0%{?rhel}
|
|
||||||
%{_libdir}/dri/i830_dri.so
|
|
||||||
%{_libdir}/dri/i915_dri.so
|
|
||||||
%{_libdir}/dri/i965_dri.so
|
|
||||||
%endif
|
|
||||||
%{_libdir}/dri/crocus_dri.so
|
%{_libdir}/dri/crocus_dri.so
|
||||||
%{_libdir}/dri/iris_dri.so
|
%{_libdir}/dri/iris_dri.so
|
||||||
%endif
|
%endif
|
||||||
|
@ -512,9 +496,11 @@ popd
|
||||||
%{_libdir}/dri/ingenic-drm_dri.so
|
%{_libdir}/dri/ingenic-drm_dri.so
|
||||||
%{_libdir}/dri/imx-drm_dri.so
|
%{_libdir}/dri/imx-drm_dri.so
|
||||||
%{_libdir}/dri/kirin_dri.so
|
%{_libdir}/dri/kirin_dri.so
|
||||||
|
%{_libdir}/dri/komeda_dri.so
|
||||||
%{_libdir}/dri/mali-dp_dri.so
|
%{_libdir}/dri/mali-dp_dri.so
|
||||||
%{_libdir}/dri/mcde_dri.so
|
%{_libdir}/dri/mcde_dri.so
|
||||||
%{_libdir}/dri/mxsfb-drm_dri.so
|
%{_libdir}/dri/mxsfb-drm_dri.so
|
||||||
|
%{_libdir}/dri/rcar-du_dri.so
|
||||||
%{_libdir}/dri/stm_dri.so
|
%{_libdir}/dri/stm_dri.so
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?with_vc4}
|
%if 0%{?with_vc4}
|
||||||
|
|
Loading…
Reference in a new issue