mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
libtinyxml2: upgrade 10.0.0 -> 10.1.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
SUMMARY = "TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrating into other programs"
|
||||
HOMEPAGE = "https://leethomason.github.io/tinyxml2"
|
||||
SECTION = "libs"
|
||||
LICENSE = "Zlib"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=135624eef03e1f1101b9ba9ac9b5fffd"
|
||||
CVE_PRODUCT = "tinyxml2"
|
||||
|
||||
SRCREV = "57eea48c5bfc354ac45d53b2eb499e66c80d63e0"
|
||||
SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https \
|
||||
file://run-ptest"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson ptest
|
||||
|
||||
EXTRA_OEMESON += " \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtests=true', '', d)} \
|
||||
-Ddefault_library=both \
|
||||
"
|
||||
|
||||
CXXFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
|
||||
|
||||
do_install_ptest() {
|
||||
install -Dm 0755 ${B}/xmltest ${D}${PTEST_PATH}/xmltest
|
||||
install -d ${D}${PTEST_PATH}/resources/out
|
||||
for f in ${S}/resources/*.xml; do
|
||||
install -m 0644 $f ${D}${PTEST_PATH}/resources/
|
||||
done
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user