SHA256
1
0
forked from pool/Mesa

- move mesa.icd from /usr/etc/OpenCL/vendors to

/usr/share/OpenCL/vendors (boo#1173005)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=971
This commit is contained in:
Stefan Dirsch 2020-06-23 18:31:57 +00:00 committed by Git OBS Bridge
parent b955f15ed2
commit c5ceb0424e
4 changed files with 20 additions and 14 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 23 18:02:26 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- move mesa.icd from /usr/etc/OpenCL/vendors to
/usr/share/OpenCL/vendors (boo#1173005)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 18 11:02:23 UTC 2020 - Stefan Dirsch <sndirsch@suse.com> Thu Jun 18 11:02:23 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -84,9 +84,6 @@
%if 0%{with_opencl} %if 0%{with_opencl}
%define have_gallium 1 %define have_gallium 1
%if 0%{?suse_version} < 1550
%define _distconfdir /etc
%endif
%else %else
%define have_gallium 0 %define have_gallium 0
%endif %endif
@ -796,7 +793,7 @@ egl_platforms=x11,drm,surfaceless,wayland
%endif %endif
%if 0%{with_opencl} %if 0%{with_opencl}
-Dgallium-opencl=icd \ -Dgallium-opencl=icd \
--sysconfdir=%{_distconfdir} \ --sysconfdir=%{_datadir} \
%endif %endif
-Ddri-search-path=%{_libdir}/dri \ -Ddri-search-path=%{_libdir}/dri \
%if 0%{with_llvm} %if 0%{with_llvm}
@ -1175,9 +1172,9 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%if 0%{with_opencl} %if 0%{with_opencl}
%files -n Mesa-libOpenCL %files -n Mesa-libOpenCL
%dir %{_distconfdir}/OpenCL %dir %{_datadir}/OpenCL
%dir %{_distconfdir}/OpenCL/vendors %dir %{_datadir}/OpenCL/vendors
%{_distconfdir}/OpenCL/vendors/mesa.icd %{_datadir}/OpenCL/vendors/mesa.icd
%{_libdir}/libMesaOpenCL.so* %{_libdir}/libMesaOpenCL.so*
%endif %endif

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 23 18:02:26 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- move mesa.icd from /usr/etc/OpenCL/vendors to
/usr/share/OpenCL/vendors (boo#1173005)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 18 11:02:23 UTC 2020 - Stefan Dirsch <sndirsch@suse.com> Thu Jun 18 11:02:23 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -83,9 +83,6 @@
%if 0%{with_opencl} %if 0%{with_opencl}
%define have_gallium 1 %define have_gallium 1
%if 0%{?suse_version} < 1550
%define _distconfdir /etc
%endif
%else %else
%define have_gallium 0 %define have_gallium 0
%endif %endif
@ -795,7 +792,7 @@ egl_platforms=x11,drm,surfaceless,wayland
%endif %endif
%if 0%{with_opencl} %if 0%{with_opencl}
-Dgallium-opencl=icd \ -Dgallium-opencl=icd \
--sysconfdir=%{_distconfdir} \ --sysconfdir=%{_datadir} \
%endif %endif
-Ddri-search-path=%{_libdir}/dri \ -Ddri-search-path=%{_libdir}/dri \
%if 0%{with_llvm} %if 0%{with_llvm}
@ -1174,9 +1171,9 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%if 0%{with_opencl} %if 0%{with_opencl}
%files -n Mesa-libOpenCL %files -n Mesa-libOpenCL
%dir %{_distconfdir}/OpenCL %dir %{_datadir}/OpenCL
%dir %{_distconfdir}/OpenCL/vendors %dir %{_datadir}/OpenCL/vendors
%{_distconfdir}/OpenCL/vendors/mesa.icd %{_datadir}/OpenCL/vendors/mesa.icd
%{_libdir}/libMesaOpenCL.so* %{_libdir}/libMesaOpenCL.so*
%endif %endif