blob: 491b6a7a1d87daffc59b4a0525a133dd8f7bc303 [file] [log] [blame]
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00001SUMMARY = "GUsb is a GObject wrapper for libusb1"
Andrew Geissler9aee5002022-03-30 16:27:02 +00002LICENSE = "LGPL-2.1-only"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00003LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
4
5DEPENDS = "glib-2.0 libusb"
6
7inherit meson gobject-introspection gtk-doc gettext vala
8
Patrick Williams8e7b46e2023-05-01 14:19:06 -05009PACKAGECONFIG:class-target ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000010PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false"
11
Patrick Williams8e7b46e2023-05-01 14:19:06 -050012EXTRA_OEMESON:append:class-native = " -Dtests=false -Dintrospection=false"
13
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000014SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https"
15SRCREV = "332d5b987ffecb824426e88518e05547faf2b520"
16S = "${WORKDIR}/git"
Patrick Williams8e7b46e2023-05-01 14:19:06 -050017
18BBCLASSEXTEND = "native"