Add Google RE2 regular expression library. This is used in new version of gRPC.
Signed-off-by: Clément Péron <[email protected]> --- Hi, This is my first contribution to meta-openembedded. I would like to bump gRPC to new version but re2 library is required. I'm not sure if i should call the package re2 or libre2. Regards, Clement .../libre2/libre2_2020.11.01.bb | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-oe/recipes-support/libre2/libre2_2020.11.01.bb diff --git a/meta-oe/recipes-support/libre2/libre2_2020.11.01.bb b/meta-oe/recipes-support/libre2/libre2_2020.11.01.bb new file mode 100644 index 000000000000..7c07b332dfff --- /dev/null +++ b/meta-oe/recipes-support/libre2/libre2_2020.11.01.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "A regular expression library" +HOMEPAGE = "https://github.com/google/re2/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b5c31eb512bdf3cb11ffd5713963760" + +SRCREV = "166dbbeb3b0ab7e733b278e8f42a84f6882b8a25" + +SRC_URI = "git://github.com/google/re2.git;branch=master" + +S = "${WORKDIR}/git" + +inherit cmake + +EXTRA_OECMAKE += " \ + -DBUILD_SHARED_LIBS=ON \ + -DRE2_BUILD_TESTING=OFF \ +" + +# Don't include so files in dev package +FILES_${PN} = "${libdir}" +FILES_${PN}-dev = "${includedir} ${libdir}/cmake/re2/*.cmake" + +BBCLASSEXTEND = "native nativesdk" -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#88897): https://lists.openembedded.org/g/openembedded-devel/message/88897 Mute This Topic: https://lists.openembedded.org/mt/79975084/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
