summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-08-02 17:48:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 14:43:39 +0100
commitd856f4c18425b9e3e5a0898d7f29cffc1998ca12 (patch)
tree1b0cbb862c042f58e5425bfdd2e0ffa598e5e09a /meta/recipes-graphics
parent98975edaff2cc4cc417dee2c7c530e602ff2e4cc (diff)
downloadopenembedded-core-d856f4c18425b9e3e5a0898d7f29cffc1998ca12.tar.gz
openembedded-core-d856f4c18425b9e3e5a0898d7f29cffc1998ca12.tar.bz2
openembedded-core-d856f4c18425b9e3e5a0898d7f29cffc1998ca12.zip
mesa: add --enable-shared-glapi, and package it in libglapi
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/mesa/mesa-common.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index e508b6d676..6582bcf589 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -12,7 +12,7 @@ SECTION = "x11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d"
-INC_PR = "r16"
+INC_PR = "r17"
PE = "2"
@@ -31,7 +31,8 @@ inherit autotools pkgconfig pythonnative
EXTRA_OECONF = "--enable-glu \
--disable-glw \
--disable-glut \
- --enable-glx-tls"
+ --enable-glx-tls \
+ --enable-shared-glapi"
# Multiple virtual/gl providers being built breaks staging
EXCLUDE_FROM_WORLD = "1"
@@ -43,15 +44,18 @@ PACKAGES =+ "libegl libegl-dev libegl-dbg \
libglu libglu-dev \
libosmesa libosmesa-dev \
libgl libgl-dev \
+ libglapi libglapi-dev \
"
FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
FILES_libgl = "${libdir}/libGL.so.*"
+FILES_libglapi = "${libdir}/libglapi.so.*"
FILES_libglu = "${libdir}/libGLU.so.*"
FILES_libosmesa = "${libdir}/libOSMesa.so.*"
FILES_libegl-dev = "${libdir}/libEGL.* ${includedir}/EGL"
FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc"
+FILES_libglapi-dev = "${libdir}/libglapi.*"
FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h ${libdir}/pkgconfig/glu.pc"
FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h"