Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
DESCRIPTION = "A regular expression library"
|
||||
HOMEPAGE = "https://github.com/google/re2/"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b5c31eb512bdf3cb11ffd5713963760"
|
||||
|
||||
# tag 2024-03-01
|
||||
SRCREV = "2d866a3d0753f4f4fce93cccc6c59c4b052d7db4"
|
||||
|
||||
SRC_URI = "git://github.com/google/re2.git;branch=main;protocol=https \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', 'file://run-ptest', '', d)} \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
DEPENDS = "abseil-cpp ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest googlebenchmark', '', d)}"
|
||||
|
||||
inherit cmake ptest
|
||||
RDEPENDS:${PN}-ptest += "cmake sed"
|
||||
|
||||
EXTRA_OECMAKE += " \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', '-DRE2_BUILD_TESTING=ON', '-DRE2_BUILD_TESTING=OFF', d)} \
|
||||
"
|
||||
|
||||
do_install_ptest () {
|
||||
cp -r ${B}/*_test ${D}${PTEST_PATH}
|
||||
cp -r ${B}/CTestTestfile.cmake ${D}${PTEST_PATH}
|
||||
sed -i -e 's#${B}#${PTEST_PATH}#g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
|
||||
sed -i -e 's#${S}#${PTEST_PATH}#g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
|
||||
# ERROR: re2-2024.03.01-r0 do_package_qa: QA Issue: /usr/lib64/re2/ptest/string_generator_test contained in package re2-ptest requires libtesting.so()(64bit), but no providers found in RDEPENDS:re2-ptest? [file-rdeps]
|
||||
cp -r ${B}/libtesting.so ${D}${PTEST_PATH}
|
||||
}
|
||||
|
||||
# ignore .so in /usr/lib64
|
||||
SOLIBS = ".so*"
|
||||
FILES_SOLIBSDEV = ""
|
||||
INSANE_SKIP:${PN} += "dev-so"
|
||||
|
||||
# Don't include so files in dev package
|
||||
FILES:${PN}-dev = "${includedir} ${libdir}/cmake ${libdir}/pkgconfig"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user