2013-06-12 23:19:57 +00:00
|
|
|
require ${BPN}.inc
|
2013-03-19 16:23:56 +00:00
|
|
|
|
|
|
|
DEFAULT_PREFERENCE = "-1"
|
|
|
|
|
2015-04-29 13:33:20 +00:00
|
|
|
SRCREV = "ea0d1f575c214c09ba3df12644a960e86e031766"
|
|
|
|
PV = "10.5.4+git${SRCPV}"
|
2013-06-12 23:19:57 +00:00
|
|
|
|
2015-04-29 13:33:20 +00:00
|
|
|
SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;branch=10.5"
|
2013-06-12 23:19:57 +00:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
2014-02-18 11:32:16 +00:00
|
|
|
|
2015-04-29 13:33:20 +00:00
|
|
|
DEPENDS += "python-mako-native"
|
|
|
|
|
|
|
|
inherit pythonnative
|
|
|
|
|
2014-02-18 11:32:16 +00:00
|
|
|
#because we cannot rely on the fact that all apps will use pkgconfig,
|
|
|
|
#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
|
|
|
|
do_install_append() {
|
2014-04-24 18:59:20 +00:00
|
|
|
if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
|
2015-07-02 13:03:11 +00:00
|
|
|
sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
|
2014-02-18 11:32:16 +00:00
|
|
|
fi
|
|
|
|
}
|