gtest, gmock: Created a git version of gtest.
PATCH 1/1 gtest, gmock: Created a git version of gtest.
There are no new tag releases of the googletest
repositories for 2 years, while development
continued.
Created a new recipe for non tagged release
hash. This new recipe does not require the
package config patch as it is supported by
upstream.
Refactored common recipe data in an include
file.
--- meta-oe/recipes-test/gtest/gtest.inc | 19 +++++++++++++++++++ meta-oe/recipes-test/gtest/gtest_1.8.0.bb | 20 +------------------- meta-oe/recipes-test/gtest/gtest_git.bb | 6 ++++++ 3 files changed, 26 insertions(+), 19 deletions(-) create mode 100644 meta-oe/recipes-test/gtest/gtest.inc create mode 100644 meta-oe/recipes-test/gtest/gtest_git.bb
meta-oe/recipes-test/gtest/gtest.inc new file +19 -0
@@ -0,0 +1,19 @@ +DESCRIPTION = "Google's framework for writing C++ tests" +HOMEPAGE = "https://github.com/google/googletest" +SECTION = "libs" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://googlemock/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a \ + file://googletest/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a" + +PROVIDES += "gmock" + +S = "${WORKDIR}/git" + +inherit cmake + +ALLOW_EMPTY_${PN} = "1" +ALLOW_EMPTY_${PN}-dbg = "1" + +RDEPENDS_${PN}-dev += "${PN}-staticdev" + +BBCLASSEXTEND = "native nativesdk"
meta-oe/recipes-test/gtest/gtest_1.8.0.bb +1 -19
@@ -1,24 +1,6 @@ -DESCRIPTION = "Google's framework for writing C++ tests" -HOMEPAGE = "https://github.com/google/googletest" -SECTION = "libs" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://googlemock/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a \ - file://googletest/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a" - -PROVIDES += "gmock" - -S = "${WORKDIR}/git" +require gtest.inc SRCREV = "ec44c6c1675c25b9827aacd08c02433cccde7780" SRC_URI = "\ git://github.com/google/googletest.git;protocol=https; \ file://Add-pkg-config-support.patch \ " - -inherit cmake - -ALLOW_EMPTY_${PN} = "1" -ALLOW_EMPTY_${PN}-dbg = "1" - -RDEPENDS_${PN}-dev += "${PN}-staticdev" - -BBCLASSEXTEND = "native nativesdk"
meta-oe/recipes-test/gtest/gtest_git.bb new file +6 -0
@@ -0,0 +1,6 @@ +require gtest.inc +SRCREV = "ba96d0b1161f540656efdaed035b3c062b60e006" +SRC_URI = "\ + git://github.com/google/googletest.git;protocol=https; \ +" +
Signature · 1 line
2.14.1
Please send it openembedded-devel ml instead of core ml.
Quoted 94 lines · Paulo Neves
There are no new tag releases of the googletest
repositories for 2 years, while development
continued.
Created a new recipe for non tagged release
hash. This new recipe does not require the
package config patch as it is supported by
upstream.Refactored common recipe data in an include
file.--- meta-oe/recipes-test/gtest/gtest.inc | 19 +++++++++++++++++++ meta-oe/recipes-test/gtest/gtest_1.8.0.bb | 20 +------------------- meta-oe/recipes-test/gtest/gtest_git.bb | 6 ++++++ 3 files changed, 26 insertions(+), 19 deletions(-) create mode 100644 meta-oe/recipes-test/gtest/gtest.inc create mode 100644 meta-oe/recipes-test/gtest/gtest_git.bbmeta-oe/recipes-test/gtest/gtest.inc new file +19
-0@@ -0,0 +1,19 @@ +DESCRIPTION = "Google's framework for writing C++ tests" +HOMEPAGE = "https://github.com/google/googletest" +SECTION = "libs" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://googlemock/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a \ + file://googletest/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a" + +PROVIDES += "gmock" + +S = "${WORKDIR}/git" + +inherit cmake + +ALLOW_EMPTY_${PN} = "1" +ALLOW_EMPTY_${PN}-dbg = "1" + +RDEPENDS_${PN}-dev += "${PN}-staticdev" + +BBCLASSEXTEND = "native nativesdk"meta-oe/recipes-test/gtest/gtest_1.8.0.bb +1
-19@@ -1,24 +1,6 @@ -DESCRIPTION = "Google's framework for writing C++ tests" -HOMEPAGE = "https://github.com/google/googletest" -SECTION = "libs" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://googlemock/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a \ - file://googletest/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a" - -PROVIDES += "gmock" - -S = "${WORKDIR}/git" +require gtest.inc SRCREV = "ec44c6c1675c25b9827aacd08c02433cccde7780" SRC_URI = "\ git://github.com/google/googletest.git;protocol=https; \ file://Add-pkg-config-support.patch \ " - -inherit cmake - -ALLOW_EMPTY_${PN} = "1" -ALLOW_EMPTY_${PN}-dbg = "1" - -RDEPENDS_${PN}-dev += "${PN}-staticdev" - -BBCLASSEXTEND = "native nativesdk"meta-oe/recipes-test/gtest/gtest_git.bb new file +6
-1@@ -0,0 +1,6 @@ +require gtest.inc +SRCREV = "ba96d0b1161f540656efdaed035b3c062b60e006" +SRC_URI = "\ + git://github.com/google/googletest.git;protocol=https; \ +" + --2.14.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core