mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 10:33:23 +00:00
fmt github repo has sometime recently changed their master branch to main. This change is reflected in the SRC_URI. Solves https://github.com/openembedded/meta-openembedded/issues/1041 (#1041) Signed-off-by: Tyler Park <tyler.park@wavetronix.com> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
26 lines
778 B
BlitzBasic
26 lines
778 B
BlitzBasic
SUMMARY = "open-source formatting library for C++"
|
|
DESCRIPTION = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams."
|
|
HOMEPAGE = "https://fmt.dev"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=af88d758f75f3c5c48a967501f24384b"
|
|
|
|
SRC_URI = "git://github.com/fmtlib/fmt;branch=main;protocol=https \
|
|
file://run-ptest"
|
|
SRCREV = "b6f4ceaed0a0a24ccf575fab6c56dd50ccf6f1a9"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake
|
|
inherit ptest
|
|
|
|
EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"
|
|
EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-DFMT_TEST=ON', '', d)}"
|
|
|
|
do_install_ptest(){
|
|
for t in `ls ${B}/bin/*-test`; do
|
|
install $t ${D}${PTEST_PATH}/
|
|
done
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|