Shouldn't this be something like
PACKAGECONFIG[gobject-types] =
"-Dgobject_types=true,-Dgobject_types=false,glib-2.0"

?

Alex

On Fri, 24 Mar 2023 at 10:36, Petr Kubizňák <kubiz...@2n.com> wrote:
>
> When gobject-introspection is enabled, glib dependency is pulled in
> automatically. When it is disabled, glib dependency should be optional
> via PACKAGECONFIG.
>
> Default is to enable glib so that graphene-gobject is built
> (dependency of gtk4).
>
> Signed-off-by: Petr Kubizňák <kubiz...@2n.com>
> ---
>  meta/recipes-graphics/graphene/graphene_1.10.8.bb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-graphics/graphene/graphene_1.10.8.bb 
> b/meta/recipes-graphics/graphene/graphene_1.10.8.bb
> index 120ee80b17..5c870147d0 100644
> --- a/meta/recipes-graphics/graphene/graphene_1.10.8.bb
> +++ b/meta/recipes-graphics/graphene/graphene_1.10.8.bb
> @@ -11,8 +11,9 @@ SRC_URI[archive.sha256sum] = 
> "a37bb0e78a419dcbeaa9c7027bcff52f5ec2367c25ec859da3
>
>  # Disable neon support by default on ARM-32 platforms because of the
>  # following upstream bug: https://github.com/ebassi/graphene/issues/215
> -PACKAGECONFIG ?= "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 'neon', 
> '', d)}"
> +PACKAGECONFIG ?= "glib ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', 
> 'neon', '', d)}"
>
> +PACKAGECONFIG[glib] = ",,glib-2.0"
>  PACKAGECONFIG[neon] = "-Darm_neon=true,-Darm_neon=false,"
>
>  GIR_MESON_ENABLE_FLAG = 'enabled'
> --
> 2.30.2
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#179033): 
https://lists.openembedded.org/g/openembedded-core/message/179033
Mute This Topic: https://lists.openembedded.org/mt/97820022/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to