summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffroy Van Cutsem <geoffroy.vancutsem@intel.com>2014-12-04 13:46:07 +0100
committerGeoffroy Van Cutsem <geoffroy.vancutsem@intel.com>2014-12-09 11:26:18 +0100
commit4c0c75776dad209debc8b5bdc21355e33ffd745b (patch)
tree0dd86d3d4cd72a08b1a1bfcd001a61f9bc0148d7
parent55b1186cc1101867e0ebea276b6c16c50b58a313 (diff)
downloadmesa-4c0c75776dad209debc8b5bdc21355e33ffd745b.tar.gz
mesa-4c0c75776dad209debc8b5bdc21355e33ffd745b.tar.bz2
mesa-4c0c75776dad209debc8b5bdc21355e33ffd745b.zip
packaging: Enable XA tracked (needed by xf86-video-vmware)
Bug-Tizen: TC-2219 Change-Id: Id4506352c09f113e1524296ee1c1ecf59d5f3d29 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
-rw-r--r--packaging/mesa.spec38
1 files changed, 38 insertions, 0 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec
index 3ecde45f542..9979930c0af 100644
--- a/packaging/mesa.spec
+++ b/packaging/mesa.spec
@@ -162,6 +162,31 @@ Summary: Free implementation of Gallium-pipe API
%description -n mesa-gallium-pipe
Gallium
+
+%package -n libxatracker
+Summary: XA state tracker
+Group: System/Libraries
+Provides: xatracker
+
+%description -n libxatracker
+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++
+Requires: libxatracker = %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.
%endif
%package -n mesa-libGLESv1_CM
@@ -307,6 +332,7 @@ autoreconf -fi
--enable-gallium-llvm \
--with-dri-drivers=i915,i965,swrast \
--with-gallium-drivers="i915,svga,swrast" \
+ --enable-xa \
%else
--disable-gallium-egl \
%endif
@@ -406,6 +432,18 @@ install -m 644 $RPM_SOURCE_DIR/drirc %{buildroot}/etc
%files -n mesa-gallium-pipe
%manifest %{name}.manifest
%defattr(-,root,root)
+
+%files -n libxatracker
+%defattr(-,root,root)
+%manifest %{name}.manifest
+%_libdir/libxatracker.so.*
+
+%files -n libxatracker-devel
+%defattr(-,root,root)
+%manifest %{name}.manifest
+%_includedir/xa_*.h
+%_libdir/libxatracker.so
+%_libdir/pkgconfig/xatracker.pc
%endif
%files -n mesa-libGLESv1_CM