libgusb: update 0.3.10 -> 0.4.9

- use gi-docgen instead of gtk_doc
- add json-glib dependency
- inherit pkgconfig
- add a runtime dependency on hwdata because we need to provide usbids
- dont use append for EXTRA_OEMESON

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk
2025-03-10 20:54:22 +01:00
committed by Khem Raj
parent 56507b3964
commit 9b754a1e2c
@@ -2,17 +2,20 @@ SUMMARY = "GUsb is a GObject wrapper for libusb1"
LICENSE = "LGPL-2.1-only" LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
DEPENDS = "glib-2.0 libusb" DEPENDS = "glib-2.0 libusb json-glib"
RDEPENDS:${PN} = "hwdata"
inherit meson gobject-introspection gtk-doc gettext vala inherit meson gobject-introspection gi-docgen gettext vala pkgconfig
PACKAGECONFIG:class-target ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" PACKAGECONFIG:class-target ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}"
PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false" PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false"
EXTRA_OEMESON:append:class-native = " -Dtests=false -Dintrospection=false" EXTRA_OEMESON:class-native += "-Dtests=false -Dintrospection=false"
GIDOCGEN_MESON_OPTION = 'docs'
SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https" SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https"
SRCREV = "332d5b987ffecb824426e88518e05547faf2b520" SRCREV = "ed31c8134d80d006bd45450e84180be2a7c0742e"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
BBCLASSEXTEND = "native" BBCLASSEXTEND = "native"