summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)}"