diff options
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_git.bb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-graphics/mesa/mesa_git.bb b/meta/recipes-graphics/mesa/mesa_git.bb deleted file mode 100644 index c0345178c4..0000000000 --- a/meta/recipes-graphics/mesa/mesa_git.bb +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | DEFAULT_PREFERENCE = "-1" | ||
4 | |||
5 | SRCREV = "ea0d1f575c214c09ba3df12644a960e86e031766" | ||
6 | PV = "10.5.4+git${SRCPV}" | ||
7 | |||
8 | SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;branch=10.5" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | DEPENDS += "python-mako-native" | ||
13 | |||
14 | inherit pythonnative | ||
15 | |||
16 | #because we cannot rely on the fact that all apps will use pkgconfig, | ||
17 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER | ||
18 | do_install_append() { | ||
19 | if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then | ||
20 | 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 | ||
21 | fi | ||
22 | } | ||