diff options
author | Xiaofeng Yan <xiaofeng.yan@windriver.com> | 2011-07-05 16:40:46 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-07 13:45:29 +0100 |
commit | d988cfbb472e9246f7a8020877da773e7601c119 (patch) | |
tree | b71845f388b1ad69aaebaa45d07a262f2e0ec791 | |
parent | 9569e2b3471e0c61f2f105f8d611a1ba71cd93d0 (diff) | |
download | poky-d988cfbb472e9246f7a8020877da773e7601c119.tar.gz |
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>
-rw-r--r-- | meta/recipes-extended/tasks/task-core-lsb.bb | 18 | ||||
-rw-r--r-- | 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 2ec63ccd83..672b487dfc 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 = "\ | |||
173 | gtk+ \ | 173 | gtk+ \ |
174 | atk \ | 174 | atk \ |
175 | libasound \ | 175 | libasound \ |
176 | " | 176 | ${@base_contains("DISTRO_FEATURES", "opengl", "libqtopengl4", "", d)} \ |
177 | |||
178 | RDEPENDS_task-core-lsb-graphic-add_qemux86 = "\ | ||
179 | libqtopengl4 \ | ||
180 | " | ||
181 | RDEPENDS_task-core-lsb-graphic-add_atom-pc = "\ | ||
182 | libqtopengl4 \ | ||
183 | " | ||
184 | RDEPENDS_task-core-lsb-graphic-add_qemuppc = "\ | ||
185 | libqtopengl4 \ | ||
186 | " | ||
187 | RDEPENDS_task-core-lsb-graphic-add_emenlow = "\ | ||
188 | libqtopengl4 \ | ||
189 | " | ||
190 | |||
191 | RDEPENDS_task-core-lsb-graphic-add_mpc8315e-rdb = "\ | ||
192 | libqtopengl4 \ | ||
193 | " | 177 | " |
194 | 178 | ||
195 | # mesa-dri | 179 | # mesa-dri |
diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc index 7a30af6324..e6169f3dcf 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 | |||
7 | 7 | ||
8 | INC_PR = "r24" | 8 | INC_PR = "r24" |
9 | 9 | ||
10 | QT_GLFLAGS ?= "-no-opengl" | 10 | QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " |
11 | QT_GLFLAGS_qemux86 = "-opengl" | 11 | QT_GLFLAGS_qemux86 = "-opengl" |
12 | QT_GLFLAGS_qemuppc = "-opengl" | 12 | QT_GLFLAGS_qemuppc = "-opengl" |
13 | QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}" | 13 | QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}" |