mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
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>
This commit is contained in:
@@ -40,19 +40,23 @@ DEPENDS = " \
|
|||||||
"
|
"
|
||||||
DEPENDS:append:libc-musl = " libucontext"
|
DEPENDS:append:libc-musl = " libucontext"
|
||||||
|
|
||||||
RDEPENDS:${PN} = "python3-pyparsing python3-six"
|
RDEPENDS:${PN} = "python3-pyparsing python3-six usbids"
|
||||||
|
|
||||||
inherit meson pkgconfig vala gobject-introspection features_check
|
inherit meson pkgconfig vala gobject-introspection features_check gtk-doc
|
||||||
|
|
||||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||||
|
|
||||||
GIR_MESON_ENABLE_FLAG = 'enabled'
|
GIR_MESON_ENABLE_FLAG = 'enabled'
|
||||||
GIR_MESON_DISABLE_FLAG = 'disabled'
|
GIR_MESON_DISABLE_FLAG = 'disabled'
|
||||||
|
GTKDOC_MESON_OPTION = 'gtk_doc'
|
||||||
|
GTKDOC_MESON_ENABLE_FLAG = 'enabled'
|
||||||
|
GTKDOC_MESON_DISABLE_FLAG = 'disabled'
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}"
|
PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} smartcard"
|
||||||
PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled"
|
PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled"
|
||||||
|
PACKAGECONFIG[smartcard] = "-Dsmartcard=enabled,-Dsmartcard=disabled,libcacard"
|
||||||
|
|
||||||
EXTRA_OEMESON = "-Dpie=true"
|
EXTRA_OEMESON = "-Dpie=true -Dusb-ids-path=${datadir}/usb.ids "
|
||||||
EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext"
|
EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext"
|
||||||
|
|
||||||
LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}"
|
LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}"
|
||||||
|
|||||||
Reference in New Issue
Block a user