diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa_11.2.2.bb')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_11.2.2.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa_11.2.2.bb b/meta/recipes-graphics/mesa/mesa_11.2.2.bb new file mode 100644 index 0000000000..a864b54af8 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa_11.2.2.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz \ | ||
4 | file://replace_glibc_check_with_linux.patch \ | ||
5 | " | ||
6 | |||
7 | SRC_URI[md5sum] = "e0ec73f7273662a74366f0d76dd19ac3" | ||
8 | SRC_URI[sha256sum] = "40e148812388ec7c6d7b6657d5a16e2e8dabba8b97ddfceea5197947647bdfb4" | ||
9 | |||
10 | #because we cannot rely on the fact that all apps will use pkgconfig, | ||
11 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER | ||
12 | do_install_append() { | ||
13 | if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then | ||
14 | 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 | ||
15 | fi | ||
16 | } | ||