SHA256
1
0
forked from pool/Mesa

Accepting request 115124 from home:vlj:branches:X11:XOrg

- Enable xa state tracker and svga gallium drivers (vmwgfx stack)

OBS-URL: https://build.opensuse.org/request/show/115124
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=209
This commit is contained in:
Stefan Dirsch 2012-04-24 09:10:24 +00:00 committed by Git OBS Bridge
parent 2d0b0526f5
commit 02818ecde5
2 changed files with 51 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 23 15:09:29 UTC 2012 - vljn@ovi.com
- Enable xa state tracker and svga gallium drivers (vmwgfx stack)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 15 18:10:39 CEST 2012 - ro@suse.de Sun Apr 15 18:10:39 CEST 2012 - ro@suse.de

View File

@ -348,6 +348,35 @@ openwfd.
This package provides the development environment for compiling This package provides the development environment for compiling
programs against the GBM library. programs against the GBM library.
%package -n libxatracker1
Summary: XA state tracker
Group: System/Libraries
Version: 1.0.0
Release: 0
%description -n libxatracker1
This package contains the XA state tracker for gallium3D driver.
It superseeds the Xorg state tracker and provides an infrastructure
to accelerate Xorg 2D operations. It is currently used by vmwgfx
video driver.
%package -n libxatracker-devel
Summary: Development files for the XA API
Group: Development/Libraries/C and C++
Version: 1.0.0
Release: 0
Requires: libxatracker1 = %version
%description -n libxatracker-devel
This package contains the XA state tracker for gallium3D driver.
It superseeds the Xorg state tracker and provides an infrastructure
to accelerate Xorg 2D operations. It is currently used by vmwgfx
video driver.
This package provides the development environment for compiling
programs against the XA state tracker.
%package -n Mesa-libglapi0 %package -n Mesa-libglapi0
Summary: Free implementation of the GL API Summary: Free implementation of the GL API
Group: System/Libraries Group: System/Libraries
@ -357,6 +386,7 @@ The Mesa GL API module is responsible for dispatching all the gl*
functions. It is intended to be mainly used by the Mesa-libGLES* functions. It is intended to be mainly used by the Mesa-libGLES*
packages. packages.
%prep %prep
%setup -n %{_name_archive}-%{_version} -b4 -q %setup -n %{_name_archive}-%{_version} -b4 -q
%patch1 -p1 %patch1 -p1
@ -382,11 +412,12 @@ autoreconf -fi
--with-egl-platforms=x11,drm \ --with-egl-platforms=x11,drm \
--enable-shared-glapi \ --enable-shared-glapi \
--enable-shared-dricore \ --enable-shared-dricore \
--enable-xa \
--with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \ --with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \
%ifarch %ix86 x86_64 %ifarch %ix86 x86_64
--enable-gallium-llvm \ --enable-gallium-llvm \
--with-dri-drivers=i915,i965,nouveau,r200,radeon \ --with-dri-drivers=i915,i965,nouveau,r200,radeon \
--with-gallium-drivers=r300,r600,nouveau,swrast \ --with-gallium-drivers=r300,r600,nouveau,swrast,svga \
%endif %endif
%ifarch ia64 ppc ppc64 %sparc hppa %ifarch ia64 ppc ppc64 %sparc hppa
--with-dri-drivers=nouveau,r200,radeon \ --with-dri-drivers=nouveau,r200,radeon \
@ -464,6 +495,10 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%postun -n libgbm1 -p /sbin/ldconfig %postun -n libgbm1 -p /sbin/ldconfig
%post -n libxatracker1 -p /sbin/ldconfig
%postun -n libxatracker1 -p /sbin/ldconfig
%post -n Mesa-libglapi0 -p /sbin/ldconfig %post -n Mesa-libglapi0 -p /sbin/ldconfig
%postun -n Mesa-libglapi0 -p /sbin/ldconfig %postun -n Mesa-libglapi0 -p /sbin/ldconfig
@ -549,6 +584,16 @@ install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
%_libdir/libgbm.so %_libdir/libgbm.so
%_libdir/pkgconfig/gbm.pc %_libdir/pkgconfig/gbm.pc
%files -n libxatracker1
%defattr(-,root,root)
%_libdir/libxatracker.so.1*
%files -n libxatracker-devel
%defattr(-,root,root)
%_includedir/xa_*.h
%_libdir/libxatracker.so
%_libdir/pkgconfig/xatracker.pc
%files -n Mesa-libglapi0 %files -n Mesa-libglapi0
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libglapi.so.0* %_libdir/libglapi.so.0*