This package downloads code ( gtest ) post do_fetch taskNow this is checked out by bitbake fetcher into decided source directory,this ensures reproducibilitySigned-off-by: Khem Raj <raj.khem@...>---v2: Fetch googletest via bitbake ...-Do-not-download-gtest-automatically.patch | 44 +++++++++++++++++++ .../recipes-core/sdbus-c++/sdbus-c++_0.8.3.bb | 10 ++++- 2 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-core/sdbus-c++/sdbus-c++-0.8.3/0001-Do-not-download-gtest-automatically.patchdiff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_0.8.3.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_0.8.3.bbindex 98829765c2..91cf70c911 100644--- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_0.8.3.bb+++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_0.8.3.bb@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1803fa9c2c3ce8cb06b4861d75310742" inherit cmake pkgconfig systemd ptest PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'with-external-libsystemd', 'with-builtin-libsystemd', d)} \- ${@bb.utils.contains('PTEST_ENABLED', '1', 'with-tests', '', d)}"+ ${@bb.utils.contains('PTEST_ENABLED', '0', 'with-tests', '', d)}"
PACKAGECONFIG[with-builtin-libsystemd] = ",,sdbus-c++-libsystemd,libcap" PACKAGECONFIG[with-external-libsystemd] = ",,systemd,libsystemd" PACKAGECONFIG[with-tests] = "-DBUILD_TESTS=ON -DTESTS_INSTALL_PATH=${libdir}/${BPN}/tests,-DBUILD_TESTS=OFF"
© 2023 Groups.io