From patchwork Tue Nov 29 08:26:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [CONSOLIDATED, PULL, 15/23] mesa-common: install internal GL headers to libgl-dev Date: Tue, 29 Nov 2011 08:26:46 -0000 From: Saul Wold X-Patchwork-Id: 15549 Message-Id: <02f71be3e3daba102ad4de9114a08a4f64dd9250.1322554983.git.sgw@linux.intel.com> To: openembedded-core@openembedded.org From: Martin Jansa * this is just work around * better fix would be as RP suggested: Ideally we should write a patch fixing the Makefile so dri-swrast installs the pieces the xserver needs to build. Does it need both sarea.h and dri_interface.h or just the latter? Signed-off-by: Martin Jansa --- meta/recipes-graphics/mesa/mesa-common.inc | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc index 7d729b4..3a90121 100644 --- a/meta/recipes-graphics/mesa/mesa-common.inc +++ b/meta/recipes-graphics/mesa/mesa-common.inc @@ -51,3 +51,8 @@ FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h" FILES_${PN}-dbg += "${libdir}/dri/.debug/*" FILES_libegl-dbg += "${libdir}/egl/.debug/*" + +do_install_append () { + install -d ${D}/${includedir}/GL + cp -pPr ${S}/include/GL/internal* ${D}/${includedir}/GL +}