mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-25 01:45:29 +00:00
enable vmwgfx + xa state tracker
This commit is contained in:
parent
db7b1e9432
commit
d99341dda9
1 changed files with 43 additions and 2 deletions
45
mesa.spec
45
mesa.spec
|
@ -30,7 +30,7 @@
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 8.0.1
|
Version: 8.0.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
@ -242,6 +242,24 @@ Provides: libwayland-egl-devel
|
||||||
%description libwayland-egl-devel
|
%description libwayland-egl-devel
|
||||||
Mesa libwayland-egl development package
|
Mesa libwayland-egl development package
|
||||||
|
|
||||||
|
%package libxatracker
|
||||||
|
Summary: Mesa XA state tracker for vmware
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires(post): /sbin/ldconfig
|
||||||
|
Requires(postun): /sbin/ldconfig
|
||||||
|
Provides: libxatracker
|
||||||
|
|
||||||
|
%description libxatracker
|
||||||
|
Mesa XA state tracker for vmware
|
||||||
|
|
||||||
|
%package libxatracker-devel
|
||||||
|
Summary: Mesa XA state tracker development package
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: mesa-libxatracker%{?_isa} = %{version}-%{release}
|
||||||
|
Provides: libxatracker-devel
|
||||||
|
|
||||||
|
%description libxatracker-devel
|
||||||
|
Mesa XA state tracker development package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Mesa-%{version}%{?snapshot} -b0 -b2
|
%setup -q -n Mesa-%{version}%{?snapshot} -b0 -b2
|
||||||
|
@ -279,8 +297,9 @@ export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||||
--enable-shared-glapi \
|
--enable-shared-glapi \
|
||||||
--enable-gbm \
|
--enable-gbm \
|
||||||
%if %{with_hardware}
|
%if %{with_hardware}
|
||||||
--with-gallium-drivers=r300,r600,nouveau,swrast \
|
--with-gallium-drivers=svga,r300,r600,nouveau,swrast \
|
||||||
--enable-gallium-llvm \
|
--enable-gallium-llvm \
|
||||||
|
--enable-xa \
|
||||||
%else
|
%else
|
||||||
--disable-gallium-llvm \
|
--disable-gallium-llvm \
|
||||||
--with-gallium-drivers=swrast \
|
--with-gallium-drivers=swrast \
|
||||||
|
@ -401,6 +420,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/dri/nouveau_dri.so
|
%{_libdir}/dri/nouveau_dri.so
|
||||||
%{_libdir}/dri/nouveau_vieux_dri.so
|
%{_libdir}/dri/nouveau_vieux_dri.so
|
||||||
|
%{_libdir}/dri/vmwgfx_dri.so
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/dri/swrast_dri.so
|
%{_libdir}/dri/swrast_dri.so
|
||||||
|
|
||||||
|
@ -501,7 +521,28 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_libdir}/libwayland-egl.so
|
%{_libdir}/libwayland-egl.so
|
||||||
%{_libdir}/pkgconfig/wayland-egl.pc
|
%{_libdir}/pkgconfig/wayland-egl.pc
|
||||||
|
|
||||||
|
%files libxatracker
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc docs/COPYING
|
||||||
|
%if %{with_hardware}
|
||||||
|
%{_libdir}/libxatracker.so.1
|
||||||
|
%{_libdir}/libxatracker.so.1.*
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files libxatracker-devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%if %{with_hardware}
|
||||||
|
%{_libdir}/libxatracker.so
|
||||||
|
%{_includedir}/xa_tracker.h
|
||||||
|
%{_includedir}/xa_composite.h
|
||||||
|
%{_includedir}/xa_context.h
|
||||||
|
%{_libdir}/pkgconfig/xatracker.pc
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 15 2012 Dave Airlie <airlied@gmail.com> 8.0.1-4
|
||||||
|
- enable vmwgfx + xa state tracker
|
||||||
|
|
||||||
* Thu Mar 01 2012 Adam Jackson <ajax@redhat.com> 8.0.1-3
|
* Thu Mar 01 2012 Adam Jackson <ajax@redhat.com> 8.0.1-3
|
||||||
- mesa-8.0.1-git.patch: Sync with 8.0 branch (commit a3080987)
|
- mesa-8.0.1-git.patch: Sync with 8.0 branch (commit a3080987)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue