diff --git a/Mesa.spec b/Mesa.spec index 16d2f12..36e1a3e 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -10,8 +10,8 @@ Name: Mesa Epoch: 1 -Version: 18.1.2 -Release: 1mamba +Version: 18.1.7 +Release: 2mamba Summary: A 3-D graphics library with an API which is very similar to that of OpenGL Group: System/Libraries Vendor: openmamba @@ -249,19 +249,21 @@ Requires: libOpenVG == %{?epoch:%epoch:}%{version}-%{release} Mesa implementation of the OpenVG graphics library. This package contains the headers and other files needed for development. -%package -n libwayland-egl +%package -n libwayland-egl-Mesa Summary: Mesa implementation of Wayland EGL graphics library Group: System/Libraries +Conflicts: libwayland-egl -%description -n libwayland-egl +%description -n libwayland-egl-Mesa Mesa implementation of Wayland EGL graphics library. -%package -n libwayland-egl-devel +%package -n libwayland-egl-Mesa-devel Summary: Development files for libwayland-egl Group: Development/Libraries -Requires: libwayland-egl == %{?epoch:%epoch:}%{version}-%{release} +Requires: libwayland-egl-Mesa == %{?epoch:%epoch:}%{version}-%{release} +Conflicts: libwayland-egl-devel -%description -n 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. @@ -332,6 +334,8 @@ Mesa vulkan drivers. %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 @@ -348,7 +352,7 @@ sed -i 's|default_driver="xlib"|default_driver="dri"|' configure --enable-egl \ --enable-gles1 \ --enable-gles2 \ - --with-platforms=x11,drm,wayland \ + --with-platforms=x11,drm,wayland,surfaceless \ --enable-driglx-direct \ --enable-dri \ --enable-gbm \ @@ -380,10 +384,12 @@ sed -i 's|default_driver="xlib"|default_driver="dri"|' configure --enable-xa \ --enable-opencl \ --enable-opencl-icd \ - --enable-r600-llvm-compiler \ - --with-clang-libdir=%{_libdir}/llvm + CXX=clang++ CC=clang %endif +# --with-clang-libdir=%{_libdir}/llvm +# --enable-r600-llvm-compiler \ + # FIXME: (since llvm 5.0.0) # --disable-llvm-shared-libs \ @@ -504,8 +510,8 @@ sed -i "s|%{_prefix}/lib/libGL.la||" %{_libdir}/*.la %post -n libMesaOpenCL -p /sbin/ldconfig %postun -n libMesaOpenCL -p /sbin/ldconfig -%post -n libwayland-egl -p /sbin/ldconfig -%postun -n libwayland-egl -p /sbin/ldconfig +%post -n libwayland-egl-Mesa -p /sbin/ldconfig +%postun -n libwayland-egl-Mesa -p /sbin/ldconfig %files -n libgbm %defattr(-,root,root) @@ -704,11 +710,11 @@ sed -i "s|%{_prefix}/lib/libGL.la||" %{_libdir}/*.la #%{_libdir}/libOpenVG.so #%{_libdir}/pkgconfig/vg.pc -%files -n libwayland-egl +%files -n libwayland-egl-Mesa %defattr(-,root,root) %{_libdir}/libwayland-egl.so.* -%files -n libwayland-egl-devel +%files -n libwayland-egl-Mesa-devel %defattr(-,root,root) %{_libdir}/libwayland-egl.so %{_libdir}/pkgconfig/wayland-egl.pc @@ -732,6 +738,12 @@ sed -i "s|%{_prefix}/lib/libGL.la||" %{_libdir}/*.la %endif %changelog +* Mon Sep 03 2018 Silvan Calarco 18.1.7-2mamba +- rename libwayland-egl[-devel] to libwayland-egl-Mesa[-devel] + +* Mon Sep 03 2018 Automatic Build System 18.1.7-1mamba +- automatic version update by autodist + * Sat Jun 16 2018 Automatic Build System 18.1.2-1mamba - automatic version update by autodist