SHA256
1
0
forked from pool/Mesa

- reenabled build of device-select and overlay vulkan layers

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1038
This commit is contained in:
Stefan Dirsch 2021-05-14 03:51:13 +00:00 committed by Git OBS Bridge
parent e91989b57b
commit cdaf3abcbf
4 changed files with 22 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 14 03:24:24 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- reenabled build of device-select and overlay vulkan layers
-------------------------------------------------------------------
Thu May 6 19:00:36 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -778,8 +778,7 @@ egl_platforms=x11,wayland
%endif
%if 0%{with_vulkan}
-Dvulkan-drivers=intel,amd \
-Dvulkan-device-select-layer=true \
-Dvulkan-overlay-layer=true \
-Dvulkan-layers=device-select,overlay \
%else
-Dvulkan-drivers= \
%endif
@ -863,8 +862,6 @@ rm -f %{buildroot}/%{_libdir}/vdpau/libvdpau_gallium.so
# dropped with Mesa 21.1.0
mkdir -p -m 755 %{buildroot}/%{_includedir}/vulkan
mkdir -p -m 755 %{buildroot}/%{_datadir}/vulkan/implicit_layer.d
mkdir -p -m 755 %{buildroot}/%{_datadir}/vulkan/explicit_layer.d
%else
@ -1139,12 +1136,17 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%dir %{_includedir}/vulkan
%files -n Mesa-vulkan-device-select
%{_libdir}/libVkLayer_MESA_device_select.so
%dir %{_datadir}/vulkan
%dir %{_datadir}/vulkan/implicit_layer.d
%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
%files -n Mesa-vulkan-overlay
%{_bindir}/mesa-overlay-control.py
%{_libdir}/libVkLayer_MESA_overlay.so
%dir %{_datadir}/vulkan
%dir %{_datadir}/vulkan/explicit_layer.d
%{_datadir}/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json
%endif
%changelog

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 14 03:24:24 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- reenabled build of device-select and overlay vulkan layers
-------------------------------------------------------------------
Thu May 6 19:00:36 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -777,8 +777,7 @@ egl_platforms=x11,wayland
%endif
%if 0%{with_vulkan}
-Dvulkan-drivers=intel,amd \
-Dvulkan-device-select-layer=true \
-Dvulkan-overlay-layer=true \
-Dvulkan-layers=device-select,overlay \
%else
-Dvulkan-drivers= \
%endif
@ -862,8 +861,6 @@ rm -f %{buildroot}/%{_libdir}/vdpau/libvdpau_gallium.so
# dropped with Mesa 21.1.0
mkdir -p -m 755 %{buildroot}/%{_includedir}/vulkan
mkdir -p -m 755 %{buildroot}/%{_datadir}/vulkan/implicit_layer.d
mkdir -p -m 755 %{buildroot}/%{_datadir}/vulkan/explicit_layer.d
%else
@ -1138,12 +1135,17 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
%dir %{_includedir}/vulkan
%files -n Mesa-vulkan-device-select
%{_libdir}/libVkLayer_MESA_device_select.so
%dir %{_datadir}/vulkan
%dir %{_datadir}/vulkan/implicit_layer.d
%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
%files -n Mesa-vulkan-overlay
%{_bindir}/mesa-overlay-control.py
%{_libdir}/libVkLayer_MESA_overlay.so
%dir %{_datadir}/vulkan
%dir %{_datadir}/vulkan/explicit_layer.d
%{_datadir}/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json
%endif
%changelog