Skip to content

Commit 716a1a6

Browse files
author
Andreas Fenkart
committed
networkmanager: enable vala bindings if gobject introspection is enabled
either: - DISTRO_FEATURES:remove = " gobject-introspection-data" - GI_DATA_ENABLED = "False" will fail with error: ../NetworkManager-1.50.0/meson.build:849:4: ERROR: Assert failed: vala api require GObject introspection. Use -Dvapi=false to disable it patch is based on: [openembedded-core:31daea70b18b2b2266bf94063b655aaf142a6166] librsvg: Only enable the Vala bindings if GObject Introspection is enabled PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vala', '', d)}" and [meta-openembedded:d89fc6ffbdf8f947643def51b804052bb5e7ac97 libpeas: add recipe for 2.0.5 PACKAGECONFIG ?= "python3 gjs lua51 ${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection', 'vala', '', d)}" Signed-off: Andreas Fenkart <afenkart@gmail.com>
1 parent e411e04 commit 716a1a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meta-networking/recipes-connectivity/networkmanager/networkmanager_1.46.0.bb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,12 @@ CFLAGS:append:libc-musl = " \
7777
-DRTLD_DEEPBIND=0 \
7878
"
7979

80-
PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli vala \
80+
PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli \
8181
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d), d)} \
8282
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
8383
${@bb.utils.filter('DISTRO_FEATURES', 'wifi polkit ppp', d)} \
8484
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \
85+
${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'vala', '', d)} \
8586
"
8687

8788
inherit ${@bb.utils.contains('PACKAGECONFIG', 'vala', 'vala', '', d)}

0 commit comments

Comments
 (0)