[oe-commits] Xiaofeng Yan : libQtOpenGL:Add libQtOpenGL to an lsb image
git version control
git at git.openembedded.org
Thu Jul 7 12:47:48 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: f478f90821f5b6a5e5d5dd53708de008bc607a11
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f478f90821f5b6a5e5d5dd53708de008bc607a11
Author: Xiaofeng Yan <xiaofeng.yan at windriver.com>
Date: Tue Jul 5 16:40:46 2011 +0800
libQtOpenGL:Add libQtOpenGL to an lsb image
I make "opengl" as a DISTO_FEATURE for installing libQtOpenGL to image.
Fix Bug [YOCTO #1020]
Signed-off-by: Xiaofeng Yan <xiaofeng.yan at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-extended/tasks/task-core-lsb.bb | 18 +-----------------
meta/recipes-qt/qt4/qt4-x11-free.inc | 2 +-
2 files changed, 2 insertions(+), 18 deletions(-)
diff --git a/meta/recipes-extended/tasks/task-core-lsb.bb b/meta/recipes-extended/tasks/task-core-lsb.bb
index 2ec63cc..672b487 100644
--- a/meta/recipes-extended/tasks/task-core-lsb.bb
+++ b/meta/recipes-extended/tasks/task-core-lsb.bb
@@ -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
diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc
index 7a30af6..e6169f3 100644
--- a/meta/recipes-qt/qt4/qt4-x11-free.inc
+++ b/meta/recipes-qt/qt4/qt4-x11-free.inc
@@ -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}"
More information about the Openembedded-commits
mailing list