[yocto] [meta-qt4][PATCH 1/2] qt4-embedded.inc: provide PACKAGECONFIG for tslib

Martin Jansa martin.jansa at gmail.com
Fri Aug 19 01:13:31 PDT 2016


On Fri, Aug 19, 2016 at 11:01:57AM +0300, Maxin B. John wrote:
> make tslib dependency optional
> 
> Signed-off-by: Maxin B. John <maxin.john at intel.com>
> ---
>  recipes-qt4/qt4/qt4-embedded.inc | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-qt4/qt4/qt4-embedded.inc b/recipes-qt4/qt4/qt4-embedded.inc
> index 3f40b82..6e7cd86 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] = "QT_EMBEDDED_EXTRA_FLAGS_append ='  -plugin-mouse-tslib', , tslib"

Does this really work? Why don't you append PACKAGECONFIG_CONFARGS
variable to QT_EMBEDDED_EXTRA_FLAGS and leave only -plugin-mouse-tslib
in PACKAGECONFIG?

>  QT4EDEPENDS = ""
>  QT_BASE_LIB  ?= "libqt-embedded"
> @@ -18,7 +20,7 @@ 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-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \
>      -qt-kbd-tty -qt-kbd-linuxinput \
>  "
>  QT_EMBEDDED_KEYPAD_FLAGS ?= " \
> -- 
> 2.4.0
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160819/072f7136/attachment.pgp>


More information about the yocto mailing list