On 17 Apr 2024, at 15:04, Perceval via lists.openembedded.org
<[email protected]> wrote:
> +DEPENDS += "\
> + glib-2.0 \
> + glib-2.0-native \
> + intltool-native \
> + libxml2 \
> + zlib \
> +"
Considering this uses Meson, I’m surprised this uses intltool. Is this still
valid?
> +S = "${WORKDIR}/${BPN}-${PV}"
This is the default, remove.
> +PACKAGECONFIG ?= ""
> +PACKAGECONFIG[gstreamer] = "-Dgst-plugin=enabled, -Dgst-plugin=disabled,
> gstreamer1.0 gstreamer1.0-plugins-base,"
> +PACKAGECONFIG[introspection] = "-Dintrospection=enabled,
> -Dintrospection=disabled, gobject-introspection,"
> +PACKAGECONFIG[usb] = "-Dusb=enabled, -Dusb=disabled, libusb1,"
> +PACKAGECONFIG[viewer] = "-Dviewer=enabled, -Dviewer=disabled, gtk+3
> gstreamer1.0-plugins-base,"
I’d suggest enabling more things by default, so they get tested.
> +# needs to be after PACKAGECONFIG to make sure it is defined
> +inherit meson pkgconfig ${@bb.utils.contains('PACKAGECONFIG',
> 'introspection', 'gobject-introspection', '', d)}
Use inherit_defer to solve this problem.
Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110044):
https://lists.openembedded.org/g/openembedded-devel/message/110044
Mute This Topic: https://lists.openembedded.org/mt/105577746/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-