libQtOpenGL:Add libQtOpenGL to an lsb image

I make "opengl" as a DISTO_FEATURE for installing libQtOpenGL to image.
Fix Bug [YOCTO #1020]

(From OE-Core rev: f478f90821f5b6a5e5d5dd53708de008bc607a11)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Xiaofeng Yan
2011-07-05 16:40:46 +08:00
committed by Richard Purdie
parent 9569e2b347
commit d988cfbb47
2 changed files with 2 additions and 18 deletions

View File

@@ -173,23 +173,7 @@ RDEPENDS_task-core-lsb-graphic-add = "\
gtk+ \
atk \
libasound \
"
RDEPENDS_task-core-lsb-graphic-add_qemux86 = "\
libqtopengl4 \
"
RDEPENDS_task-core-lsb-graphic-add_atom-pc = "\
libqtopengl4 \
"
RDEPENDS_task-core-lsb-graphic-add_qemuppc = "\
libqtopengl4 \
"
RDEPENDS_task-core-lsb-graphic-add_emenlow = "\
libqtopengl4 \
"
RDEPENDS_task-core-lsb-graphic-add_mpc8315e-rdb = "\
libqtopengl4 \
${@base_contains("DISTRO_FEATURES", "opengl", "libqtopengl4", "", d)} \
"
# mesa-dri

View File

@@ -7,7 +7,7 @@ DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender li
INC_PR = "r24"
QT_GLFLAGS ?= "-no-opengl"
QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} "
QT_GLFLAGS_qemux86 = "-opengl"
QT_GLFLAGS_qemuppc = "-opengl"
QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"