diff --git a/Mesa.spec b/Mesa.spec index d360660..e95c3d6 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -1,25 +1,14 @@ -%define majver %(echo %version | cut -d. -f1-2) -%define libgl_majver %(echo %version | cut -d. -f 1) -%define libgl_minver %(echo %version | cut -d. -f 3) -%define pkgver %(echo %version | sed s/\.rc/-rc/) -#%ifarch arm -#%define dri_libglver 1.5.0800%libgl_minver -#%else -%define dri_libglver 1.2 -#%endif - Name: Mesa Epoch: 1 -Version: 20.3.4 -Release: 1mamba +Version: 21.0.2 +Release: 2mamba Summary: A 3-D graphics library with an API which is very similar to that of OpenGL Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://mesa3d.sourceforge.net/ +URL: https://mesa3d.sourceforge.net/ Source: ftp://ftp.freedesktop.org/pub/mesa/mesa-%{version}.tar.xz -#Source: http://www.mesa3d.org/beta/MesaLib-%{pkgver}.tar.gz Source3: Mesa-7.0.3-libGL.la Patch0: %{name}-7.10.2-driproto-2.4.patch Patch1: %{name}-7.10.2-fix_nouveau_dri_includes.patch @@ -29,34 +18,29 @@ License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libX11-devel -BuildRequires: libXau-devel -BuildRequires: libXdamage-devel -BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXv-devel BuildRequires: libXvMC-devel BuildRequires: libXxf86vm-devel -BuildRequires: libbsd-devel +BuildRequires: libclang-devel BuildRequires: libdrm-devel BuildRequires: libelf-devel BuildRequires: libexpat-devel -BuildRequires: libffi-devel BuildRequires: libgcc BuildRequires: libllvm-devel BuildRequires: libomxil-bellagio-devel -BuildRequires: libpciaccess-devel +BuildRequires: libsensors-devel BuildRequires: libstdc++6-devel -BuildRequires: libunwind-devel +BuildRequires: libvulkan-devel BuildRequires: libwayland-devel BuildRequires: libxcb-devel BuildRequires: libxshmfence-devel BuildRequires: libz-devel -BuildRequires: lm_sensors-devel +BuildRequires: libzstd-devel ## AUTOBUILDREQ-END -BuildRequires: libdrm -BuildRequires: libllvm-devel >= 5.0.0 -BuildRequires: clang-devel +BuildRequires: libllvm-devel >= 11.1.0 +BuildRequires: libclang-devel >= 11.1.0 BuildRequires: xproto-devel >= 7.1 BuildRequires: dri2proto-devel BuildRequires: glproto-devel @@ -69,290 +53,78 @@ BuildRequires: presentproto-devel BuildRequires: python-mako-py3 BuildRequires: glslang BuildRequires: wayland-protocols -#%ifnarch arm aarch64 BuildRequires: libclc-devel -#%endif -Provides: libgl -BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: libglvnd-devel %description Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL. To the extent that Mesa utilizes the OpenGL command syntax or state machine, it is being used with authorization from Silicon Graphics, Inc.(SGI). However, the author does not possess an OpenGL license from SGI, and makes no claim that Mesa is in any way a compatible replacement for OpenGL or associated with SGI. Those who want a licensed implementation of OpenGL should contact a licensed vendor. -%package -n libGL-Mesa-dri +%package -n libmesa Summary: Mesa implementation of the OpenGL 3-D graphics library Group: System/Libraries -Provides: libGL.so.1 -Obsoletes: libGL-Mesa-X11 -Obsoletes: libGL-Mesa-fbdev +Requires: mesa-common = %{?epoch:%epoch:}%{version}-%{release} Provides: libGL-Mesa-X11 +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 +Obsoletes: libgbm < 1:21.0.2-2mamba +Obsoletes: libEGL < 1:21.0.2-2mamba +Provides: libvulkan-Mesa +Obsoletes: libvulkan-Mesa < 1:21.0.2-2mamba +Provides: libvdpau-Mesa +Obsoletes: libvdpau-Mesa < 1:21.0.2-2mamba +Provides: libXvMC-Mesa +Obsoletes: libXvMC-Mesa < 1:21.0.2-2mamba +Obsoletes: libGLESv1 < 1:21.0.2-2mamba +Obsoletes: libGLESv2 < 1:21.0.2-2mamba +Obsoletes: libglapi < 1:21.0.2-2mamba +Provides: libOSMesa +Obsoletes: libOSMesa < 1:21.0.2-2mamba +Obsoletes: libOpenVG < 1:21.0.2-2mamba +Obsoletes: libxatracker < 1:21.0.2-2mamba +Obsoletes: libMesaOpenCL < 1:21.0.2-2mamba Provides: xorglibGL -Requires: libglapi == %{?epoch:%epoch:}%{version}-%{release} +Provides: vdpauplugins +Requires: libglvnd -%description -n libGL-Mesa-dri +%description -n libmesa Mesa implementation of the OpenGL 3-D graphics library. - -%package -n libGL-Mesa-fbdev +%package -n libmesa-devel Summary: Mesa implementation of the OpenGL 3-D graphics library -Group: System/Libraries -Provides: libGL.so.1 +Group: Development/Libraries +Requires: libmesa = %{?epoch:%epoch:}%{version}-%{release} +Requires: libglvnd-devel +Obsoletes: libGL-Mesa-X11-devel < 1:21.0.1 +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 +Obsoletes: libxatracker-devel < 1:21.0.2-2mamba +Obsoletes: libGLESv1-devel < 1:21.0.2-2mamba +Obsoletes: libgbm-devel < 1:21.0.2-2mamba +Obsoletes: libxatracker < 1:21.0.2-2mamba -%description -n libGL-Mesa-fbdev +%description -n libmesa-devel Mesa implementation of the OpenGL 3-D graphics library. +This package contains the headers and other files needed for development. -%package -n Mesa-tools -Summary: Utilities and demos for the Mesa GL libraries +%package -n mesa-common +Summary: Common files and tools for the Mesa GL libraries Group: System/Tools -%description -n Mesa-tools -Utilities and demos for the Mesa GL libraries. - -%package -n libGL-devel -Summary: Mesa implementation of the OpenGL 3-D graphics library -Group: Development/Libraries -Obsoletes: libGL-Mesa-X11-devel -Obsoletes: libGL-Mesa-indirect-devel -Requires: libGL-Mesa-dri == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libGL-devel -Mesa implementation of the OpenGL 3-D graphics library. -This package contains the headers and other files needed for development. - -%package -n libGL-Mesa-indirect-devel -Summary: Mesa implementation of the OpenGL 3-D graphics library -Group: Development/Libraries -Obsoletes: libGL-Mesa-X11-devel - -%description -n libGL-Mesa-indirect-devel -Mesa implementation of the OpenGL 3-D graphics library. -This package contains the headers and other files needed for development. - -%package -n libGLU -Summary: Mesa implementation of the OpenGL 3-D graphics library -Group: System/Libraries -Obsoletes: libXorg - -%description -n libGLU -Mesa implementation of the OpenGL 3-D graphics library. - -%package -n libGLU-devel -Summary: Mesa implementation of the OpenGL 3-D graphics library -Group: Development/Libraries -Requires: libGLU == %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: libXorg-devel - -%description -n libGLU-devel -An OpenGL 3-D graphics library using Linux Framebuffer device. -This package contains the headers and other files needed for development. - -%package -n libGLw -Summary: Mesa implementation of the OpenGL 3-D graphics library -Group: System/Libraries - -%description -n libGLw -Mesa implementation of the OpenGL 3-D graphics library. - -%package -n libGLw-devel -Summary: Mesa implementation of the OpenGL 3-D graphics library -Group: Development/Libraries -Requires: libGLw == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libGLw-devel -Mesa implementation of the OpenGL 3-D graphics library. -This package contains the headers and other files needed for development. - -%package -n libEGL -Summary: Mesa implementation of the EGL graphics library -Group: System/Libraries -Requires: libglapi == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libEGL -Mesa implementation of the OpenGL ES 1.0 graphics library. - -%package -n libEGL-devel -Summary: Mesa implementation of the EGL graphics library -Group: Development/Libraries -Requires: libEGL == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libEGL-devel -Mesa implementation of the OpenGL EGL graphics library. -This package contains the headers and other files needed for development. - -%package -n libGLESv1 -Summary: Mesa implementation of the OpenGL ES 1.0 graphics library -Group: System/Libraries -Requires: libglapi == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libGLESv1 -Mesa implementation of the OpenGL ES 1.0 graphics library. - -%package -n libGLESv1-devel -Summary: Mesa implementation of the OpenGL ES 1.0 graphics library -Group: Development/Libraries -Requires: libGLESv1 == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libGLESv1-devel -Mesa implementation of the OpenGL ES 1.0 graphics library. -This package contains the headers and other files needed for development. - -%package -n libGLESv2 -Summary: Mesa implementation of the OpenGL ES 2.0 graphics library -Group: System/Libraries -Requires: libglapi == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libGLESv2 -Mesa implementation of the OpenGL ES 2.0 graphics library. - -%package -n libGLESv2-devel -Summary: Mesa implementation of the OpenGL ES 2.0 graphics library -Group: Development/Libraries -Requires: libGLESv2 == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libGLESv2-devel -Mesa implementation of the OpenGL ES 2.0 graphics library. -This package contains the headers and other files needed for development. - -%package -n libglapi -Summary: The Mesa GL API module responsibile for dispatching all the gl* fuctions -Group: System/Libraries - -%description -n libglapi -The Mesa GL API module is responsibile for dispatching all the gl* fuctions. -It is intended to be mainly used by both the libGLESv1 and libGLESv2 packages. - -%package -n libOSMesa -Summary: Mesa implementation of the OpenGL 3-D graphics library -Group: System/Libraries - -%description -n libOSMesa -Mesa implementation of the OpenGL 3-D graphics library. - -%package -n libOSMesa-devel -Summary: Mesa implementation of the OpenGL 3-D graphics library -Group: Development/Libraries -Requires: libOSMesa == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libOSMesa-devel -Mesa implementation of the OpenGL 3-D graphics library. -This package contains the headers and other files needed for development. - -%package -n libOpenVG -Summary: Mesa implementation of the OpenVG graphics library -Group: System/Libraries - -%description -n libOpenVG -Mesa implementation of the OpenVG graphics library. - -%package -n libOpenVG-devel -Summary: Development files for libOpenVG -Group: Development/Libraries -Requires: libOpenVG == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libOpenVG-devel -Mesa implementation of the OpenVG graphics library. -This package contains the headers and other files needed for development. - -%package -n libwayland-egl-Mesa -Summary: Mesa implementation of Wayland EGL graphics library -Group: System/Libraries -Conflicts: libwayland-egl - -%description -n libwayland-egl-Mesa -Mesa implementation of Wayland EGL graphics library. - -%package -n libwayland-egl-Mesa-devel -Summary: Development files for libwayland-egl -Group: Development/Libraries -Requires: libwayland-egl-Mesa == %{?epoch:%epoch:}%{version}-%{release} -Conflicts: libwayland-egl-devel - -%description -n libwayland-egl-Mesa-devel -Mesa implementation of Wayland EGL graphics library. -This package contains the headers and other files needed for development. - -%package -n libxatracker -Summary: Mesa XA tracker library -Group: System/Libraries - -%description -n libxatracker -Mesa XA tracker library. - -%package -n libxatracker-devel -Summary: Development files for libxatracker -Group: Development/Libraries -Requires: libxatracker == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libxatracker-devel -Mesa XA tracker library. -This package contains the headers and other files needed for development. - -%package -n libgbm -Summary: Mesa generic buffer management library -Group: System/Libraries - -%description -n libgbm -Mesa generic buffer management library. - -%package -n libgbm-devel -Summary: Development files for libgbm -Group: Development/Libraries -Requires: libgbm == %{?epoch:%epoch:}%{version}-%{release} - -%description -n libgbm-devel -Mesa generic buffer management library. - -This package contains the headers and other files needed for development. - -%package -n libvdpau-Mesa -Summary: Mesa plugins for libvdpau -Group: System/Libraries -Provides: vdpauplugins - -%description -n libvdpau-Mesa -Mesa plugins for libvdpau. - -%package -n libXvMC-Mesa -Summary: Mesa plugins for libXvMC -Group: System/Libraries -Provides: xvmcplugins - -%description -n libXvMC-Mesa -Mesa plugins for libXvMC. - -%package -n libMesaOpenCL -Summary: Mesa OpenCL library -Group: System/Libraries - -%description -n libMesaOpenCL -Mesa OpenCL library. - -%package -n libvulkan-Mesa -Summary: Mesa vulkan drivers -Group: System/Libraries - -%description -n libvulkan-Mesa -Mesa vulkan drivers. +%description -n mesa-common +Common files and tools for the Mesa GL libraries. %debug_package %prep -%setup -q -n mesa-%{version} -#-D -T -#:<< _EOF -#%ifarch arm -## Force libglx dri backend using swrast on non-DRI accelerated platforms -#sed -i 's|default_driver="xlib"|default_driver="dri"|' configure -#%endif -#%patch2 -p1 -#%patch3 -p1 +%setup -q -n mesa-%{version} -D -T %build #:<< _EOF -#./autogen.sh \ - -#export CXXFLAGS="%{optflags} -std=c++11" - #%ifnarch arm export CC=clang export CXX=clang++ @@ -360,44 +132,61 @@ export CXX=clang++ export PYTHON=%{__python3} %meson \ - -Degl=enabled \ - -Dgles1=enabled \ - -Dgles2=enabled \ - -Ddri3=enabled \ - -Dglx=dri \ + -Db_lto=false \ + -Db_ndebug=true \ -Dplatforms=x11,wayland \ - -Dglx-direct=true \ - -Dgbm=enabled \ - -Dshared-glapi=enabled \ - -Dlmsensors=enabled \ - -Dlibunwind=true \ %ifarch arm - -Ddri-drivers=auto \ - -Dgallium-drivers=swrast,freedreno \ -%else - -Ddri-drivers=auto \ - -Dgallium-drivers=auto \ - -Dgallium-vdpau=enabled \ - -Dgallium-xvmc=true \ - -Dgallium-omx=bellagio \ + -Dvulkan-drivers=amd,swrast,broadcom \ + -Ddri-drivers=r100,r200 \ + -Dgallium-drivers=r300,r600,radeonsi,freedreno,swrast,virgl,zink,etnaviv,kmsro,lima,panfrost,v3d,vc4 \ + -Dlibunwind=disabled \ + -Dvalgrind=disabled \ + -Dasm=false \ +%endif +%ifarch aarch64 + -Dvulkan-drivers=amd,swrast,broadcom \ + -Ddri-drivers=r100,r200,nouveau \ + -Dgallium-drivers=r300,r600,radeonsi,freedreno,nouveau,swrast,virgl,zink,etnaviv,kmsro,lima,panfrost,v3d,vc4 \ + -Dlibunwind=disabled \ + -Dvalgrind=disabled \ + -Dasm=false \ +%endif +%ifarch x86_64 %{ix86} + -Dswr-arches=avx,avx2 \ + -Dvulkan-drivers=amd,intel,swrast \ + -Ddri-drivers=i915,i965,r100,r200,nouveau \ + -Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,swr,iris,zink \ + -Dlibunwind=enabled \ + -Dvalgrind=enabled \ +%endif + -Dvulkan-overlay-layer=true \ + -Dvulkan-device-select-layer=true \ + -Ddri3=enabled \ + -Degl=enabled \ + -Dgallium-extra-hud=true \ -Dgallium-nine=true \ + -Dgallium-omx=bellagio \ +%ifnarch arm -Dgallium-opencl=icd \ %endif - -Ddri-drivers-path=%{_libdir}/dri \ - -Dvulkan-drivers=auto \ - -Dvulkan-overlay-layer=true \ + -Dgallium-va=enabled \ + -Dgallium-vdpau=enabled \ + -Dgallium-xa=enabled \ + -Dgallium-xvmc=true \ + -Dgbm=enabled \ + -Dgles1=disabled \ + -Dgles2=enabled \ + -Dglvnd=true \ + -Dglx=dri \ -Dllvm=enabled \ - -Dshared-llvm=enabled \ - -Dosmesa=gallium \ - -Dgallium-extra-hud=true \ - -Dgallium-xa=enabled + -Dlmsensors=enabled \ + -Dosmesa=true \ + -Dshared-glapi=enabled \ + -Dmicrosoft-clc=disabled \ + -Ddri-drivers-path=%{_libdir}/dri \ + -Dshared-llvm=enabled -# -Dgallium-egl=true \ -# -Ddri-drivers=swrast \ -# -Ddri-drivers=i915,i965,nouveau,r100,r200 \ -# -Dgallium-drivers=freedreno \ -# -Dgallium-drivers=nouveau,r300,r600,radeonsi,svga,swrast,virgl \ -# -Dvulkan-drivers=intel,amd \ +# -Dglx-direct=true \ %meson_build @@ -405,326 +194,93 @@ export PYTHON=%{__python3} [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %meson_install -# move libGL.so.1.2* under %{_libdir}/mesa to prevent -# libGL.so.1 from being overwritten by ldconfig -install -d -m0755 %{buildroot}%{_libdir}/mesa -mv %{buildroot}%{_libdir}/libGL.so.1.2.0 %{buildroot}%{_libdir}/mesa/ -ln -s libGL.so.1.2.0 %{buildroot}%{_libdir}/mesa/libGL.so.1.2 -ln -sf mesa/libGL.so.1.2.0 %{buildroot}%{_libdir}/libGL.so - -##remove the include that conflicts with liglew -#pushd %{buildroot}%{_includedir}/GL -#rm wglew.h glew.h glxew.h -#popd - -#[ -L %{buildroot}%{_libdir}/libGL.so ] && rm -f %{buildroot}%{_libdir}/libGL.so -#ln -s libGL_so.%{dri_libglver} %{buildroot}%{_libdir}/libGL.so - -## install libGL.la required for build -#install -m 0755 %{SOURCE3} %{buildroot}%{_libdir}/libGL.la - -# remove libGL.so.1 symlink to manage it with alternatives -rm -f %{buildroot}%{_libdir}/libGL.so.1 - -rm -f %{buildroot}%{_libdir}/*.la +# indirect rendering +ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post -n libGL-Mesa-dri -%ifarch %{ix86} -CURRARCH=`uname -m` -if [ "$CURRARCH" = "x86_64" ]; then - ALT_APPEND="-32" -fi -%endif -if [ $1 -ge 1 ]; then - # remove old alternative - /usr/sbin/update-alternatives --remove libGL.so.1${ALT_APPEND} \ - %{_libdir}/libGL_so.%{dri_libglver} &>/dev/null - /usr/sbin/update-alternatives \ - --install %{_libdir}/libGL.so.1 libGL.so.1${ALT_APPEND} \ - %{_libdir}/mesa/libGL.so.%{dri_libglver} 50 -fi -exit 0 +%post -n libmesa -p /sbin/ldconfig +%postun -n libmesa -p /sbin/ldconfig -%preun -n libGL-Mesa-dri -%ifarch %{ix86} -CURRARCH=`uname -m` -if [ "$CURRARCH" = "x86_64" ]; then - ALT_APPEND="-32" -fi -%endif -if [ $1 -eq 0 ]; then - /usr/sbin/update-alternatives --remove libGL.so.1${ALT_APPEND} \ - %{_libdir}/mesa/libGL.so.%{dri_libglver} -fi -exit 0 - -%post -n libGLU -p /sbin/ldconfig -%postun -n libGLU -p /sbin/ldconfig - -%post -n libGLw -p /sbin/ldconfig -%postun -n libGLw -p /sbin/ldconfig - -%post -n libGLESv1 -p /sbin/ldconfig -%postun -n libGLESv1 -p /sbin/ldconfig - -%post -n libGLESv2 -p /sbin/ldconfig -%postun -n libGLESv2 -p /sbin/ldconfig - -%post -n libOSMesa -p /sbin/ldconfig -%postun -n libOSMesa -p /sbin/ldconfig - -%post -n libvdpau-Mesa -p /sbin/ldconfig -%postun -n libvdpau-Mesa -p /sbin/ldconfig - -%post -n libXvMC-Mesa -p /sbin/ldconfig -%postun -n libXvMC-Mesa -p /sbin/ldconfig - -%post -n libGL-devel -sed -i "s|%{_libdir}/libGL.la||" %{_libdir}/*.la -%ifarch x86_64 -sed -i "s|%{_prefix}/lib/libGL.la||" %{_libdir}/*.la -%endif -: - -%post -n libxatracker -p /sbin/ldconfig -%postun -n libxatracker -p /sbin/ldconfig - -%post -n libMesaOpenCL -p /sbin/ldconfig -%postun -n libMesaOpenCL -p /sbin/ldconfig - -%files -n libgbm +%files -n mesa-common %defattr(-,root,root) -%{_libdir}/libgbm.so.* -#%dir %{_libdir}/gbm -#%{_libdir}/gbm/gbm_gallium_drm.so -#%{_libdir}/gbm/gbm_gallium_drm.la -#%{_libdir}/gbm/pipe_swrast.so -#%ifarch %{ix86} x86_64 -#%{_libdir}/gbm/pipe_nouveau.so -#%{_libdir}/gbm/pipe_r300.so -#%{_libdir}/gbm/pipe_r600.so -#%endif - -%files -n libgbm-devel -%defattr(-,root,root) -%{_includedir}/gbm.h -%{_libdir}/libgbm.so -%{_libdir}/pkgconfig/gbm.pc - -%files -n libEGL -%defattr(-,root,root) -%{_libdir}/libEGL.so.* -#%dir %{_libdir}/egl -#%{_libdir}/egl/egl_gallium.so -%ifnarch arm -%dir %{_libdir}/gallium-pipe -%{_libdir}/gallium-pipe/pipe_nouveau.so -%{_libdir}/gallium-pipe/pipe_swrast.so -%endif -#%{_libdir}/gallium-pipe/pipe_i965.la -#%{_libdir}/gallium-pipe/pipe_i965.so -%ifarch %{ix86} x86_64 -%{_libdir}/gallium-pipe/pipe_iris.so -%{_libdir}/gallium-pipe/pipe_r300.so -%{_libdir}/gallium-pipe/pipe_r600.so -%{_libdir}/gallium-pipe/pipe_radeonsi.so -%{_libdir}/gallium-pipe/pipe_vmwgfx.so -%endif -%ifarch aarch64 -%{_libdir}/gallium-pipe/pipe_kmsro.so -%{_libdir}/gallium-pipe/pipe_msm.so -%endif - -%files -n libEGL-devel -%defattr(-,root,root) -#%{_libdir}/egl/egl_gallium.la -%{_libdir}/pkgconfig/egl.pc - -%files -n libGL-Mesa-dri -%defattr(-,root,root) -#%{_sysconfdir}/drirc -%dir %{_libdir}/mesa -%{_libdir}/mesa/libGL.so.* -%ifnarch arm -#%{_libdir}/bellagio/libomx_mesa.la -%{_libdir}/bellagio/libomx_mesa.so -%dir %{_libdir}/d3d -%{_libdir}/d3d/d3dadapter9.so.* -%endif -#%{_libdir}/bellagio/libomx_nouveau.la -#%{_libdir}/bellagio/libomx_nouveau.so -#%{_libdir}/bellagio/libomx_r600.la -#%{_libdir}/bellagio/libomx_r600.so -#%{_libdir}/libdricore%{version}*.so.* -%dir %{_libdir}/dri -%{_libdir}/dri/*.so +%{_sysconfdir}/OpenCL/vendors/mesa.icd %{_datadir}/drirc.d/00-mesa-defaults.conf - -%files -n libGL-devel -%defattr(-,root,root) -%dir %{_includedir}/EGL -%{_includedir}/EGL/*.h -%dir %{_includedir}/KHR -%{_includedir}/KHR/*.h -%dir %{_includedir}/GL -%{_includedir}/GL/gl.h -%{_includedir}/GL/glcorearb.h -%{_includedir}/GL/glext.h -%{_includedir}/GL/glx.h -%{_includedir}/GL/glxext.h -#%{_includedir}/GL/vms_x_fix.h -#%{_includedir}/GL/wmesa.h -%dir %{_includedir}/GL/internal -%{_includedir}/GL/internal/dri_interface.h -#%{_includedir}/GL/wglext.h -%{_libdir}/libGL.so -%{_libdir}/libEGL.so -%{_libdir}/libglapi.so -%ifnarch arm -%dir %{_includedir}/d3dadapter -%{_includedir}/d3dadapter/*.h -%{_libdir}/d3d/d3dadapter9.so -%{_libdir}/pkgconfig/d3d.pc -%endif -%ifarch %{ix86} x86_64 -%{_includedir}/vulkan/vulkan_intel.h -%endif -#%{_libdir}/libdricore%{version}*.so -#%{_libdir}/dri/gallium_drv_video.la -%{_libdir}/pkgconfig/dri.pc -%{_libdir}/pkgconfig/gl.pc - -%files -n libvulkan-Mesa -%defattr(-,root,root) -%ifarch %{ix86} x86_64 -%{_libdir}/libvulkan_intel.so -%{_libdir}/libvulkan_radeon.so -%{_datadir}/vulkan/icd.d/intel_icd.*.json -%{_datadir}/vulkan/icd.d/radeon_icd.*.json -%endif -%{_libdir}/libvulkan_lvp.so -%{_libdir}/libVkLayer_MESA_overlay.so -%{_datadir}/vulkan/icd.d/lvp_icd.*.json +%{_datadir}/glvnd/egl_vendor.d/50_mesa.json +%{_datadir}/vulkan/icd.d/*.json +%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json %{_datadir}/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json %{_bindir}/mesa-overlay-control.py -%files -n libvdpau-Mesa -%defattr(-,root,root) -#%{_libdir}/vdpau/libvdpau_nouveau.la -%ifnarch arm -%{_libdir}/vdpau/libvdpau_nouveau.so -%{_libdir}/vdpau/libvdpau_nouveau.so.* -%endif -%ifarch %{ix86} x86_64 -#%{_libdir}/vdpau/libvdpau_r300.la -%{_libdir}/vdpau/libvdpau_r300.so -%{_libdir}/vdpau/libvdpau_r300.so.* -#%{_libdir}/vdpau/libvdpau_r600.la -%{_libdir}/vdpau/libvdpau_r600.so -%{_libdir}/vdpau/libvdpau_r600.so.* -%{_libdir}/vdpau/libvdpau_radeonsi.so -%{_libdir}/vdpau/libvdpau_radeonsi.so.* -%endif -#%{_libdir}/vdpau/libvdpau_softpipe.la -#%{_libdir}/vdpau/libvdpau_softpipe.so -#%{_libdir}/vdpau/libvdpau_softpipe.so.* - -%ifnarch arm -%files -n libXvMC-Mesa -%defattr(-,root,root) -%{_libdir}/libXvMCnouveau.so -%{_libdir}/libXvMCnouveau.so.* -%ifarch %{ix86} x86_64 -#%{_libdir}/libXvMCr300.so -#%{_libdir}/libXvMCr300.so.* -%{_libdir}/libXvMCr600.so -%{_libdir}/libXvMCr600.so.* -%endif -#%{_libdir}/libXvMCsoftpipe.so -#%{_libdir}/libXvMCsoftpipe.so.* -%endif - -%files -n libGLESv1 -%defattr(-,root,root) -%{_libdir}/libGLESv1_CM.so.* - -%files -n libGLESv1-devel -%defattr(-,root,root) -%dir %{_includedir}/GLES -%{_includedir}/GLES/*.h -%{_libdir}/libGLESv1_CM.so -%{_libdir}/pkgconfig/glesv1_cm.pc - -%files -n libGLESv2 -%defattr(-,root,root) -%{_libdir}/libGLESv2.so.* - -%files -n libGLESv2-devel -%defattr(-,root,root) -%dir %{_includedir}/GLES2 -%{_includedir}/GLES2/*.h -%{_libdir}/libGLESv2.so -%{_libdir}/pkgconfig/glesv2.pc -# TODO: create subpackage -%dir %{_includedir}/GLES3 -%{_includedir}/GLES3/*.h - -%files -n libglapi +%files -n libmesa %defattr(-,root,root) +%{_libdir}/libgbm.so.* %{_libdir}/libglapi.so.* - -%files -n libOSMesa -%defattr(-,root,root) +%{_libdir}/libGLX_indirect.so.* +%{_libdir}/libEGL_mesa.so.* +%{_libdir}/libGLX_mesa.so.* +%{_libdir}/libMesaOpenCL.so.* %{_libdir}/libOSMesa.so.* - -%files -n libOSMesa-devel -%defattr(-,root,root) -%{_includedir}/GL/osmesa.h -%{_libdir}/libOSMesa.so -%{_libdir}/pkgconfig/osmesa.pc - -#%files -n libOpenVG -#%defattr(-,root,root) -#%{_libdir}/libOpenVG.so.* - -#%files -n libOpenVG-devel -#%defattr(-,root,root) -#%dir %{_includedir}/VG -#%{_includedir}/VG/*.h -#%{_libdir}/libOpenVG.so -#%{_libdir}/pkgconfig/vg.pc - -#%files -n libwayland-egl-Mesa -#%defattr(-,root,root) -#%{_libdir}/libwayland-egl.so.* - -#%files -n libwayland-egl-Mesa-devel -#%defattr(-,root,root) -#%{_libdir}/libwayland-egl.so -#%{_libdir}/pkgconfig/wayland-egl.pc - -%files -n libxatracker -%defattr(-,root,root) +%{_libdir}/libVkLayer_MESA_device_select.so +%{_libdir}/libVkLayer_MESA_overlay.so %{_libdir}/libxatracker.so.* +%{_libdir}/libXvMC*.so.* +%{_libdir}/libvulkan_*.so +%ifarch x86_64 %{ix86} +%{_libdir}/libswrAVX.so.* +%{_libdir}/libswrAVX2.so.* +%endif +%{_libdir}/bellagio/libomx_mesa.so +%dir %{_libdir}/d3d +%{_libdir}/d3d/d3dadapter9.so.* +%dir %{_libdir}/dri +%{_libdir}/dri/*.so +%dir %{_libdir}/gallium-pipe +%{_libdir}/gallium-pipe/pipe_*.so +%{_libdir}/vdpau/libvdpau_*.so.* -%files -n libxatracker-devel +%files -n libmesa-devel %defattr(-,root,root) +%{_includedir}/gbm.h %{_includedir}/xa_*.h +%{_includedir}/GL/osmesa.h +%{_includedir}/EGL/*.h +%dir %{_includedir}/d3dadapter +%{_includedir}/d3dadapter/*.h +%dir %{_includedir}/GL/internal +%{_includedir}/GL/internal/dri_interface.h +%ifarch x86_64 %{ix86} +%{_includedir}/vulkan/vulkan_intel.h +%{_libdir}/libswrAVX.so +%{_libdir}/libswrAVX2.so +%endif +%{_libdir}/libgbm.so %{_libdir}/libxatracker.so +%{_libdir}/libGLX_mesa.so +%{_libdir}/libMesaOpenCL.so +%{_libdir}/libOSMesa.so +%{_libdir}/libXvMC*.so +%{_libdir}/libEGL_mesa.so +%{_libdir}/libglapi.so +%{_libdir}/d3d/d3dadapter9.so +%{_libdir}/vdpau/libvdpau_*.so +%{_libdir}/pkgconfig/d3d.pc +%{_libdir}/pkgconfig/dri.pc +%{_libdir}/pkgconfig/gbm.pc +%{_libdir}/pkgconfig/osmesa.pc %{_libdir}/pkgconfig/xatracker.pc -%ifnarch arm -%files -n libMesaOpenCL -%defattr(-,root,root) -%{_sysconfdir}/OpenCL/vendors/mesa.icd -%{_libdir}/libMesaOpenCL.so -%{_libdir}/libMesaOpenCL.so.* -%endif - %changelog +* Tue Apr 20 2021 Silvan Calarco 21.0.2-2mamba +- rebuilt with reworked build options for each arch + +* Thu Apr 08 2021 Automatic Build System 21.0.2-1mamba +- automatic version update by autodist + +* Fri Mar 26 2021 Automatic Build System 21.0.1-1mamba +- automatic version update by autodist + * Sat Jan 30 2021 Automatic Build System 20.3.4-1mamba - automatic version update by autodist