Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements
Date: Wed, 26 Feb 2020 13:50:09 +0200	[thread overview]
Message-ID: <20200226115009.GA26350@localhost> (raw)
In-Reply-To: <20200225124627.23tpu5eknidqxrg3@jama>

On Tue, Feb 25, 2020 at 01:46:27PM +0100, Martin Jansa wrote:
> On Tue, Feb 25, 2020 at 02:38:07PM +0200, Adrian Bunk wrote:
> > On Tue, Feb 25, 2020 at 12:32:55PM +0100, Alexander Kanavin wrote:
> > > I would probably look into how
> > > REQUIRED_DISTRO_FEATURE/ANY_OF_DISTRO_FEATURS is actually implemented, and
> > > see if you can convince it to do the right thing, or maybe write a custom
> > > re-implementation.
> > 
> > I did already check meta/classes/features_check.bbclass, there is no 
> > obvious simple way for expressing more complicated dependencies.
> 
> Doesn't this do what you wanted?
> 
> REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland opengl', 'x11', d)}"

Thanks, I now have a v3.

cu
Adrian


      reply	other threads:[~2020-02-26 11:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-23 18:29 [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Adrian Bunk
2020-02-23 18:29 ` [PATCH v2 2/6] webkitgtk: Remove unused DEPENDS on pulseaudio Adrian Bunk
2020-02-23 18:29 ` [PATCH v2 3/6] webkitgtk: Remove obsolete gtk2 packageconfig Adrian Bunk
2020-02-23 18:29 ` [PATCH v2 4/6] webkitgtk: Remove the unused DEPENDS on libidn Adrian Bunk
2020-02-23 18:29 ` [PATCH v2 5/6] systemd: Add a PACKAGECONFIG for libidn2 Adrian Bunk
2020-02-23 18:29 ` [PATCH v2 6/6] libidn: Move to meta-oe Adrian Bunk
2020-02-24  9:17 ` [PATCH v2 1/6] webkitgtk: Remove unnecessary REQUIRED_DISTRO_FEATURES requirements Richard Purdie
2020-02-24 10:46   ` Adrian Bunk
2020-02-24 14:08     ` Adrian Bunk
2020-02-24 14:12       ` Alexander Kanavin
2020-02-24 21:45       ` Alexander Kanavin
2020-02-25 11:19         ` Adrian Bunk
2020-02-25 11:32           ` Alexander Kanavin
2020-02-25 12:38             ` Adrian Bunk
2020-02-25 12:46               ` Martin Jansa
2020-02-26 11:50                 ` Adrian Bunk [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=20200226115009.GA26350@localhost \
    --to=bunk@stusta.de \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox