diff options
author | Markus Volk <f_l_k@t-online.de> | 2023-08-23 18:11:37 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-26 17:32:44 -0700 |
commit | 523f935691112a2948986d08efaada08539f0cd3 (patch) | |
tree | 71ead6fdab1f6e2c0d3274e6f857d9282e74f56a | |
parent | 923a50c79f2a1cc8c8e5e3cbdaccf54ba703dcb9 (diff) | |
download | meta-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.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)}" |