mesa: enable glu

GLU is needed by glew, which in turn needed by mesa-demos

Signed-off-by: Yu Ke <ke.yu@intel.com>
This commit is contained in:
Yu Ke 2010-11-27 21:43:34 +08:00 committed by Richard Purdie
parent 770cbc076e
commit 5d17116f5e
3 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,7 @@ PROVIDES = "virtual/libgl"
inherit autotools pkgconfig
EXTRA_OECONF = "--disable-glu \
EXTRA_OECONF = "--enable-glu \
--disable-glw \
--disable-glut \
--enable-glx-tls"
@ -21,4 +21,7 @@ EXTRA_OECONF = "--disable-glu \
# Multiple virtual/gl providers being built breaks staging
EXCLUDE_FROM_WORLD = "1"
PACKAGES =+ "libglu libglu-dev"
FILES_libglu = "${libdir}/libGLU.so.*"
FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h"

View File

@ -8,7 +8,7 @@ LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} mesa-dri-glsl-native"
PR = "r0"
PR = "r1"
SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
file://crossfix.patch"

View File

@ -10,6 +10,6 @@ LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes talloc libxml
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}"
PE = "1"
PR = "r0"
PR = "r1"
EXTRA_OECONF += "--with-driver=xlib"