mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 11:56:24 +00:00
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>
This commit is contained in:
parent
53b7f23590
commit
2f06781b87
@ -6,9 +6,13 @@ DEPENDS = "glib-2.0 libusb"
|
|||||||
|
|
||||||
inherit meson gobject-introspection gtk-doc gettext vala
|
inherit meson gobject-introspection gtk-doc gettext vala
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}"
|
PACKAGECONFIG:class-target ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}"
|
||||||
PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false"
|
PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false"
|
||||||
|
|
||||||
|
EXTRA_OEMESON:append:class-native = " -Dtests=false -Dintrospection=false"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https"
|
SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https"
|
||||||
SRCREV = "332d5b987ffecb824426e88518e05547faf2b520"
|
SRCREV = "332d5b987ffecb824426e88518e05547faf2b520"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user