Files
meta-openembedded/meta-oe/recipes-devtools/flatcc/flatcc_git.bb
Martin Jansa c5c28d716b flatcc: drop 'r' from gitr and ${SRCPV}
* +git is preferred over +gitr since 2012:
  https://lists.openembedded.org/g/openembedded-core/topic/72154716#16837
  some recipes still use +gitr, because updating it would cause PV going backwards
  but this recipe was added just recently so adjust that

* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:11 -08:00

31 lines
887 B
BlitzBasic

SUMMARY = "FlatCC FlatBuffers in C for C"
DESCRIPTION = "FlatCC is a compiler that generates FlatBuffers code for C \
given a FlatBuffer schema file."
HOMEPAGE = "https://github.com/dvidelabs/flatcc"
SECTION = "devel/lib"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b3d8fb7158bf7e2600ba3191428dc4ef"
PV = "0.6.2+git"
SRC_URI = " \
git://github.com/dvidelabs/flatcc.git;protocol=https;branch=master \
file://0001-Check-for-C-standard-version-23-for-__fallthrough__.patch \
"
SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196"
S = "${WORKDIR}/git"
inherit cmake
# Enable installation for target
# Disable tests as is not possible to execute with cross-compilation
EXTRA_OECMAKE += " \
-DFLATCC_INSTALL=On \
-DFLATCC_TEST=Off \
-DFLATCC_ALLOW_WERROR=Off \
-DFLATCC_INSTALL_LIB=${baselib} \
"
BBCLASSEXTEND = "native nativesdk"