mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
libgusb: add PACKAGECONFIG for vapi and keep it enabled only when introspection is
* vapi depends on introspection being enabled and libgusb build was failing without introspection with: | ../git/gusb/meson.build:182:6: ERROR: Unknown variable "libgusb_girtarget". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -6,6 +6,9 @@ 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[vapi] = "-Dvapi=true,-Dvapi=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 = "db9edbd8b45662d551194a0985173732f8f557a5"
|
SRCREV = "db9edbd8b45662d551194a0985173732f8f557a5"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|||||||
Reference in New Issue
Block a user