This commit is contained in:
TriForceX
2021-03-13 22:13:38 -03:00
parent c77595adbd
commit b3ecc6e32d
7043 changed files with 119377 additions and 73694 deletions

20
package/uvw/Config.in Normal file
View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_UVW
bool "uvw"
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
depends on BR2_USE_MMU # libuv
depends on !BR2_STATIC_LIBS # libuv
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
select BR2_PACKAGE_LIBUV
help
Header-only, event based, tiny and easy to use
libuv wrapper in modern C++.
https://github.com/skypjack/uvw
comment "uvw needs a toolchain w/ NPTL, dynamic library, C++, gcc >= 7"
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_7
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4

3
package/uvw/uvw.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 2695276bb4b154174ac0a6401bde5c0768bca99a43c9a469af67526f7e2e9410 uvw-2.6.0_libuv-v1.38.tar.gz
sha256 755b2f245af22830c15b60c54469c0d92fbed42009b0d0074cec4b3959905757 LICENSE

20
package/uvw/uvw.mk Normal file
View File

@@ -0,0 +1,20 @@
################################################################################
#
# uvw
#
################################################################################
UVW_VERSION = 2.6.0_libuv-v1.38
UVW_SITE = $(call github,skypjack,uvw,v$(UVW_VERSION))
UVW_INSTALL_STAGING = YES
UVW_INSTALL_TARGET = NO
UVW_SUPPORTS_IN_SOURCE_BUILD = NO
UVW_DEPENDENCIES = libuv
UVW_LICENSE = MIT
UVW_LICENSE_FILES = LICENSE
# The following CMake variable disables a TRY_RUN call in the -pthread
# test which is not allowed when cross-compiling (for cmake < 3.10)
UVW_CONF_OPTS = -DTHREADS_PTHREAD_ARG=OFF
$(eval $(cmake-package))