- Split off nouveau*_dri.so into Mesa-dri-nouveau.

Nouveau's 3D support is too unstable to enable by default.

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=543
This commit is contained in:
Max Staudt 2016-10-17 13:45:42 +00:00 committed by Git OBS Bridge
parent fbdc8ab182
commit 1d348e1526
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 17 13:45:06 UTC 2016 - mstaudt@suse.com
- Split off nouveau*_dri.so into Mesa-dri-nouveau.
Nouveau's 3D support is too unstable to enable by default.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 17 12:34:12 UTC 2016 - mstaudt@suse.com Mon Oct 17 12:34:12 UTC 2016 - mstaudt@suse.com

View File

@ -395,6 +395,16 @@ Requires: Mesa = %{version}
This package contains the development environment required for This package contains the development environment required for
compiling programs and libraries using the DRI API. compiling programs and libraries using the DRI API.
%package -n Mesa-dri-nouveau
Summary: Mesa DRI plug-in for 3D acceleration via Nouveau
Group: System/Libraries
Requires: Mesa = %{version}
%description -n Mesa-dri-nouveau
This package contains nouveau_dri.so, which is necessary for
Nouveau's 3D acceleration to work. It is packaged separately
since it is still experimental.
%package -n libgbm1 %package -n libgbm1
Summary: Generic buffer management API Summary: Generic buffer management API
Group: System/Libraries Group: System/Libraries
@ -806,6 +816,8 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \
%{_libdir}/dri/updates %{_libdir}/dri/updates
%endif %endif
%{_libdir}/dri/*_dri.so %{_libdir}/dri/*_dri.so
%exclude %{_libdir}/dri/nouveau_dri.so
%exclude %{_libdir}/dri/nouveau_vieux_dri.so
%if 0%{with_opencl} %if 0%{with_opencl}
# only built with opencl # only built with opencl
%dir %{_libdir}/gallium-pipe/ %dir %{_libdir}/gallium-pipe/
@ -969,6 +981,10 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \
%{_includedir}/GL/internal %{_includedir}/GL/internal
%{_libdir}/pkgconfig/dri.pc %{_libdir}/pkgconfig/dri.pc
%files -n Mesa-dri-nouveau
%{_libdir}/dri/nouveau_dri.so
%{_libdir}/dri/nouveau_vieux_dri.so
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%doc docs/*.html %doc docs/*.html