summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2023-08-23 18:11:37 +0200
committerKhem Raj <raj.khem@gmail.com>2023-08-26 17:32:44 -0700
commit523f935691112a2948986d08efaada08539f0cd3 (patch)
tree71ead6fdab1f6e2c0d3274e6f857d9282e74f56a
parent923a50c79f2a1cc8c8e5e3cbdaccf54ba703dcb9 (diff)
downloadmeta-openembedded-523f935691112a2948986d08efaada08539f0cd3.tar.gz
spice-gtk: fix api-documentation build
- add support for smartcard - add missing rdepend on usbids Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-support/spice/spice-gtk_0.42.bb12
1 files changed, 8 insertions, 4 deletions
diff --git a/meta-networking/recipes-support/spice/spice-gtk_0.42.bb b/meta-networking/recipes-support/spice/spice-gtk_0.42.bb
index 27504392a6..3d34f222d0 100644
--- a/meta-networking/recipes-support/spice/spice-gtk_0.42.bb
+++ b/meta-networking/recipes-support/spice/spice-gtk_0.42.bb
@@ -40,19 +40,23 @@ DEPENDS = " \
40" 40"
41DEPENDS:append:libc-musl = " libucontext" 41DEPENDS:append:libc-musl = " libucontext"
42 42
43RDEPENDS:${PN} = "python3-pyparsing python3-six" 43RDEPENDS:${PN} = "python3-pyparsing python3-six usbids"
44 44
45inherit meson pkgconfig vala gobject-introspection features_check 45inherit meson pkgconfig vala gobject-introspection features_check gtk-doc
46 46
47REQUIRED_DISTRO_FEATURES = "opengl" 47REQUIRED_DISTRO_FEATURES = "opengl"
48 48
49GIR_MESON_ENABLE_FLAG = 'enabled' 49GIR_MESON_ENABLE_FLAG = 'enabled'
50GIR_MESON_DISABLE_FLAG = 'disabled' 50GIR_MESON_DISABLE_FLAG = 'disabled'
51GTKDOC_MESON_OPTION = 'gtk_doc'
52GTKDOC_MESON_ENABLE_FLAG = 'enabled'
53GTKDOC_MESON_DISABLE_FLAG = 'disabled'
51 54
52PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" 55PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} smartcard"
53PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled" 56PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled"
57PACKAGECONFIG[smartcard] = "-Dsmartcard=enabled,-Dsmartcard=disabled,libcacard"
54 58
55EXTRA_OEMESON = "-Dpie=true" 59EXTRA_OEMESON = "-Dpie=true -Dusb-ids-path=${datadir}/usb.ids "
56EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" 60EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext"
57 61
58LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}" 62LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}"