[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

14
package/spdlog/Config.in Normal file
View File

@ -0,0 +1,14 @@
config BR2_PACKAGE_SPDLOG
bool "spdlog"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR # fmt
select BR2_PACKAGE_FMT
help
Very fast, header-only/compiled, C++ logging library.
https://github.com/gabime/spdlog
comment "spdlog needs a toolchain w/ C++, threads, wchar"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|| !BR2_USE_WCHAR

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224 spdlog-1.10.0.tar.gz
sha256 a7241a379cb98d37788f82c2fc2e484c3ae85dae881fd3406f0637644850926f LICENSE

25
package/spdlog/spdlog.mk Normal file
View File

@ -0,0 +1,25 @@
################################################################################
#
# spdlog
#
################################################################################
SPDLOG_VERSION = 1.10.0
SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION))
SPDLOG_LICENSE = MIT
SPDLOG_LICENSE_FILES = LICENSE
SPDLOG_INSTALL_STAGING = YES
SPDLOG_DEPENDENCIES = fmt
SPDLOG_CONF_OPTS += \
-DSPDLOG_BUILD_TESTS=OFF \
-DSPDLOG_BUILD_EXAMPLE=OFF \
-DSPDLOG_BUILD_BENCH=OFF \
-DSPDLOG_FMT_EXTERNAL=ON
ifeq ($(BR2_STATIC_LIBS),y)
SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=OFF
else
SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=ON
endif
$(eval $(cmake-package))