mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 17:35:18 +00:00
Split _with_xa from _with_vmware
This commit is contained in:
parent
732482a4c1
commit
7aa0856ccb
1 changed files with 7 additions and 6 deletions
13
mesa.spec
13
mesa.spec
|
@ -39,6 +39,7 @@
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%define platform_drivers ,i915,i965
|
%define platform_drivers ,i915,i965
|
||||||
%define with_vmware 1
|
%define with_vmware 1
|
||||||
|
%define with_xa 1
|
||||||
%define with_opencl 1
|
%define with_opencl 1
|
||||||
%endif
|
%endif
|
||||||
%ifarch ppc ppc64le
|
%ifarch ppc ppc64le
|
||||||
|
@ -271,14 +272,14 @@ Mesa libwayland-egl development package
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?with_vmware}
|
%if 0%{?with_xa}
|
||||||
%package libxatracker
|
%package libxatracker
|
||||||
Summary: Mesa XA state tracker for vmware
|
Summary: Mesa XA state tracker
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Provides: libxatracker
|
Provides: libxatracker
|
||||||
|
|
||||||
%description libxatracker
|
%description libxatracker
|
||||||
Mesa XA state tracker for vmware
|
Mesa XA state tracker
|
||||||
|
|
||||||
%package libxatracker-devel
|
%package libxatracker-devel
|
||||||
Summary: Mesa XA state tracker development package
|
Summary: Mesa XA state tracker development package
|
||||||
|
@ -387,7 +388,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS %{?with_opencl:-frtti -fexceptions} %{!?with_ope
|
||||||
%{?with_llvm:--with-llvm-shared-libs} \
|
%{?with_llvm:--with-llvm-shared-libs} \
|
||||||
--enable-dri \
|
--enable-dri \
|
||||||
%if %{with_hardware}
|
%if %{with_hardware}
|
||||||
%{?with_vmware:--enable-xa} \
|
%{?with_xa:--enable-xa} \
|
||||||
--with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,}%{?with_freedreno:freedreno,}r300,nouveau \
|
--with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,}%{?with_freedreno:freedreno,}r300,nouveau \
|
||||||
%else
|
%else
|
||||||
--with-gallium-drivers=%{?with_llvm:swrast} \
|
--with-gallium-drivers=%{?with_llvm:swrast} \
|
||||||
|
@ -453,7 +454,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%post libwayland-egl -p /sbin/ldconfig
|
%post libwayland-egl -p /sbin/ldconfig
|
||||||
%postun libwayland-egl -p /sbin/ldconfig
|
%postun libwayland-egl -p /sbin/ldconfig
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?with_vmware}
|
%if 0%{?with_xa}
|
||||||
%post libxatracker -p /sbin/ldconfig
|
%post libxatracker -p /sbin/ldconfig
|
||||||
%postun libxatracker -p /sbin/ldconfig
|
%postun libxatracker -p /sbin/ldconfig
|
||||||
%endif
|
%endif
|
||||||
|
@ -616,7 +617,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_libdir}/pkgconfig/wayland-egl.pc
|
%{_libdir}/pkgconfig/wayland-egl.pc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_vmware}
|
%if 0%{?with_xa}
|
||||||
%files libxatracker
|
%files libxatracker
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc docs/COPYING
|
%doc docs/COPYING
|
||||||
|
|
Loading…
Reference in a new issue