All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt4][PATCH v2 1/2] qt4-embedded.inc: provide PACKAGECONFIG for tslib
@ 2016-08-23 16:06 Maxin B. John
  2016-08-23 16:06 ` [meta-qt4][PATCH v2 2/2] packagegroup-core-qt4e: updates based on tslib dependency Maxin B. John
  0 siblings, 1 reply; 2+ messages in thread
From: Maxin B. John @ 2016-08-23 16:06 UTC (permalink / raw)
  To: yocto

make tslib dependency optional

Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
 recipes-qt4/qt4/qt4-embedded.inc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/recipes-qt4/qt4/qt4-embedded.inc b/recipes-qt4/qt4/qt4-embedded.inc
index 3f40b82..1122080 100644
--- a/recipes-qt4/qt4/qt4-embedded.inc
+++ b/recipes-qt4/qt4/qt4-embedded.inc
@@ -2,7 +2,9 @@ SUMMARY = "Cross-platform UI toolkit and application framework (framebuffer vers
 DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the embedded (framebuffer) version."
 SECTION = "libs"
 HOMEPAGE = "http://qt-project.org/"
-DEPENDS += "tslib"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[tslib] = " -plugin-mouse-tslib, ,tslib"
 
 QT4EDEPENDS = ""
 QT_BASE_LIB  ?= "libqt-embedded"
@@ -18,8 +20,8 @@ QT_EMBEDDED_FLAGS ?= " \
 "
 QT_EMBEDDED_EXTRA_FLAGS ?= " \
     -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc \
-    -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \
-    -qt-kbd-tty -qt-kbd-linuxinput \
+    -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \
+    -qt-kbd-tty -qt-kbd-linuxinput ${PACKAGECONFIG_CONFARGS} \
 "
 QT_EMBEDDED_KEYPAD_FLAGS ?= " \
     -DQT_KEYPAD_NAVIGATION \
-- 
2.4.0



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

* [meta-qt4][PATCH v2 2/2] packagegroup-core-qt4e: updates based on tslib dependency
  2016-08-23 16:06 [meta-qt4][PATCH v2 1/2] qt4-embedded.inc: provide PACKAGECONFIG for tslib Maxin B. John
@ 2016-08-23 16:06 ` Maxin B. John
  0 siblings, 0 replies; 2+ messages in thread
From: Maxin B. John @ 2016-08-23 16:06 UTC (permalink / raw)
  To: yocto

Since tslib dependency is optional, update the location of
qt4-embedded-plugin-mousedriver-tslib which depends on it.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
 recipes-qt4/packagegroups/packagegroup-core-qt4e.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/recipes-qt4/packagegroups/packagegroup-core-qt4e.bb b/recipes-qt4/packagegroups/packagegroup-core-qt4e.bb
index eb5fa1f..588e99b 100644
--- a/recipes-qt4/packagegroups/packagegroup-core-qt4e.bb
+++ b/recipes-qt4/packagegroups/packagegroup-core-qt4e.bb
@@ -7,7 +7,7 @@ COMPATIBLE_HOST_mips64 = "null"
 
 inherit packagegroup
 
-TOUCH = ' ${@bb.utils.contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests", "",d)}'
+TOUCH = ' ${@bb.utils.contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests qt4-embedded-plugin-mousedriver-tslib", "",d)}'
 
 RDEPENDS_${PN} = " \
 	qt4-embedded \
@@ -35,7 +35,6 @@ RDEPENDS_${PN} = " \
 	qt4-embedded-plugin-imageformat-mng \
 	qt4-embedded-plugin-imageformat-svg \
 	qt4-embedded-plugin-imageformat-tiff \
-	qt4-embedded-plugin-mousedriver-tslib \
 	qt4-embedded-plugin-script-dbus \
 	qt4-embedded-plugin-sqldriver-sqlite \
 	${TOUCH} \
-- 
2.4.0



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

end of thread, other threads:[~2016-08-23 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-23 16:06 [meta-qt4][PATCH v2 1/2] qt4-embedded.inc: provide PACKAGECONFIG for tslib Maxin B. John
2016-08-23 16:06 ` [meta-qt4][PATCH v2 2/2] packagegroup-core-qt4e: updates based on tslib dependency Maxin B. John

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.