Magellan Linux

Diff of /branches/magellan-next/core/mesa/mesa-7.10.2-r1.smage2

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

revision 7725 by niro, Mon May 30 14:22:08 2011 UTC revision 7726 by niro, Mon May 30 14:23:48 2011 UTC
# Line 56  SRCFILE="MesaLib-${PVER/_/-}.tar.bz2" Line 56  SRCFILE="MesaLib-${PVER/_/-}.tar.bz2"
56  SRCDIR="${BUILDDIR}/Mesa-${PVER/_/-}"  SRCDIR="${BUILDDIR}/Mesa-${PVER/_/-}"
57    
58  SPLIT_PACKAGES="mesa  SPLIT_PACKAGES="mesa
  mesa-progs  
59   mesa-dri-swrast   mesa-dri-swrast
60   mesa-dri-i810   mesa-dri-i810
61   mesa-dri-i915   mesa-dri-i915
# Line 75  SPLIT_PACKAGES="mesa Line 74  SPLIT_PACKAGES="mesa
74    
75  SRC_URI=(  SRC_URI=(
76   ftp://ftp.freedesktop.org/pub/mesa/${PVER}/${SRCFILE}   ftp://ftp.freedesktop.org/pub/mesa/${PVER}/${SRCFILE}
  ftp://ftp.freedesktop.org/pub/mesa/demos/${MESA_PROGS_PVER}/${MESA_PROGS_SRCFILE}  
77   sourceforge://mesa3d/${SRCFILE}   sourceforge://mesa3d/${SRCFILE}
  sourceforge://mesa3d/${MESA_PROGS_SRCFILE}  
78   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
  mirror://${PNAME}/${MESA_PROGS_SRCFILE}  
79   mirror://${PNAME}/libGLU.la   mirror://${PNAME}/libGLU.la
80   mirror://${PNAME}/libGL.la   mirror://${PNAME}/libGL.la
81  )  )
# Line 99  split_info_mesa() Line 95  split_info_mesa()
95   }   }
96  }  }
97    
 split_info_mesa-progs()  
 {  
  DESCRIPTION="Mesa3D OpenGL graphics applications."  
  PCATEGORIE="x11-apps"  
   
  PVER="${MESA_PROGS_PVER}"  
  DEPEND="${MESA_PROGS_DEPEND}"  
   
  unset postinstall  
 }  
   
98  split_info_mesa-dri-swrast()  split_info_mesa-dri-swrast()
99  {  {
100   DESCRIPTION="Mesa Software Raster DRI driver."   DESCRIPTION="Mesa Software Raster DRI driver."
# Line 203  split_info_mesa-dri-unichrome() Line 188  split_info_mesa-dri-unichrome()
188  src_prepare()  src_prepare()
189  {  {
190   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
  all-abis "oldmunpack ${MESA_PROGS_SRCFILE}" || die  
191    
192   # no debug code in the drives (gentoo)   # no debug code in the drives (gentoo)
193   all-abis 'find src/mesa/drivers/dri -name *.[hc] -exec egrep -l "\#define\W+DO_DEBUG\W+1" {} \; | xargs sed -i -re "s/\#define\W+DO_DEBUG\W+1/\#define DO_DEBUG 0/" ;'   all-abis 'find src/mesa/drivers/dri -name *.[hc] -exec egrep -l "\#define\W+DO_DEBUG\W+1" {} \; | xargs sed -i -re "s/\#define\W+DO_DEBUG\W+1/\#define DO_DEBUG 0/" ;'
# Line 237  src_compile() Line 221  src_compile()
221   fi   fi
222    
223   mmake || die   mmake || die
   
  # build mesa-progs  
  mmake -C ${MESA_PROGS_SRCDIR}/progs/xdemos glxinfo || die  
  mmake -C ${MESA_PROGS_SRCDIR}/progs/xdemos glxgears || die  
224  }  }
225    
226  src_install_mesa()  src_install_mesa()
# Line 337  src_install_mesa() Line 317  src_install_mesa()
317   fi   fi
318  }  }
319    
 src_install_mesa-progs()  
 {  
  minstallexec ${MESA_PROGS_SRCDIR}/progs/xdemos/glxgears || die  
  minstallexec ${MESA_PROGS_SRCDIR}/progs/xdemos/glxinfo || die  
 }  
   
320  src_install_mesa-dri-swrast()  src_install_mesa-dri-swrast()
321  {  {
322   mmake -C src/mesa/drivers/dri/swrast DESTDIR=${BINDIR} install || die   mmake -C src/mesa/drivers/dri/swrast DESTDIR=${BINDIR} install || die

Legend:
Removed from v.7725  
changed lines
  Added in v.7726