mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
Since commit de3c8d3ff2 ("cli11: Upgrade 2.3.2 -> 2.5.0 to allow CMake
4+ compatibility"), cli11 depends on catch2 and is native&nativesdk. So,
catch2 also need to be native&nativesdk.
Fixes these warnings from AB[0]:
WARNING: Nothing PROVIDES 'nativesdk-catch2' (but virtual:nativesdk:[...]/meta-openembedded/meta-oe/recipes-support/cli11/cli11_2.5.0.bb DEPENDS on or otherwise requires it). Close matches:
WARNING: Nothing PROVIDES 'catch2-native' (but virtual:native:[...]/meta-openembedded/meta-oe/recipes-support/cli11/cli11_2.5.0.bb DEPENDS on or otherwise requires it). Close matches:
[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings
Cc: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
24 lines
710 B
BlitzBasic
24 lines
710 B
BlitzBasic
DESCRIPTION = "A modern, C++-native, header-only, test framework for unit-tests, \
|
|
TDD and BDD - using C++11, C++14, C++17 and later."
|
|
HOMEPAGE = "https://github.com/catchorg/Catch2"
|
|
LICENSE = "BSL-1.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
|
|
|
|
SRC_URI = "git://github.com/catchorg/Catch2.git;branch=devel;protocol=https"
|
|
SRCREV = "2b60af89e23d28eefc081bc930831ee9d45ea58b"
|
|
|
|
|
|
inherit cmake python3native
|
|
|
|
do_install:append() {
|
|
rm ${D}${datadir}/Catch2/lldbinit
|
|
rm ${D}${datadir}/Catch2/gdbinit
|
|
rmdir ${D}${datadir}/Catch2/
|
|
}
|
|
|
|
# Header-only library
|
|
RDEPENDS:${PN}-dev = ""
|
|
RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|