Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] libQtOpenGL:Add libQtOpenGL to an lsb image
@ 2011-07-05  8:40 Xiaofeng Yan
  2011-07-05  8:40 ` [PATCH 1/1] " Xiaofeng Yan
  0 siblings, 1 reply; 3+ messages in thread
From: Xiaofeng Yan @ 2011-07-05  8:40 UTC (permalink / raw)
  To: openembedded-core

Hi Saul,

I make "opengl" as a ditro-feature for installing libQtOpenGL to image.


Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: xiaofeng/opengl
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/opengl

Thanks,
    Xiaofeng Yan <xiaofeng.yan@windriver.com>
---


Xiaofeng Yan (1):
  libQtOpenGL:Add libQtOpenGL to an lsb image

 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(-)




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] libQtOpenGL:Add libQtOpenGL to an lsb image
  2011-07-05  8:40 [PATCH 0/1] libQtOpenGL:Add libQtOpenGL to an lsb image Xiaofeng Yan
@ 2011-07-05  8:40 ` Xiaofeng Yan
  2011-07-07 12:32   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Xiaofeng Yan @ 2011-07-05  8:40 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 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 87145a3..aed2ef5 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 = "r23"
 
-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}"
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] libQtOpenGL:Add libQtOpenGL to an lsb image
  2011-07-05  8:40 ` [PATCH 1/1] " Xiaofeng Yan
@ 2011-07-07 12:32   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-07-07 12:32 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2011-07-05 at 16:40 +0800, Xiaofeng Yan wrote:
> I make "opengl" as a DISTO_FEATURE for installing libQtOpenGL to image.
> Fix Bug [YOCTO #1020]
> 
> Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-07 12:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-05  8:40 [PATCH 0/1] libQtOpenGL:Add libQtOpenGL to an lsb image Xiaofeng Yan
2011-07-05  8:40 ` [PATCH 1/1] " Xiaofeng Yan
2011-07-07 12:32   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox