Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 1 | SUMMARY = "GUsb is a GObject wrapper for libusb1" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 2 | LICENSE = "LGPL-2.1-only" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" |
| 4 | |
| 5 | DEPENDS = "glib-2.0 libusb" |
| 6 | |
| 7 | inherit meson gobject-introspection gtk-doc gettext vala |
| 8 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 9 | PACKAGECONFIG:class-target ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 10 | PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false" |
| 11 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 12 | EXTRA_OEMESON:append:class-native = " -Dtests=false -Dintrospection=false" |
| 13 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 14 | SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https" |
| 15 | SRCREV = "332d5b987ffecb824426e88518e05547faf2b520" |
| 16 | S = "${WORKDIR}/git" |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 17 | |
| 18 | BBCLASSEXTEND = "native" |