Skip to contentSkip to conversation

libQtOpenGL:Add libQtOpenGL to an lsb image

PATCH Applied Xiaofeng Yan 2 participants 3 messages Jul 5, 2011 – Jul 7, 2011

lore
Share & tools
lore
#0 lore raw

cover libQtOpenGL:Add libQtOpenGL to an lsb image

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 <[email protected]>
---

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(-)
#1 lore raw

PATCH 1/1 libQtOpenGL:Add libQtOpenGL to an lsb image

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

---
 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(-)
meta/recipes-extended/tasks/task-core-lsb.bb +1 -17
index 2ec63cc..672b487 100644
@@ -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 
meta/recipes-qt/qt4/qt4-x11-free.inc +1 -1
index 87145a3..aed2ef5 100644
@@ -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}"
Signature · 1 line
1.7.0.4