79 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
80 |
mirror://${PNAME}/libGLU.la |
mirror://${PNAME}/libGLU.la |
81 |
mirror://${PNAME}/libGL.la |
mirror://${PNAME}/libGL.la |
|
mirror://${PNAME}/${PNAME}-7.10.2-nouveau-missing-headers.patch |
|
82 |
) |
) |
83 |
|
|
84 |
UP2DATE="updatecmd ftp://ftp.freedesktop.org/pub/mesa/current | lasttarball" |
UP2DATE="updatecmd ftp://ftp.freedesktop.org/pub/mesa/current | lasttarball" |
227 |
{ |
{ |
228 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
229 |
|
|
|
# fix missing nouveau headers |
|
|
mpatch ${PNAME}-7.10.2-nouveau-missing-headers.patch || die |
|
|
|
|
230 |
# no debug code in the drives (gentoo) |
# no debug code in the drives (gentoo) |
231 |
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/" ;' |
232 |
|
|