diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2022-09-07 09:37:01 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-09-07 16:44:54 -0700 |
| commit | 62db1c041f8149f93f109da1102fbabbdff5094f (patch) | |
| tree | 41a83bc8f1ba69a8ba936a785b6c6b5704e776be /meta-oe/recipes-support/cli11/cli11_2.2.0.bb | |
| parent | 1d42950097091415b85e111813f132bf89e0e26b (diff) | |
| download | meta-openembedded-62db1c041f8149f93f109da1102fbabbdff5094f.tar.gz | |
cli11: upgrade 1.9.1 -> 2.2.0
License-Update: Copyright year updated to 2022.
0001-Do-not-download-the-catch-framework-during-configure.patch
added to download the catch framework before configure.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/cli11/cli11_2.2.0.bb')
| -rw-r--r-- | meta-oe/recipes-support/cli11/cli11_2.2.0.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/cli11/cli11_2.2.0.bb b/meta-oe/recipes-support/cli11/cli11_2.2.0.bb new file mode 100644 index 0000000000..53a57489fe --- /dev/null +++ b/meta-oe/recipes-support/cli11/cli11_2.2.0.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | SUMMARY = "C++11 command line parser" | ||
| 2 | DESCRIPTION = "A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface." | ||
| 3 | HOMEPAGE = "https://github.com/CLIUtils/CLI11" | ||
| 4 | LICENSE = "BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9ad746b5f49c0fd53c08ca1faff1922c" | ||
| 6 | SRCREV = "b9be5b9444772324459989177108a6a65b8b2769" | ||
| 7 | PV .= "+git${SRCPV}" | ||
| 8 | |||
| 9 | SRC_URI += "gitsm://github.com/CLIUtils/CLI11;branch=main;protocol=https \ | ||
| 10 | https://github.com/philsquared/Catch/releases/download/v2.13.7/catch.hpp \ | ||
| 11 | file://0001-Do-not-download-the-catch-framework-during-configure.patch" | ||
| 12 | |||
| 13 | SRC_URI[sha256sum] = "ea379c4a3cb5799027b1eb451163dff065a3d641aaba23bf4e24ee6b536bd9bc" | ||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | do_configure:prepend() { | ||
| 17 | mkdir -p ${S}/tests/catch2 | ||
| 18 | cp ${DL_DIR}/catch.hpp ${S}/tests/catch2/catch.hpp | ||
| 19 | } | ||
| 20 | |||
| 21 | inherit cmake | ||
| 22 | inherit ptest | ||
| 23 | |||
| 24 | # cli11 is a header only C++ library, so the main package will be empty. | ||
| 25 | RDEPENDS:${PN}-dev = "" | ||
