diff options
| -rw-r--r-- | meta-networking/recipes-support/spice/spice-gtk_0.42.bb | 12 |
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 | " |
| 41 | DEPENDS:append:libc-musl = " libucontext" | 41 | DEPENDS:append:libc-musl = " libucontext" |
| 42 | 42 | ||
| 43 | RDEPENDS:${PN} = "python3-pyparsing python3-six" | 43 | RDEPENDS:${PN} = "python3-pyparsing python3-six usbids" |
| 44 | 44 | ||
| 45 | inherit meson pkgconfig vala gobject-introspection features_check | 45 | inherit meson pkgconfig vala gobject-introspection features_check gtk-doc |
| 46 | 46 | ||
| 47 | REQUIRED_DISTRO_FEATURES = "opengl" | 47 | REQUIRED_DISTRO_FEATURES = "opengl" |
| 48 | 48 | ||
| 49 | GIR_MESON_ENABLE_FLAG = 'enabled' | 49 | GIR_MESON_ENABLE_FLAG = 'enabled' |
| 50 | GIR_MESON_DISABLE_FLAG = 'disabled' | 50 | GIR_MESON_DISABLE_FLAG = 'disabled' |
| 51 | GTKDOC_MESON_OPTION = 'gtk_doc' | ||
| 52 | GTKDOC_MESON_ENABLE_FLAG = 'enabled' | ||
| 53 | GTKDOC_MESON_DISABLE_FLAG = 'disabled' | ||
| 51 | 54 | ||
| 52 | PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" | 55 | PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} smartcard" |
| 53 | PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled" | 56 | PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled" |
| 57 | PACKAGECONFIG[smartcard] = "-Dsmartcard=enabled,-Dsmartcard=disabled,libcacard" | ||
| 54 | 58 | ||
| 55 | EXTRA_OEMESON = "-Dpie=true" | 59 | EXTRA_OEMESON = "-Dpie=true -Dusb-ids-path=${datadir}/usb.ids " |
| 56 | EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" | 60 | EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" |
| 57 | 61 | ||
| 58 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}" | 62 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}" |
