diff options
Diffstat (limited to 'meta-oe/recipes-support/libosinfo/libosinfo_1.12.0.bb')
-rw-r--r-- | meta-oe/recipes-support/libosinfo/libosinfo_1.12.0.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libosinfo/libosinfo_1.12.0.bb b/meta-oe/recipes-support/libosinfo/libosinfo_1.12.0.bb new file mode 100644 index 0000000000..2462786aae --- /dev/null +++ b/meta-oe/recipes-support/libosinfo/libosinfo_1.12.0.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "API for managing information about operating systems, hypervisors and the (virtual) hardware devices." | ||
2 | HOMEPAGE = "https://libosinfo.org" | ||
3 | |||
4 | LICENSE = "LGPL-2.1-only & GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=2b0e9926530c269f5ae95560370195af" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | git://gitlab.com/libosinfo/libosinfo.git;branch=main;protocol=https \ | ||
10 | file://0001-meson.build-allow-crosscompiling-gir.patch \ | ||
11 | file://0adf38535637ec668e658d43f04f60f11f51574f.patch \ | ||
12 | " | ||
13 | |||
14 | SRCREV = "b505ef5161d2552102a743acd4ad83298d3d8f99" | ||
15 | |||
16 | |||
17 | inherit meson pkgconfig gtk-doc gobject-introspection vala | ||
18 | |||
19 | DEPENDS = "glib-2.0 libsoup libxslt" | ||
20 | |||
21 | VALA_MESON_OPTION = 'enable-vala' | ||
22 | VALA_MESON_ENABLE_FLAG = 'enabled' | ||
23 | VALA_MESON_DISABLE_FLAG = 'disabled' | ||
24 | GIR_MESON_OPTION = "enable-introspection" | ||
25 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
26 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
27 | GTKDOC_MESON_OPTION = "enable-gtk-doc" | ||
28 | |||
29 | EXTRA_OEMESON += " \ | ||
30 | -Dwith-pci-ids-path=${datadir}/hwdata/pci.ids \ | ||
31 | -Dwith-usb-ids-path=${datadir}/hwdata/usb.ids \ | ||
32 | " | ||
33 | |||
34 | RDEPENDS:${PN} = "hwdata osinfo-db" | ||