diff options
author | Ricardo Simoes <ricardo.simoes@pt.bosch.com> | 2024-08-28 09:21:38 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-08-28 01:25:41 -0700 |
commit | 83d9607ba5d96419db9d1d2f81d0c1c0afb72fb5 (patch) | |
tree | 7f3ec2e7e408dc984b495a5a660e495ed8a7fdc8 /meta-oe/recipes-extended/magic-enum/magic-enum_0.9.6.bb | |
parent | 48e257b4c7c8990c9afba90d5b3fcc957a1d8e73 (diff) | |
download | meta-openembedded-83d9607ba5d96419db9d1d2f81d0c1c0afb72fb5.tar.gz |
magic-enum: Upgrade v0.9.5 -> v0.9.6
In version 0.9.6 issue #362 was fixed. Thus, the tweak in the compile
flags is no longer needed.
The checksum of the LICENSE file changed because the copyright range
was updated.
Changelog: https://github.com/Neargye/magic_enum/releases/tag/v0.9.6
Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/magic-enum/magic-enum_0.9.6.bb')
-rw-r--r-- | meta-oe/recipes-extended/magic-enum/magic-enum_0.9.6.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/magic-enum/magic-enum_0.9.6.bb b/meta-oe/recipes-extended/magic-enum/magic-enum_0.9.6.bb new file mode 100644 index 000000000..01a134a5b --- /dev/null +++ b/meta-oe/recipes-extended/magic-enum/magic-enum_0.9.6.bb | |||
@@ -0,0 +1,44 @@ | |||
1 | # SPDX-FileCopyrightText: 2024 Bosch Sicherheitssysteme GmbH | ||
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | |||
5 | SUMMARY = "Static reflection for enums" | ||
6 | DESCRIPTION = "Header-only C++17 library provides static reflection for enums, works \ | ||
7 | with any enum type without any macro or boilerplate code." | ||
8 | BUGTRACKER = "https://github.com/Neargye/magic_enum/issues" | ||
9 | HOMEPAGE = "https://github.com/Neargye/magic_enum" | ||
10 | |||
11 | LICENSE = "MIT" | ||
12 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7e7717cf723eb72f57e80fdb651cb318" | ||
13 | |||
14 | SRC_URI = " \ | ||
15 | git://github.com/Neargye/magic_enum.git;protocol=https;branch=master \ | ||
16 | file://run-ptest \ | ||
17 | " | ||
18 | |||
19 | SRCREV = "dd6a39d0ba1852cf06907e0f0573a2a10d23c2ad" | ||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | inherit cmake ptest | ||
23 | |||
24 | EXTRA_OECMAKE = "\ | ||
25 | -DMAGIC_ENUM_OPT_BUILD_EXAMPLES=OFF \ | ||
26 | " | ||
27 | |||
28 | do_install_ptest () { | ||
29 | install -d ${D}${PTEST_PATH}/tests | ||
30 | install -m 0755 ${B}/test/test_* ${D}${PTEST_PATH}/tests | ||
31 | } | ||
32 | |||
33 | # Add catkin and colcon (ROS build system) support | ||
34 | FILES:${PN}-dev += "\ | ||
35 | ${datadir}/magic_enum/package.xml \ | ||
36 | " | ||
37 | |||
38 | # Header-only library | ||
39 | # ${PN} is empty so we need to tweak -dev and -dbg package dependencies | ||
40 | RDEPENDS:${PN}-dev = "" | ||
41 | RDEPENDS:${PN}-ptest = "" | ||
42 | RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" | ||
43 | |||
44 | BBCLASSEXTEND = "native nativesdk" | ||