From c48e018eea964a51429184a655db1fcb8a531173 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:47:45 +0100 Subject: [PATCH] provide libgbm-devel and libxatracker-devel [release 21.0.2-3mamba;Sat Apr 24 2021] --- Mesa.spec | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/Mesa.spec b/Mesa.spec index e95c3d6..dcbc250 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -1,7 +1,7 @@ Name: Mesa Epoch: 1 Version: 21.0.2 -Release: 2mamba +Release: 3mamba Summary: A 3-D graphics library with an API which is very similar to that of OpenGL Group: System/Libraries Vendor: openmamba @@ -69,6 +69,7 @@ Obsoletes: libGL-Mesa-X11 < 1:21.0.1 Obsoletes: libGL-Mesa-fbdev < 1:21.0.1 Provides: libGL-Mesa-dri Obsoletes: libGL-Mesa-dri < 1:21.0.2-2mamba +Provides: libgbm Obsoletes: libgbm < 1:21.0.2-2mamba Obsoletes: libEGL < 1:21.0.2-2mamba Provides: libvulkan-Mesa @@ -102,10 +103,11 @@ Obsoletes: libGL-Mesa-indirect-devel < 1:21.0.1 Obsoletes: libOpenVG-devel < 1:21.0.1 Provides: libOSMesa-devel Obsoletes: libOSMesa-devel < 1:21.0.2-2mamba +Provides: libxatracker-devel Obsoletes: libxatracker-devel < 1:21.0.2-2mamba Obsoletes: libGLESv1-devel < 1:21.0.2-2mamba +Provides: libgbm-devel Obsoletes: libgbm-devel < 1:21.0.2-2mamba -Obsoletes: libxatracker < 1:21.0.2-2mamba %description -n libmesa-devel Mesa implementation of the OpenGL 3-D graphics library. @@ -121,7 +123,8 @@ Common files and tools for the Mesa GL libraries. %debug_package %prep -%setup -q -n mesa-%{version} -D -T +%setup -q -n mesa-%{version} +#-D -T %build #:<< _EOF @@ -205,7 +208,9 @@ ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0 %files -n mesa-common %defattr(-,root,root) +%ifnarch arm %{_sysconfdir}/OpenCL/vendors/mesa.icd +%endif %{_datadir}/drirc.d/00-mesa-defaults.conf %{_datadir}/glvnd/egl_vendor.d/50_mesa.json %{_datadir}/vulkan/icd.d/*.json @@ -220,7 +225,9 @@ ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0 %{_libdir}/libGLX_indirect.so.* %{_libdir}/libEGL_mesa.so.* %{_libdir}/libGLX_mesa.so.* +%ifnarch arm %{_libdir}/libMesaOpenCL.so.* +%endif %{_libdir}/libOSMesa.so.* %{_libdir}/libVkLayer_MESA_device_select.so %{_libdir}/libVkLayer_MESA_overlay.so @@ -236,8 +243,10 @@ ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0 %{_libdir}/d3d/d3dadapter9.so.* %dir %{_libdir}/dri %{_libdir}/dri/*.so +%ifnarch arm %dir %{_libdir}/gallium-pipe %{_libdir}/gallium-pipe/pipe_*.so +%endif %{_libdir}/vdpau/libvdpau_*.so.* %files -n libmesa-devel @@ -258,7 +267,9 @@ ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0 %{_libdir}/libgbm.so %{_libdir}/libxatracker.so %{_libdir}/libGLX_mesa.so +%ifnarch arm %{_libdir}/libMesaOpenCL.so +%endif %{_libdir}/libOSMesa.so %{_libdir}/libXvMC*.so %{_libdir}/libEGL_mesa.so @@ -272,6 +283,9 @@ ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0 %{_libdir}/pkgconfig/xatracker.pc %changelog +* Sat Apr 24 2021 Silvan Calarco 21.0.2-3mamba +- provide libgbm-devel and libxatracker-devel + * Tue Apr 20 2021 Silvan Calarco 21.0.2-2mamba - rebuilt with reworked build options for each arch