Accepting request 577308 from home:mstaudt:1081210boo-mesa-dri-vc4

- Split Nouveau and VC4 from the main driver package on all systems
  Fixes (boo#1081210).

OBS-URL: https://build.opensuse.org/request/show/577308
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=703
This commit is contained in:
Stefan Dirsch 2018-02-16 16:57:28 +00:00 committed by Git OBS Bridge
parent 85a8c9217e
commit bfb54f85e5
5 changed files with 47 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 16 14:59:04 UTC 2018 - mstaudt@suse.com
- Split Nouveau and VC4 from the main driver package on all systems
Fixes (boo#1081210).
-------------------------------------------------------------------
Thu Feb 15 09:25:16 UTC 2018 - mimi.vx@gmail.com

View File

@ -533,6 +533,16 @@ 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 Mesa-dri-vc4
Summary: Mesa DRI plug-in for 3D acceleration on Raspberry Pi
Group: System/Libraries
Requires: Mesa = %{version}
%description -n Mesa-dri-vc4
This package contains vc4_dri.so, which is necessary for 3D
acceleration on the Raspberry Pi to work. It is packaged separately
since it is still experimental.
%package -n Mesa-gallium
Summary: Mesa Gallium GPU drivers
Group: System/Libraries
@ -1170,11 +1180,12 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%files -n Mesa-dri
%dir %{_libdir}/dri
%{_libdir}/dri/*_dri.so
%if 0%{?is_opensuse}
%ifarch %ix86 x86_64 aarch64 %arm ppc64 ppc64le
%exclude %{_libdir}/dri/nouveau_dri.so
%exclude %{_libdir}/dri/nouveau_vieux_dri.so
%endif
%ifarch %arm aarch64
%exclude %{_libdir}/dri/vc4_dri.so
%endif
%if 0%{with_opencl}
@ -1184,12 +1195,15 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%{_libdir}/gallium-pipe/pipe_*.so
%endif
%if 0%{?is_opensuse}
%ifarch %ix86 x86_64 aarch64 %arm ppc64 ppc64le
%files -n Mesa-dri-nouveau
%{_libdir}/dri/nouveau_dri.so
%{_libdir}/dri/nouveau_vieux_dri.so
%endif
%ifarch aarch64 %arm
%files -n Mesa-dri-vc4
%{_libdir}/dri/vc4_dri.so
%endif
# drivers

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 16 14:59:04 UTC 2018 - mstaudt@suse.com
- Split Nouveau and VC4 from the main driver package on all systems
Fixes (boo#1081210).
-------------------------------------------------------------------
Thu Feb 15 09:25:16 UTC 2018 - mimi.vx@gmail.com

View File

@ -532,6 +532,16 @@ 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 Mesa-dri-vc4
Summary: Mesa DRI plug-in for 3D acceleration on Raspberry Pi
Group: System/Libraries
Requires: Mesa = %{version}
%description -n Mesa-dri-vc4
This package contains vc4_dri.so, which is necessary for 3D
acceleration on the Raspberry Pi to work. It is packaged separately
since it is still experimental.
%package -n Mesa-gallium
Summary: Mesa Gallium GPU drivers
Group: System/Libraries
@ -1169,11 +1179,12 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%files -n Mesa-dri
%dir %{_libdir}/dri
%{_libdir}/dri/*_dri.so
%if 0%{?is_opensuse}
%ifarch %ix86 x86_64 aarch64 %arm ppc64 ppc64le
%exclude %{_libdir}/dri/nouveau_dri.so
%exclude %{_libdir}/dri/nouveau_vieux_dri.so
%endif
%ifarch %arm aarch64
%exclude %{_libdir}/dri/vc4_dri.so
%endif
%if 0%{with_opencl}
@ -1183,12 +1194,15 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%{_libdir}/gallium-pipe/pipe_*.so
%endif
%if 0%{?is_opensuse}
%ifarch %ix86 x86_64 aarch64 %arm ppc64 ppc64le
%files -n Mesa-dri-nouveau
%{_libdir}/dri/nouveau_dri.so
%{_libdir}/dri/nouveau_vieux_dri.so
%endif
%ifarch aarch64 %arm
%files -n Mesa-dri-vc4
%{_libdir}/dri/vc4_dri.so
%endif
# drivers

View File

@ -106,6 +106,7 @@ libvdpau_r300
libvdpau_r600
libvdpau_radeonsi
libwayland-egl1
Mesa-dri-vc4
Mesa-dri-nouveau
Mesa-dri
supplements "Mesa-<targettype> = <version>"