Initial Commit
- initial default booting image
This commit is contained in:
25
package/libdex/Config.in
Normal file
25
package/libdex/Config.in
Normal file
@@ -0,0 +1,25 @@
|
||||
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)
|
||||
5
package/libdex/libdex.hash
Normal file
5
package/libdex/libdex.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://download.gnome.org/sources/libdex/1.0/libdex-1.0.0.sha256sum
|
||||
sha256 7b8f5c5db3796e14e12e10422e2356766ba830b92815fee70bbc867b5b207f5d libdex-1.0.0.tar.xz
|
||||
|
||||
# License files
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
|
||||
38
package/libdex/libdex.mk
Normal file
38
package/libdex/libdex.mk
Normal file
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# libdex
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# The middle number is even for stable releases, odd for development ones.
|
||||
LIBDEX_VERSION_MAJOR = 1.0
|
||||
LIBDEX_VERSION = $(LIBDEX_VERSION_MAJOR).0
|
||||
LIBDEX_SOURCE = libdex-$(LIBDEX_VERSION).tar.xz
|
||||
LIBDEX_SITE = https://download.gnome.org/sources/libdex/$(LIBDEX_VERSION_MAJOR)
|
||||
LIBDEX_LICENSE = LGPL-2.1+
|
||||
LIBDEX_LICENSE_FILES = COPYING
|
||||
LIBDEX_INSTALL_STAGING = YES
|
||||
LIBDEX_DEPENDENCIES = libglib2
|
||||
LIBDEX_CONF_OPTS = \
|
||||
-Ddocs=false \
|
||||
-Dexamples=false \
|
||||
-Dstack-protector=false \
|
||||
-Dsysprof=false \
|
||||
-Dtests=false \
|
||||
-Dvapi=false \
|
||||
-Deventfd=enabled \
|
||||
-Dintrospection=disabled
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUCONTEXT),y)
|
||||
LIBDEX_DEPENDENCIES += libucontext
|
||||
LIBDEX_LDFLAGS += $(TARGET_LDFLAGS) -lucontext
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBURING),y)
|
||||
LIBDEX_CONF_OPTS += -Dliburing=enabled
|
||||
LIBDEX_DEPENDENCIES += liburing
|
||||
else
|
||||
LIBDEX_CONF_OPTS += -Dliburing=disabled
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user