72 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
73 |
mirror://${PNAME}/libGLU.la |
mirror://${PNAME}/libGLU.la |
74 |
mirror://${PNAME}/libGL.la |
mirror://${PNAME}/libGL.la |
75 |
|
mirror://${PNAME}/${PNAME}-${PVER}-nouveau-missing-headers.patch |
76 |
) |
) |
77 |
|
|
78 |
UP2DATE="updatecmd ftp://ftp.freedesktop.org/pub/mesa/current | lasttarball" |
UP2DATE="updatecmd ftp://ftp.freedesktop.org/pub/mesa/current | lasttarball" |
186 |
{ |
{ |
187 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
188 |
|
|
189 |
|
# fix missing nouveau headers |
190 |
|
mpatch ${PNAME}-${PVER}-nouveau-missing-headers.patch || 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/" ;' |
194 |
|
|