All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-qt5][PATCH v4 2/2] packagegroup-qt5-toolchain-target: include all modules for development
Date: Tue, 04 Mar 2014 15:00:03 -0500	[thread overview]
Message-ID: <20140304200003.GE22890@denix.org> (raw)
In-Reply-To: <1393734165-15082-2-git-send-email-net147@gmail.com>

On Sun, Mar 02, 2014 at 03:22:45PM +1100, Jonathan Liu wrote:
> This adds the necessary target packages for development with all of the
> Qt 5 modules.
> 
> Signed-off-by: Jonathan Liu <net147@gmail.com>
> ---
>  .../packagegroup-qt5-toolchain-target.bb           | 80 ++++++++++++++++++----
>  1 file changed, 65 insertions(+), 15 deletions(-)
> 
> diff --git a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
> index 997df18..25983dc 100644
> --- a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
> +++ b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
> @@ -9,32 +9,82 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
>  
>  # Requires meta-ruby to work
>  USE_RUBY = " \
> -    qtwebkit-mkspecs \
>      qtwebkit-dev \
> +    qtwebkit-mkspecs \
> +    qtwebkit-qmlplugins \
> +"
> +
> +# Requires Wayland to work
> +USE_WAYLAND = " \
> +    qtwayland-dev \
> +    qtwayland-mkspecs \
> +    qtwayland-plugins \
> +    qtwayland-tools \
> +"
> +
> +# Requires X11 to work
> +USE_X11 = " \
> +    qtx11extras-dev \
> +    qtx11extras-mkspecs \
>  "
>  
>  RDEPENDS_${PN} += " \
>      packagegroup-core-standalone-sdk-target \
>      libsqlite3-dev \
> -    qtbase-mkspecs \
> -    qtscript-mkspecs \
> -    qtxmlpatterns-mkspecs \
> -    qtdeclarative-mkspecs \
> -    qtsensors-mkspecs \
> +    qt3d-dev \
>      qt3d-mkspecs \
> -    qtlocation-mkspecs \
> -    qtsvg-mkspecs \
> +    qt3d-qmlplugins \
>      qtbase-dev \
> +    qtbase-fonts \
> +    qtbase-mkspecs \
> +    qtbase-plugins \
> +    qtbase-staticdev \
> +    qtconnectivity-dev \
> +    qtconnectivity-mkspecs \
> +    qtconnectivity-qmlplugins \
>      qtdeclarative-dev \
> -    qtscript-dev \
> -    qt3d-dev \
> +    qtdeclarative-mkspecs \
> +    qtdeclarative-plugins \
> +    qtdeclarative-qmlplugins \
> +    qtdeclarative-staticdev \
> +    qtgraphicaleffects-qmlplugins \
> +    qtimageformats-dev \
> +    qtimageformats-plugins \
>      qtlocation-dev \
> +    qtlocation-mkspecs \
> +    qtlocation-plugins \
> +    qtlocation-qmlplugins \
> +    qtmultimedia-dev \
> +    qtmultimedia-mkspecs \
> +    qtmultimedia-plugins \
> +    qtmultimedia-qmlplugins \
> +    qtquick1-dev \
> +    qtquick1-mkspecs \
> +    qtquick1-plugins \
> +    qtquick1-qmlplugins \
> +    qtquickcontrols-qmlplugins \
> +    qtscript-dev \
> +    qtscript-mkspecs \
>      qtsensors-dev \
> +    qtsensors-mkspecs \
> +    qtsensors-plugins \
> +    qtsensors-qmlplugins \
> +    qtserialport-dev \
> +    qtserialport-mkspecs \
>      qtsvg-dev \
> -    qtxmlpatterns-dev \
> -    qtdeclarative-dev \
> -    qtdeclarative-plugins \
> -    qtdeclarative-qmlplugins \
> -    qtgraphicaleffects-dev \
> +    qtsvg-mkspecs \
> +    qtsvg-plugins \
> +    qtsystems-dev \
> +    qtsystems-mkspecs \
> +    qtsystems-qmlplugins \
> +    qttools-dev \
> +    qttools-mkspecs \
> +    qttools-plugins \
> +    qttools-staticdev \
> +    qttools-tools \
> +    ${@base_contains('DISTRO_FEATURES', 'wayland', '${USE_WAYLAND}', '', d)} \
>      ${@base_contains('BBFILE_COLLECTIONS', 'ruby-layer', '${USE_RUBY}', '', d)} \
> +    ${@base_contains('DISTRO_FEATURES', 'x11', '${USE_X11}', '', d)} \

Like I said in v2 comment - I like the conditionals here. Can we possibly make 
other modules as conditionals as well? I.e. qt3d or qtwebkit when they are not 
built for the target?

-- 
Denys


> +    qtxmlpatterns-dev \
> +    qtxmlpatterns-mkspecs \
>  "
> -- 
> 1.9.0
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


      parent reply	other threads:[~2014-03-04 20:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-02  4:22 [meta-qt5][PATCH v4 1/2] qtimageformats: allow empty qtimageformats package Jonathan Liu
2014-03-02  4:22 ` [meta-qt5][PATCH v4 2/2] packagegroup-qt5-toolchain-target: include all modules for development Jonathan Liu
2014-03-03 19:53   ` Otavio Salvador
2014-03-04  3:43     ` Jonathan Liu
2014-03-04 14:34       ` Otavio Salvador
2014-03-11 11:39         ` Jonathan Liu
2014-03-12 18:42           ` Otavio Salvador
2014-03-12 21:03             ` Jonathan Liu
2014-03-12 22:37               ` Otavio Salvador
2014-03-12 22:47                 ` Jonathan Liu
2014-03-04 20:00   ` Denys Dmytriyenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140304200003.GE22890@denix.org \
    --to=denis@denix.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.