update to 17.2.6 [release 17.2.6-1mamba;Tue Nov 28 2017]
This commit is contained in:
parent
3031799ab9
commit
4629fd74e8
92
Mesa.spec
92
Mesa.spec
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: Mesa
|
Name: Mesa
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 11.2.2
|
Version: 17.2.6
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A 3-D graphics library with an API which is very similar to that of OpenGL
|
Summary: A 3-D graphics library with an API which is very similar to that of OpenGL
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -18,7 +18,7 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://mesa3d.sourceforge.net/
|
URL: http://mesa3d.sourceforge.net/
|
||||||
Source: ftp://ftp.freedesktop.org/pub/mesa/%{version}/mesa-%{version}.tar.xz
|
Source: ftp://ftp.freedesktop.org/pub/mesa/mesa-%{version}.tar.xz
|
||||||
#Source: http://www.mesa3d.org/beta/MesaLib-%{pkgver}.tar.gz
|
#Source: http://www.mesa3d.org/beta/MesaLib-%{pkgver}.tar.gz
|
||||||
Source3: Mesa-7.0.3-libGL.la
|
Source3: Mesa-7.0.3-libGL.la
|
||||||
Patch0: %{name}-7.10.2-driproto-2.4.patch
|
Patch0: %{name}-7.10.2-driproto-2.4.patch
|
||||||
@ -37,30 +37,34 @@ BuildRequires: libXfixes-devel
|
|||||||
BuildRequires: libXv-devel
|
BuildRequires: libXv-devel
|
||||||
BuildRequires: libXvMC-devel
|
BuildRequires: libXvMC-devel
|
||||||
BuildRequires: libXxf86vm-devel
|
BuildRequires: libXxf86vm-devel
|
||||||
|
BuildRequires: libbsd-devel
|
||||||
BuildRequires: libdrm-devel
|
BuildRequires: libdrm-devel
|
||||||
BuildRequires: libelf-devel
|
BuildRequires: libelf-devel
|
||||||
BuildRequires: libexpat-devel
|
BuildRequires: libexpat-devel
|
||||||
|
BuildRequires: libffi-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libllvm-devel
|
BuildRequires: libllvm-devel
|
||||||
|
BuildRequires: libomxil-bellagio-devel
|
||||||
BuildRequires: libpciaccess-devel
|
BuildRequires: libpciaccess-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libunwind-devel
|
||||||
|
BuildRequires: libwayland-devel
|
||||||
BuildRequires: libxcb-devel
|
BuildRequires: libxcb-devel
|
||||||
BuildRequires: libxshmfence-devel
|
BuildRequires: libxshmfence-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
BuildRequires: lm_sensors-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libdrm
|
BuildRequires: libdrm
|
||||||
BuildRequires: libllvm-devel >= 3.8.0
|
BuildRequires: libllvm-devel >= 5.0.0
|
||||||
BuildRequires: xproto-devel >= 7.1
|
BuildRequires: xproto-devel >= 7.1
|
||||||
BuildRequires: dri2proto-devel
|
BuildRequires: dri2proto-devel
|
||||||
BuildRequires: glproto-devel
|
BuildRequires: glproto-devel
|
||||||
BuildRequires: makedepend >= 1.0.0
|
BuildRequires: makedepend >= 1.0.0
|
||||||
BuildRequires: libllvm-devel >= 3.1
|
|
||||||
BuildRequires: libudis86-devel
|
BuildRequires: libudis86-devel
|
||||||
BuildRequires: liblesstif-devel
|
BuildRequires: liblesstif-devel
|
||||||
BuildRequires: libvdpau-devel
|
BuildRequires: libvdpau-devel
|
||||||
BuildRequires: dri3proto-devel
|
BuildRequires: dri3proto-devel
|
||||||
BuildRequires: libxshmfence-devel
|
|
||||||
BuildRequires: presentproto-devel
|
BuildRequires: presentproto-devel
|
||||||
BuildRequires: libomxil-bellagio-devel
|
|
||||||
%ifnarch arm
|
%ifnarch arm
|
||||||
BuildRequires: libclc-devel
|
BuildRequires: libclc-devel
|
||||||
%endif
|
%endif
|
||||||
@ -317,12 +321,17 @@ Group: System/Libraries
|
|||||||
%description -n libMesaOpenCL
|
%description -n libMesaOpenCL
|
||||||
Mesa OpenCL library.
|
Mesa OpenCL library.
|
||||||
|
|
||||||
|
%package -n libvulkan-Mesa
|
||||||
|
Summary: Mesa vulkan drivers
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libvulkan-Mesa
|
||||||
|
Mesa vulkan drivers.
|
||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n mesa-%{version}
|
%setup -q -n mesa-%{version}
|
||||||
#-D -T
|
|
||||||
#:<< ___EOF
|
|
||||||
%ifarch arm
|
%ifarch arm
|
||||||
# Force libglx dri backend using swrast on non-DRI accelerated platforms
|
# Force libglx dri backend using swrast on non-DRI accelerated platforms
|
||||||
sed -i 's|default_driver="xlib"|default_driver="dri"|' configure
|
sed -i 's|default_driver="xlib"|default_driver="dri"|' configure
|
||||||
@ -331,53 +340,53 @@ sed -i 's|default_driver="xlib"|default_driver="dri"|' configure
|
|||||||
#%patch3 -p1
|
#%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#:<< ___EOF
|
|
||||||
#./autogen.sh \
|
#./autogen.sh \
|
||||||
# --with-dri-drivers=swrast \
|
|
||||||
# --with-gallium-drivers=swrast
|
|
||||||
|
|
||||||
export CXXFLAGS="%{optflags} -std=c++11"
|
#export CXXFLAGS="%{optflags} -std=c++11"
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--enable-egl \
|
--enable-egl \
|
||||||
--enable-gles1 \
|
--enable-gles1 \
|
||||||
--enable-gles2 \
|
--enable-gles2 \
|
||||||
--with-egl-platforms=x11,drm,wayland \
|
--with-platforms=x11,drm,wayland \
|
||||||
--enable-driglx-direct \
|
--enable-driglx-direct \
|
||||||
--enable-dri \
|
--enable-dri \
|
||||||
--enable-gbm \
|
--enable-gbm \
|
||||||
--enable-glx \
|
--enable-glx \
|
||||||
--enable-glx-tls \
|
--enable-glx-tls \
|
||||||
--enable-llvm-shared-libs \
|
|
||||||
--with-clang-libdir=%{_prefix}/lib \
|
|
||||||
--enable-osmesa \
|
|
||||||
--with-osmesa-bits=8 \
|
|
||||||
--enable-omx \
|
--enable-omx \
|
||||||
--enable-nine \
|
--enable-nine \
|
||||||
--enable-shared-glapi \
|
--enable-shared-glapi \
|
||||||
--enable-vdpau \
|
--enable-vdpau \
|
||||||
--enable-xvmc \
|
--enable-xvmc \
|
||||||
|
--enable-libunwind \
|
||||||
|
--enable-lmsensors \
|
||||||
|
--enable-gallium-osmesa \
|
||||||
%ifarch arm
|
%ifarch arm
|
||||||
--with-dri-drivers=swrast \
|
--with-dri-drivers=swrast \
|
||||||
--with-gallium-drivers=swrast,freedreno,vc4 \
|
--with-gallium-drivers=swrast,freedreno \
|
||||||
--enable-gallium-egl \
|
--enable-gallium-egl \
|
||||||
--disable-gallium-llvm \
|
--disable-llvm \
|
||||||
%else
|
%else
|
||||||
--enable-texture-float \
|
--enable-texture-float \
|
||||||
--enable-gallium-llvm \
|
--enable-llvm \
|
||||||
--with-gallium-drivers=ilo,nouveau,r300,r600,radeonsi,svga,swrast \
|
--disable-llvm-shared-libs \
|
||||||
|
--with-gallium-drivers=nouveau,r300,r600,radeonsi,svga,swrast,virgl,swr \
|
||||||
--with-dri-drivers=i915,i965,nouveau,r200,radeon,swrast \
|
--with-dri-drivers=i915,i965,nouveau,r200,radeon,swrast \
|
||||||
|
--with-vulkan-drivers=intel,radeon \
|
||||||
|
--enable-gallium-extra-hud \
|
||||||
|
--enable-texture-float \
|
||||||
--enable-xa \
|
--enable-xa \
|
||||||
--enable-opencl \
|
--enable-opencl \
|
||||||
--enable-opencl-icd \
|
--enable-opencl-icd \
|
||||||
--enable-r600-llvm-compiler \
|
--enable-r600-llvm-compiler \
|
||||||
|
--with-clang-libdir=%{_libdir}/llvm
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# --enable-openvg \
|
# FIXME: (since llvm 5.0.0)
|
||||||
# --enable-gallium-egl \
|
# --disable-llvm-shared-libs \
|
||||||
|
|
||||||
# --with-driver=dri \
|
# --enable-libglvnd \
|
||||||
# --disable-gallium-egl \
|
|
||||||
|
|
||||||
%make
|
%make
|
||||||
# -j1
|
# -j1
|
||||||
@ -521,8 +530,8 @@ sed -i "s|%{_prefix}/lib/libGL.la||" %{_libdir}/*.la
|
|||||||
#%{_libdir}/egl/egl_gallium.so
|
#%{_libdir}/egl/egl_gallium.so
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%dir %{_libdir}/gallium-pipe
|
%dir %{_libdir}/gallium-pipe
|
||||||
%{_libdir}/gallium-pipe/pipe_i965.la
|
#%{_libdir}/gallium-pipe/pipe_i965.la
|
||||||
%{_libdir}/gallium-pipe/pipe_i965.so
|
#%{_libdir}/gallium-pipe/pipe_i965.so
|
||||||
%{_libdir}/gallium-pipe/pipe_nouveau.la
|
%{_libdir}/gallium-pipe/pipe_nouveau.la
|
||||||
%{_libdir}/gallium-pipe/pipe_nouveau.so
|
%{_libdir}/gallium-pipe/pipe_nouveau.so
|
||||||
%{_libdir}/gallium-pipe/pipe_r300.la
|
%{_libdir}/gallium-pipe/pipe_r300.la
|
||||||
@ -549,6 +558,10 @@ sed -i "s|%{_prefix}/lib/libGL.la||" %{_libdir}/*.la
|
|||||||
%{_libdir}/mesa/libGL.so.*
|
%{_libdir}/mesa/libGL.so.*
|
||||||
%{_libdir}/bellagio/libomx_mesa.la
|
%{_libdir}/bellagio/libomx_mesa.la
|
||||||
%{_libdir}/bellagio/libomx_mesa.so
|
%{_libdir}/bellagio/libomx_mesa.so
|
||||||
|
%ifnarch arm
|
||||||
|
%{_libdir}/libswrAVX.so.*
|
||||||
|
%{_libdir}/libswrAVX2.so.*
|
||||||
|
%endif
|
||||||
%dir %{_libdir}/d3d
|
%dir %{_libdir}/d3d
|
||||||
%{_libdir}/d3d/d3dadapter9.so.*
|
%{_libdir}/d3d/d3dadapter9.so.*
|
||||||
#%{_libdir}/bellagio/libomx_nouveau.la
|
#%{_libdir}/bellagio/libomx_nouveau.la
|
||||||
@ -577,7 +590,7 @@ sed -i "s|%{_prefix}/lib/libGL.la||" %{_libdir}/*.la
|
|||||||
#%{_includedir}/GL/wmesa.h
|
#%{_includedir}/GL/wmesa.h
|
||||||
%dir %{_includedir}/GL/internal
|
%dir %{_includedir}/GL/internal
|
||||||
%{_includedir}/GL/internal/dri_interface.h
|
%{_includedir}/GL/internal/dri_interface.h
|
||||||
%{_includedir}/GL/wglext.h
|
#%{_includedir}/GL/wglext.h
|
||||||
%dir %{_includedir}/d3dadapter
|
%dir %{_includedir}/d3dadapter
|
||||||
%{_includedir}/d3dadapter/*.h
|
%{_includedir}/d3dadapter/*.h
|
||||||
#%{_libdir}/libGL.la
|
#%{_libdir}/libGL.la
|
||||||
@ -586,12 +599,25 @@ sed -i "s|%{_prefix}/lib/libGL.la||" %{_libdir}/*.la
|
|||||||
%{_libdir}/libglapi.so
|
%{_libdir}/libglapi.so
|
||||||
%{_libdir}/d3d/d3dadapter9.la
|
%{_libdir}/d3d/d3dadapter9.la
|
||||||
%{_libdir}/d3d/d3dadapter9.so
|
%{_libdir}/d3d/d3dadapter9.so
|
||||||
|
%ifnarch arm
|
||||||
|
%{_includedir}/vulkan/vulkan_intel.h
|
||||||
|
%{_libdir}/libswrAVX.so
|
||||||
|
%{_libdir}/libswrAVX2.so
|
||||||
|
%endif
|
||||||
#%{_libdir}/libdricore%{version}*.so
|
#%{_libdir}/libdricore%{version}*.so
|
||||||
%{_libdir}/dri/gallium_drv_video.la
|
#%{_libdir}/dri/gallium_drv_video.la
|
||||||
%{_libdir}/pkgconfig/d3d.pc
|
%{_libdir}/pkgconfig/d3d.pc
|
||||||
%{_libdir}/pkgconfig/dri.pc
|
%{_libdir}/pkgconfig/dri.pc
|
||||||
%{_libdir}/pkgconfig/gl.pc
|
%{_libdir}/pkgconfig/gl.pc
|
||||||
|
|
||||||
|
%ifnarch arm
|
||||||
|
%files -n libvulkan-Mesa
|
||||||
|
%{_libdir}/libvulkan_intel.so
|
||||||
|
%{_libdir}/libvulkan_radeon.so
|
||||||
|
%{_datadir}/vulkan/icd.d/intel_icd.*.json
|
||||||
|
%{_datadir}/vulkan/icd.d/radeon_icd.*.json
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n libvdpau-Mesa
|
%files -n libvdpau-Mesa
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
@ -647,10 +673,7 @@ sed -i "s|%{_prefix}/lib/libGL.la||" %{_libdir}/*.la
|
|||||||
%{_libdir}/pkgconfig/glesv2.pc
|
%{_libdir}/pkgconfig/glesv2.pc
|
||||||
# TODO: create subpackage
|
# TODO: create subpackage
|
||||||
%dir %{_includedir}/GLES3
|
%dir %{_includedir}/GLES3
|
||||||
%{_includedir}/GLES3/gl3.h
|
%{_includedir}/GLES3/*.h
|
||||||
%{_includedir}/GLES3/gl3ext.h
|
|
||||||
%{_includedir}/GLES3/gl3platform.h
|
|
||||||
%{_includedir}/GLES3/gl31.h
|
|
||||||
|
|
||||||
%files -n libglapi
|
%files -n libglapi
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -705,6 +728,9 @@ sed -i "s|%{_prefix}/lib/libGL.la||" %{_libdir}/*.la
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 28 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 17.2.6-1mamba
|
||||||
|
- update to 17.2.6
|
||||||
|
|
||||||
* Thu May 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 11.2.2-1mamba
|
* Thu May 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 11.2.2-1mamba
|
||||||
- update to 11.2.2
|
- update to 11.2.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user