limit fangtian in x86_64 aarch64 arch
Signed-off-by: yanansong <songyanan5@huawei.com>
This commit is contained in:
parent
38036c027e
commit
3b9b5019af
12
mesa.spec
12
mesa.spec
@ -30,6 +30,10 @@
|
||||
%define with_etnaviv 1
|
||||
%endif
|
||||
|
||||
%ifarch x86_64 aarch64
|
||||
%define with_ft 1
|
||||
%endif
|
||||
|
||||
%global dri_drivers %{?platform_drivers}
|
||||
|
||||
%if 0%{?with_vulkan_hw}
|
||||
@ -116,7 +120,9 @@ BuildRequires: llvm-toolset-7-runtime
|
||||
%enable_llvmtoolset7
|
||||
%endif
|
||||
|
||||
%if 0%{?with_ft}
|
||||
BuildRequires: ft_surface_wrapper-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -297,6 +303,10 @@ Summary: Mesa Vulkan development files
|
||||
Requires: %{name}-vulkan-drivers%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Requires: vulkan-devel
|
||||
|
||||
%if 0%{?with_ft}
|
||||
Requires: ft_surface_wrappe
|
||||
%endif
|
||||
|
||||
%description vulkan-devel
|
||||
Headers for development with the Vulkan API.
|
||||
%endif
|
||||
@ -311,7 +321,7 @@ sed -i -e 's/cpp_std=gnu++11/cpp_std=gnu++14/g' meson.build
|
||||
export ASFLAGS="--generate-missing-build-notes=yes"
|
||||
%meson -Dcpp_std=gnu++14 \
|
||||
-Db_ndebug=true \
|
||||
-Dplatforms=x11,wayland,ohos \
|
||||
-Dplatforms=x11,wayland%{?with_ft:,ohos} \
|
||||
-Ddri3=enabled \
|
||||
-Ddri-drivers=%{?dri_drivers} \
|
||||
-Dosmesa=true \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user