diff options
author | Markus Volk <f_l_k@t-online.de> | 2023-08-30 18:23:30 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-30 14:45:47 -0700 |
commit | b0c46ce73a0e3a67edb2bfd992bd457f2871ede8 (patch) | |
tree | 511ad0771f851380f02df8f7b90c2bb5661d255d | |
parent | 5c5994a3d5546ef5195413802743ddb5d79ae8ab (diff) | |
download | meta-openembedded-b0c46ce73a0e3a67edb2bfd992bd457f2871ede8.tar.gz |
libosinfo: build vapi only if gobject-introspection is enabled
this fixes:
meson.build:40:8: ERROR: Problem encountered: vala support was requested, but introspection support is mandatory.
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/libosinfo/libosinfo_1.10.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/libosinfo/libosinfo_1.10.bb b/meta-oe/recipes-support/libosinfo/libosinfo_1.10.bb index b02bc12816..d724c52ea9 100644 --- a/meta-oe/recipes-support/libosinfo/libosinfo_1.10.bb +++ b/meta-oe/recipes-support/libosinfo/libosinfo_1.10.bb | |||
@@ -23,10 +23,10 @@ GIR_MESON_ENABLE_FLAG = 'enabled' | |||
23 | GIR_MESON_DISABLE_FLAG = 'disabled' | 23 | GIR_MESON_DISABLE_FLAG = 'disabled' |
24 | GTKDOC_MESON_OPTION = "enable-gtk-doc" | 24 | GTKDOC_MESON_OPTION = "enable-gtk-doc" |
25 | 25 | ||
26 | EXTRA_OEMESON = " \ | 26 | EXTRA_OEMESON += " \ |
27 | -Dwith-pci-ids-path=${datadir}/pci.ids \ | 27 | -Dwith-pci-ids-path=${datadir}/pci.ids \ |
28 | -Dwith-usb-ids-path=${datadir}/usb.ids \ | 28 | -Dwith-usb-ids-path=${datadir}/usb.ids \ |
29 | -Denable-vala=enabled \ | 29 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Denable-vala=enabled', '-Denable-vala=disabled', d)} \ |
30 | " | 30 | " |
31 | 31 | ||
32 | RDEPENDS:${PN} = "pciutils-ids usbids" | 32 | RDEPENDS:${PN} = "pciutils-ids usbids" |