package/tl-expected: new package

Required by micromamba.

Signed-off-by: TIAN Yuanhao <tianyuanhao3@163.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
TIAN Yuanhao 2022-11-28 12:34:15 +00:00 committed by Thomas Petazzoni
parent 4e4402d4ef
commit 1ffbc3a9cb
5 changed files with 37 additions and 0 deletions

View File

@ -2790,6 +2790,7 @@ N: TIAN Yuanhao <tianyuanhao3@163.com>
F: package/cli11/
F: package/open-isns/
F: package/termcolor/
F: package/tl-expected/
N: Tan En De <ende.tan@starfivetech.com>
F: package/libkcapi/

View File

@ -2132,6 +2132,7 @@ endif
source "package/startup-notification/Config.in"
source "package/tbb/Config.in"
source "package/tinycbor/Config.in"
source "package/tl-expected/Config.in"
source "package/tz/Config.in"
source "package/tzdata/Config.in"
source "package/uvw/Config.in"

View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_TL_EXPECTED
bool "tl-expected"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
help
C++11/14/17 std::expected with functional-style extensions and
reference support.
https://github.com/TartanLlama/expected
comment "tl-expected needs a toolchain w/ C++, gcc >= 4.8"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 2611769546cedcaef233ef587e71420d1f079a794eb7bb19b888dedf991ace7c tl-expected-v1.0.0-br1.tar.gz
sha256 a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499 COPYING

View File

@ -0,0 +1,20 @@
################################################################################
#
# tl-expected
#
################################################################################
TL_EXPECTED_VERSION = v1.0.0
TL_EXPECTED_SITE = https://github.com/TartanLlama/expected
TL_EXPECTED_SITE_METHOD = git
TL_EXPECTED_GIT_SUBMODULES = YES
TL_EXPECTED_LICENSE = CC0-1.0
TL_EXPECTED_LICENSE_FILES = COPYING
TL_EXPECTED_INSTALL_STAGING = YES
TL_EXPECTED_INSTALL_TARGET = NO
TL_EXPECTED_CONF_OPTS = \
-DCMAKE_MODULE_PATH=$(TL_EXPECTED_DIR)/cmake/tl-cmake \
-DEXPECTED_ENABLE_TESTS=OFF \
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
$(eval $(cmake-package))