/[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 270760 by blino, Sat Jul 14 12:12:57 2012 UTC revision 270761 by blino, Sat Jul 14 17:13:11 2012 UTC
# Line 21  Line 21 
21  %define relc                    0  %define relc                    0
22  %define name                    mesa  %define name                    mesa
23  %define version                 8.0.4  %define version                 8.0.4
24  %define rel                     1  %define rel                     2
25    
26  %define release                 %mkrel %{rel}  %define release                 %mkrel %{rel}
27  %define src_type tar.bz2  %define src_type tar.bz2
# Line 139  BuildRequires: makedepend Line 139  BuildRequires: makedepend
139  BuildRequires:  bison flex  BuildRequires:  bison flex
140  BuildRequires:  llvm-devel  BuildRequires:  llvm-devel
141  BuildRequires:  pkgconfig(libudev)  BuildRequires:  pkgconfig(libudev)
142    BuildRequires:  pkgconfig(vdpau)
143  %if %{enable_wayland}  %if %{enable_wayland}
144  BuildRequires:  wayland-devel  BuildRequires:  wayland-devel
145  %endif  %endif
# Line 367  Provides:      lib%{waylandeglname}-devel Line 368  Provides:      lib%{waylandeglname}-devel
368  Provides:       %{waylandeglname}-devel  Provides:       %{waylandeglname}-devel
369  %endif  %endif
370    
371    %package -n     vdpau-driver-nouveau
372    Summary:        VDPAU plugin for nouveau driver
373    Group:          System/Libraries
374    
375    %package -n     vdpau-driver-r300
376    Summary:        VDPAU plugin for r300 driver
377    Group:          System/Libraries
378    
379    %package -n     vdpau-driver-r600
380    Summary:        VDPAU plugin for r600 driver
381    Group:          System/Libraries
382    
383    %package -n     vdpau-driver-softpipe
384    Summary:        VDPAU plugin for softpipe driver
385    Group:          System/Libraries
386    
387  %package        common-devel  %package        common-devel
388  Summary:        Meta package for mesa devel  Summary:        Meta package for mesa devel
389  Group:          Development/C  Group:          Development/C
# Line 480  Mesa is an OpenGL 2.1 compatible 3D grap Line 497  Mesa is an OpenGL 2.1 compatible 3D grap
497  Wayland EGL platform development parts.  Wayland EGL platform development parts.
498  %endif  %endif
499    
500    %description -n vdpau-driver-nouveau
501    This packages provides a VPDAU plugin to enable video acceleration
502    with the nouveau driver.
503    
504    %description -n vdpau-driver-r300
505    This packages provides a VPDAU plugin to enable video acceleration
506    with the r300 driver.
507    
508    %description -n vdpau-driver-r600
509    This packages provides a VPDAU plugin to enable video acceleration
510    with the r600 driver.
511    
512    %description -n vdpau-driver-softpipe
513    This packages provides a VPDAU plugin to enable video acceleration
514    with the softpipe driver.
515    
516  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
517    
518  %prep  %prep
# Line 547  autoreconf -vfi Line 580  autoreconf -vfi
580                  --enable-gles2 \                  --enable-gles2 \
581                  --enable-openvg \                  --enable-openvg \
582                  --enable-gallium-egl \                  --enable-gallium-egl \
583                    --enable-gallium-g3dvl \
584                    --disable-xvmc \
585                    --enable-vdpau \
586                    --disable-va \
587  %if %{with_hardware}  %if %{with_hardware}
588                  --with-gallium-drivers=r300,r600,nouveau,swrast \                  --with-gallium-drivers=r300,r600,nouveau,swrast \
589                  --enable-gallium-llvm \                  --enable-gallium-llvm \
# Line 579  mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/d Line 616  mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/d
616  rm -f %{buildroot}/%{_includedir}/GL/glut.h  rm -f %{buildroot}/%{_includedir}/GL/glut.h
617  rm -f %{buildroot}/%{_includedir}/GL/glutf90.h  rm -f %{buildroot}/%{_includedir}/GL/glutf90.h
618    
619    # .so files are not needed by vdpau
620    rm -f %{buildroot}%{_libdir}/vdpau/libvdpau_*.so
621    
622  # use swrastg if built (Anssi 12/2011)  # use swrastg if built (Anssi 12/2011)
623  [ -e %{buildroot}%{_libdir}/dri/swrastg_dri.so ] && mv %{buildroot}%{_libdir}/dri/swrast{g,}_dri.so  [ -e %{buildroot}%{_libdir}/dri/swrastg_dri.so ] && mv %{buildroot}%{_libdir}/dri/swrast{g,}_dri.so
624    
# Line 729  rm -f %{buildroot}/%{_includedir}/GL/glu Line 769  rm -f %{buildroot}/%{_includedir}/GL/glu
769  %{_libdir}/libwayland-egl.so  %{_libdir}/libwayland-egl.so
770  %{_libdir}/pkgconfig/wayland-egl.pc  %{_libdir}/pkgconfig/wayland-egl.pc
771  %endif  %endif
772    
773    %files -n vdpau-driver-nouveau
774    %{_libdir}/vdpau/libvdpau_nouveau.so.*
775    
776    %files -n vdpau-driver-r300
777    %{_libdir}/vdpau/libvdpau_r300.so.*
778    
779    %files -n vdpau-driver-r600
780    %{_libdir}/vdpau/libvdpau_r600.so.*
781    
782    %files -n vdpau-driver-softpipe
783    %{_libdir}/vdpau/libvdpau_softpipe.so.*

Legend:
Removed from v.270760  
changed lines
  Added in v.270761

  ViewVC Help
Powered by ViewVC 1.1.26