/[packages]/cauldron/mesa/current/SPECS/mesa.spec
ViewVC logotype

Diff of /cauldron/mesa/current/SPECS/mesa.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 799258 by tv, Sat Nov 22 13:20:48 2014 UTC revision 799259 by tv, Tue Nov 25 19:50:22 2014 UTC
# Line 1  Line 1 
1  %define bootstrap 0  %define bootstrap 1
2  %{?_without_bootstrap: %global bootstrap 0}  %{?_without_bootstrap: %global bootstrap 0}
3  %{?_with_bootstrap: %global bootstrap 1}  %{?_with_bootstrap: %global bootstrap 1}
4    
# Line 21  Line 21 
21    
22  %define opengl_ver 3.0  %define opengl_ver 3.0
23    
24  %define relc                    0  %define relc                    2
25  %define rel                     2  %define rel                     1
26    
27  %define release                 %mkrel %{rel}  %define release                 %mkrel %{rel}
28  %define src_type tar.bz2  %define src_type tar.bz2
# Line 102  Line 102 
102  %define driver_dir              %{_libdir}/dri  %define driver_dir              %{_libdir}/dri
103    
104  %define enable_egl              1  %define enable_egl              1
105    %define enable_vg               0
106  %define enable_wayland          1  %define enable_wayland          1
107    
108  #FIXME: (for 386/485) unset SSE, MMX and 3dnow flags  #FIXME: (for 386/485) unset SSE, MMX and 3dnow flags
# Line 119  Line 120 
120  %define dri_drivers             %{expand:%{dri_drivers_%{_arch}}}  %define dri_drivers             %{expand:%{dri_drivers_%{_arch}}}
121    
122  Name:           mesa  Name:           mesa
123  Version:        10.3.4  Version:        10.4.0
124  Release:        %{release}  Release:        %{release}
125  Summary:        OpenGL %{opengl_ver} compatible 3D graphics library  Summary:        OpenGL %{opengl_ver} compatible 3D graphics library
126  Group:          System/Libraries  Group:          System/Libraries
# Line 313  Provides:      lib%{glesv2name}-devel Line 314  Provides:      lib%{glesv2name}-devel
314  Provides:       %{glesv2name}-devel  Provides:       %{glesv2name}-devel
315  Provides:       libglesv2-devel  Provides:       libglesv2-devel
316    
317    %if %{enable_vg}
318  %package -n %{libopenvgname}  %package -n %{libopenvgname}
319  Summary:        Files for MESA (OpenVG libs)  Summary:        Files for MESA (OpenVG libs)
320  Group:          System/Libraries  Group:          System/Libraries
# Line 325  Requires:      %{libopenvgname} = %{version}- Line 327  Requires:      %{libopenvgname} = %{version}-
327  Provides:       lib%{openvgname}-devel  Provides:       lib%{openvgname}-devel
328  Provides:       %{openvgname}-devel  Provides:       %{openvgname}-devel
329  Provides:       libopenvg-devel  Provides:       libopenvg-devel
330    %endif
331    
332  %if %{enable_wayland}  %if %{enable_wayland}
333  %package -n     %{libgbmname}  %package -n     %{libgbmname}
# Line 358  Group:         System/Libraries Line 361  Group:         System/Libraries
361  # temporary:  # temporary:
362  %rename vdpau-driver-nouveau  %rename vdpau-driver-nouveau
363    
364    %package -n     %{_lib}vdpau-driver-r300
365    Summary:        VDPAU plugin for r300 driver
366    Group:          System/Libraries
367    # temporary:
368    %rename vdpau-driver-r300
369    
370  %package -n     %{_lib}vdpau-driver-r600  %package -n     %{_lib}vdpau-driver-r600
371  Summary:        VDPAU plugin for r600 driver  Summary:        VDPAU plugin for r600 driver
372  Group:          System/Libraries  Group:          System/Libraries
# Line 469  This package provides the OpenGL ES libr Line 478  This package provides the OpenGL ES libr
478  %description -n %{libglesv2name}-devel  %description -n %{libglesv2name}-devel
479  This package contains the headers needed to compile OpenGL ES 2 programs.  This package contains the headers needed to compile OpenGL ES 2 programs.
480    
481    %if %{enable_vg}
482  %description -n %{libopenvgname}  %description -n %{libopenvgname}
483  OpenVG is a royalty-free, cross-platform API that provides a low-level hardware  OpenVG is a royalty-free, cross-platform API that provides a low-level hardware
484  acceleration interface for vector graphics libraries such as Flash and SVG.  acceleration interface for vector graphics libraries such as Flash and SVG.
485    
486  %description -n %{libopenvgname}-devel  %description -n %{libopenvgname}-devel
487  Development files for OpenVG library.  Development files for OpenVG library.
488    %endif
489    
490  %if %{enable_wayland}  %if %{enable_wayland}
491  %description -n %{libgbmname}  %description -n %{libgbmname}
# Line 504  This package contains the headers needed Line 515  This package contains the headers needed
515  This packages provides a VPDAU plugin to enable video acceleration  This packages provides a VPDAU plugin to enable video acceleration
516  with the nouveau driver.  with the nouveau driver.
517    
518    %description -n %{_lib}vdpau-driver-r300
519    This packages provides a VPDAU plugin to enable video acceleration
520    with the r300 driver.
521    
522  %description -n %{_lib}vdpau-driver-r600  %description -n %{_lib}vdpau-driver-r600
523  This packages provides a VPDAU plugin to enable video acceleration  This packages provides a VPDAU plugin to enable video acceleration
524  with the r600 driver.  with the r600 driver.
# Line 563  export LDFLAGS="-L%{_libdir}/llvm" Line 578  export LDFLAGS="-L%{_libdir}/llvm"
578  %endif  %endif
579                  --enable-gles1 \                  --enable-gles1 \
580                  --enable-gles2 \                  --enable-gles2 \
581    %if %{enable_vg}
582                  --enable-openvg \                  --enable-openvg \
583    %endif
584                  --enable-gallium-egl \                  --enable-gallium-egl \
585                  --disable-xvmc \                  --disable-xvmc \
586                  --enable-vdpau \                  --enable-vdpau \
# Line 650  find %{buildroot} -name '*.la' -exec rm Line 667  find %{buildroot} -name '*.la' -exec rm
667  %files -n %{libeglname}  %files -n %{libeglname}
668  %doc docs/COPYING  %doc docs/COPYING
669  %{_libdir}/libEGL.so.%{eglmajor}*  %{_libdir}/libEGL.so.%{eglmajor}*
 %dir %{_libdir}/egl  
670  %if !%{enable_wayland}  %if !%{enable_wayland}
671  # st_GL, built only when shared glapi is not enabled  # st_GL, built only when shared glapi is not enabled
672  %{_libdir}/egl/st_GL.so  %{_libdir}/egl/st_GL.so
673  %endif  %endif
 %{_libdir}/egl/egl_gallium.so  
674  %endif  %endif
675    
676  %files -n %{libosmesaname}  %files -n %{libosmesaname}
# Line 672  find %{buildroot} -name '*.la' -exec rm Line 687  find %{buildroot} -name '*.la' -exec rm
687  %doc docs/COPYING  %doc docs/COPYING
688  %{_libdir}/libGLESv2.so.%{glesv2major}*  %{_libdir}/libGLESv2.so.%{glesv2major}*
689    
690    %if %{enable_vg}
691  %files -n %{libopenvgname}  %files -n %{libopenvgname}
692  %doc docs/COPYING  %doc docs/COPYING
693  %{_libdir}/libOpenVG.so.%{openvgmajor}*  %{_libdir}/libOpenVG.so.%{openvgmajor}*
694    %endif
695    
696  %if %{enable_wayland}  %if %{enable_wayland}
697  %files -n %{libgbmname}  %files -n %{libgbmname}
698  %{_libdir}/libgbm.so.%{gbmmajor}  %{_libdir}/libgbm.so.%{gbmmajor}
699  %{_libdir}/libgbm.so.%{gbmmajor}.*  %{_libdir}/libgbm.so.%{gbmmajor}.*
 %{_libdir}/gbm/gbm_*.so  
700    
701  %files -n %{libwaylandeglname}  %files -n %{libwaylandeglname}
702  %{_libdir}/libwayland-egl.so.%{waylandeglmajor}  %{_libdir}/libwayland-egl.so.%{waylandeglmajor}
# Line 741  find %{buildroot} -name '*.la' -exec rm Line 757  find %{buildroot} -name '*.la' -exec rm
757  %{_libdir}/libGLESv2.so  %{_libdir}/libGLESv2.so
758  %{_libdir}/pkgconfig/glesv2.pc  %{_libdir}/pkgconfig/glesv2.pc
759    
760    %if %{enable_vg}
761  %files -n %{libopenvgname}-devel  %files -n %{libopenvgname}-devel
762  %{_includedir}/VG  %{_includedir}/VG
763  %{_libdir}/libOpenVG.so  %{_libdir}/libOpenVG.so
764  %{_libdir}/pkgconfig/vg.pc  %{_libdir}/pkgconfig/vg.pc
765    %endif
766    
767  %if %{enable_wayland}  %if %{enable_wayland}
768  %files -n %{libgbmname}-devel  %files -n %{libgbmname}-devel
# Line 767  find %{buildroot} -name '*.la' -exec rm Line 785  find %{buildroot} -name '*.la' -exec rm
785  %files -n %{_lib}vdpau-driver-nouveau  %files -n %{_lib}vdpau-driver-nouveau
786  %{_libdir}/vdpau/libvdpau_nouveau.so.*  %{_libdir}/vdpau/libvdpau_nouveau.so.*
787    
788    %files -n %{_lib}vdpau-driver-r300
789    %{_libdir}/vdpau/libvdpau_r300.so.*
790    
791  %files -n %{_lib}vdpau-driver-r600  %files -n %{_lib}vdpau-driver-r600
792  %{_libdir}/vdpau/libvdpau_r600.so.*  %{_libdir}/vdpau/libvdpau_r600.so.*
793    

Legend:
Removed from v.799258  
changed lines
  Added in v.799259

  ViewVC Help
Powered by ViewVC 1.1.26