diff --git a/mesa.spec b/mesa.spec index ae03e19..21839b1 100644 --- a/mesa.spec +++ b/mesa.spec @@ -19,10 +19,10 @@ %endif %global with_iris 1 %global with_xa 1 -%global platform_vulkan ,intel,intel_hasvk +%global intel_platform_vulkan ,intel,intel_hasvk %endif -%ifarch aarch64 +%ifarch aarch64 x86_64 %{ix86} %if !0%{?rhel} %global with_etnaviv 1 %global with_lima 1 @@ -34,7 +34,7 @@ %global with_panfrost 1 %global with_tegra 1 %global with_xa 1 -%global platform_vulkan ,broadcom,freedreno,panfrost +%global extra_platform_vulkan ,broadcom,freedreno,panfrost %endif %ifnarch s390x @@ -57,7 +57,7 @@ %bcond_with valgrind %endif -%global vulkan_drivers swrast%{?base_vulkan}%{?platform_vulkan} +%global vulkan_drivers swrast%{?base_vulkan}%{?intel_platform_vulkan}%{?extra_platform_vulkan} Name: mesa Summary: Mesa graphics libraries @@ -545,7 +545,7 @@ popd %{_libdir}/dri/i915_dri.so %{_libdir}/dri/iris_dri.so %endif -%ifarch aarch64 +%ifarch aarch64 x86_64 %{ix86} %{_libdir}/dri/ingenic-drm_dri.so %{_libdir}/dri/imx-drm_dri.so %{_libdir}/dri/imx-lcdif_dri.so @@ -653,7 +653,7 @@ popd %{_libdir}/libvulkan_intel_hasvk.so %{_datadir}/vulkan/icd.d/intel_hasvk_icd.*.json %endif -%ifarch aarch64 +%ifarch aarch64 x86_64 %{ix86} %{_libdir}/libvulkan_broadcom.so %{_datadir}/vulkan/icd.d/broadcom_icd.*.json %{_libdir}/libvulkan_freedreno.so