Changqing Li via lists.openembedded.org <changqing.li= [email protected]> escreveu (quinta, 7/05/2026 à(s) 06:11):
> When vulkan is enabled in DISTRO_FEATURES without x11 or wayland, > do_configure will failed with error: > gst-libs/gst/vulkan/meson.build:311:4: ERROR: Problem encountered: No > Windowing system found. vulkansink will not work > > disable vulkan from PACKAGECONFIG when x11 and wayland is not enabled > > Signed-off-by: Changqing Li <[email protected]> > --- > .../gstreamer/gstreamer1.0-plugins-bad_1.28.2.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-multimedia/gstreamer/ > gstreamer1.0-plugins-bad_1.28.2.bb b/meta/recipes-multimedia/gstreamer/ > gstreamer1.0-plugins-bad_1.28.2.bb > index cdf3a20dff..51f51761f9 100644 > --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.28.2.bb > +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.28.2.bb > @@ -32,6 +32,8 @@ PACKAGECONFIG ??= " \ > ${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'rsvg', d)} \ > " > > +PACKAGECONFIG:remove = "${@'vulkan' if > (bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d) == '') else ''}" > + > Using the 'remove' override on the core should be avoided because it's impossible to revert the changes on other layers. In my opinion, it would be better to use an auxiliary variable to define when vulkan is enabled, and this could be modified if necessary in other layers. PACKAGECONFIG_VULKAN ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'vulkan', '', d)" PACKAGECONFIG ??= " \ ${PACKAGECONFIG_VULKAN} " Jose PACKAGECONFIG[analytics] = > "-Danalyticsoverlay=enabled,-Danalyticsoverlay=disabled > PACKAGECONFIG[aom] = "-Daom=enabled,-Daom=disabled,aom" > PACKAGECONFIG[assrender] = > "-Dassrender=enabled,-Dassrender=disabled,libass" > -- > 2.34.1 > > > > > -- Best regards, José Quaresma
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#236566): https://lists.openembedded.org/g/openembedded-core/message/236566 Mute This Topic: https://lists.openembedded.org/mt/119192696/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
