summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoltán Böszörményi <zboszor@gmail.com>2023-03-30 15:43:00 +0200
committerKhem Raj <raj.khem@gmail.com>2023-03-30 09:46:52 -0700
commit2f06781b8721d4b9431bdf6924ca93f43cc53882 (patch)
tree887b05783a52ea8b90fa8ccc0be0dbe8f0956e05
parent53b7f2359064a5d62aa7dba7a2f7680a1f803046 (diff)
downloadmeta-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.bb6
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
7inherit meson gobject-introspection gtk-doc gettext vala 7inherit meson gobject-introspection gtk-doc gettext vala
8 8
9PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" 9PACKAGECONFIG:class-target ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}"
10PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false" 10PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false"
11 11
12EXTRA_OEMESON:append:class-native = " -Dtests=false -Dintrospection=false"
13
12SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https" 14SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https"
13SRCREV = "332d5b987ffecb824426e88518e05547faf2b520" 15SRCREV = "332d5b987ffecb824426e88518e05547faf2b520"
14S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
17
18BBCLASSEXTEND = "native"