Files
Michal Sieron a29ae990b4 libgusb: Convert confusing append to assignment
While in this case override caused by `EXTRA_OEMESON:class-native +=` is
desirable, the `+=` can be confusing. Let's avoid that and use explicit
assignment.

Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-01 13:16:37 -07:00

21 lines
687 B
BlitzBasic

SUMMARY = "GUsb is a GObject wrapper for libusb1"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
DEPENDS = "glib-2.0 libusb json-glib"
RDEPENDS:${PN} = "hwdata"
inherit meson gobject-introspection gi-docgen gettext vala pkgconfig
PACKAGECONFIG:class-target ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}"
PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=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"
SRCREV = "ed31c8134d80d006bd45450e84180be2a7c0742e"
BBCLASSEXTEND = "native"