diff options
author | Zoltán Böszörményi <zboszor@gmail.com> | 2023-03-30 15:43:00 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-03-30 09:46:52 -0700 |
commit | 2f06781b8721d4b9431bdf6924ca93f43cc53882 (patch) | |
tree | 887b05783a52ea8b90fa8ccc0be0dbe8f0956e05 | |
parent | 53b7f2359064a5d62aa7dba7a2f7680a1f803046 (diff) | |
download | meta-openembedded-2f06781b8721d4b9431bdf6924ca93f43cc53882.tar.gz |
libgusb: Allow building in native mode
Dependency of libfprint-native.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/libgusb/libgusb_0.3.10.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libgusb/libgusb_0.3.10.bb b/meta-oe/recipes-support/libgusb/libgusb_0.3.10.bb index c208a2090..491b6a7a1 100644 --- a/meta-oe/recipes-support/libgusb/libgusb_0.3.10.bb +++ b/meta-oe/recipes-support/libgusb/libgusb_0.3.10.bb | |||
@@ -6,9 +6,13 @@ DEPENDS = "glib-2.0 libusb" | |||
6 | 6 | ||
7 | inherit meson gobject-introspection gtk-doc gettext vala | 7 | inherit meson gobject-introspection gtk-doc gettext vala |
8 | 8 | ||
9 | PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" | 9 | PACKAGECONFIG:class-target ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" |
10 | PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false" | 10 | PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false" |
11 | 11 | ||
12 | EXTRA_OEMESON:append:class-native = " -Dtests=false -Dintrospection=false" | ||
13 | |||
12 | SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https" | 14 | SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https" |
13 | SRCREV = "332d5b987ffecb824426e88518e05547faf2b520" | 15 | SRCREV = "332d5b987ffecb824426e88518e05547faf2b520" |
14 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | |||
18 | BBCLASSEXTEND = "native" | ||