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 7721 by niro, Mon May 30 13:32:28 2011 UTC revision 7722 by niro, Mon May 30 14:11:32 2011 UTC
# Line 45  PROVIDE="virtual/opengl" Line 45  PROVIDE="virtual/opengl"
45  EMUL_LINUX_32=true  EMUL_LINUX_32=true
46  sminclude xorg mtools multilib  sminclude xorg mtools multilib
47    
48    # not the same version anymore
49    MESA_PROGS_PVER="8.0.1"
50    
51  # must be set *after* the include of xorg!  # must be set *after* the include of xorg!
52  SRCFILE="MesaLib-${PVER/_/-}.tar.bz2"  SRCFILE="MesaLib-${PVER/_/-}.tar.bz2"
53  PROGS_SRCFILE="MesaDemos-${PVER/_/-}.tar.bz2"  MESA_PROGS_SRCFILE="mesa-demos-${PROGS_PVER}.tar.bz2"
54  # libs + progs have the same SRCDIR  # libs + progs have the same SRCDIR
55  SRCDIR="${BUILDDIR}/Mesa-${PVER/_/-}"  SRCDIR="${BUILDDIR}/Mesa-${PVER/_/-}"
56    
# Line 71  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}
77   ftp://ftp.freedesktop.org/pub/mesa/${PVER}/${PROGS_SRCFILE}   ftp://ftp.freedesktop.org/pub/mesa/demos/${MESA_PROGS_PVER}/${MESA_PROGS_SRCFILE}
78   sourceforge://mesa3d/${SRCFILE}   sourceforge://mesa3d/${SRCFILE}
79   sourceforge://mesa3d/${PROGS_SRCFILE}   sourceforge://mesa3d/${MESA_PROGS_SRCFILE}
80   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
81   mirror://${PNAME}/${PROGS_SRCFILE}   mirror://${PNAME}/${MESA_PROGS_SRCFILE}
82   mirror://${PNAME}/libGLU.la   mirror://${PNAME}/libGLU.la
83   mirror://${PNAME}/libGL.la   mirror://${PNAME}/libGL.la
84  )  )
# Line 100  split_info_mesa-progs() Line 103  split_info_mesa-progs()
103   DESCRIPTION="Mesa3D OpenGL graphics applications."   DESCRIPTION="Mesa3D OpenGL graphics applications."
104   PCATEGORIE="x11-apps"   PCATEGORIE="x11-apps"
105    
106     PVER="${MESA_PROGS_PVER}"
107   DEPEND="${MESA_PROGS_DEPEND}"   DEPEND="${MESA_PROGS_DEPEND}"
108    
109   unset postinstall   unset postinstall
# Line 198  split_info_mesa-dri-unichrome() Line 202  split_info_mesa-dri-unichrome()
202  src_prepare()  src_prepare()
203  {  {
204   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
205   all-abis "oldmunpack ${PROGS_SRCFILE} && cp -R ${SRCDIR}/* ${SRCDIR}-$(mabi)/" || die   all-abis "oldmunpack ${MESA_PROGS_SRCFILE} && cp -R ${SRCDIR}/* ${SRCDIR}-$(mabi)/" || die
206    
207   # no debug code in the drives (gentoo)   # no debug code in the drives (gentoo)
208   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/" ;'

Legend:
Removed from v.7721  
changed lines
  Added in v.7722