Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 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 | " |
| 12 | |
| 13 | SRCREV = "ca9dd5b810dc04ea38048ae9be491654c8596ef9" |
| 14 | |
| 15 | S = "${WORKDIR}/git" |
| 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 += " \ |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 30 | -Dwith-pci-ids-path=${datadir}/hwdata/pci.ids \ |
| 31 | -Dwith-usb-ids-path=${datadir}/hwdata/usb.ids \ |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame] | 32 | " |
| 33 | |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 34 | RDEPENDS:${PN} = "hwdata" |