| config BR2_PACKAGE_LIBDEX |
| bool "libdex" |
| depends on BR2_USE_MMU # libglib2 |
| depends on BR2_USE_WCHAR # libglib2, gettext |
| depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 |
| depends on !BR2_STATIC_LIBS |
| depends on BR2_TOOLCHAIN_HAS_UCONTEXT || \ |
| BR2_PACKAGE_LIBUCONTEXT_ARCH_SUPPORTS |
| select BR2_PACKAGE_LIBGLIB2 |
| select BR2_PACKAGE_LIBUCONTEXT if \ |
| BR2_PACKAGE_LIBUCONTEXT_ARCH_SUPPORTS && !BR2_TOOLCHAIN_HAS_UCONTEXT |
| help |
| Dex provides Future-based programming for GLib-based |
| applications. It both integrates with and brings new |
| features for application and library authors who want |
| to structure concurrent code in an easy to manage way. |
| |
| https://gitlab.gnome.org/GNOME/libdex |
| |
| comment "libdex needs a toolchain w/ wchar, threads, dynamic library, ucontext" |
| depends on BR2_USE_MMU |
| depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ |
| BR2_STATIC_LIBS || \ |
| !(BR2_TOOLCHAIN_HAS_UCONTEXT || \ |
| BR2_PACKAGE_LIBUCONTEXT_ARCH_SUPPORTS) |