diff --git a/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb b/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb index 269f84e309ef5e89ee2e75f7d734aedf37a6019b..d691d64138feeb02078725e6a48076e29410c315 100644 --- a/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb +++ b/meta-oniro-staging/recipes-connectivity/coap/coap_git.bb @@ -15,15 +15,13 @@ SECTION = "libs/network" # WARNING: Code until 2017-06-01 is dual-licensed as GPLv2 and BSD 2-Clause, it is BSD after that LICENSE = "GPLv2 | BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=faed8f005d476edd3f250599a4bb9a75 \ - file://LICENSE;md5=649d94043490c8be38f08b781838cddb \ + file://LICENSE;md5=e44b3af4925ec58e9f49b9ff143b5493 \ file://ext/tinydtls/LICENSE;md5=ffb073dbb36e7ec5e091047332f302c5" -LIBCOAP_VERSION = "4.3.0-rc3" -SRC_URI = "gitsm://github.com/obgm/libcoap.git;protocol=https;branch=develop" -# When using a final release: -#SRC_URI = "gitsm://github.com/obgm/libcoap.git;protocol=https;branch=release-${LIBCOAP_VERSION}" +LIBCOAP_VERSION = "4.3.0" +SRC_URI = "gitsm://github.com/obgm/libcoap.git;protocol=https;branch=release-${LIBCOAP_VERSION}" PV = "${LIBCOAP_VERSION}+git${SRCPV}" -SRCREV = "39b75f8240b45da3ab7923b0545001e08da437bf" +SRCREV = "1da37b9abbe871675d5939395b498324ccc8ecfe" S = "${WORKDIR}/git" @@ -36,3 +34,6 @@ inherit pkgconfig autotools EXTRA_OECONF = "--disable-doxygen --disable-manpages --with-mbedtls" BBCLASSEXTEND = "native nativesdk" + +PACKAGE_BEFORE_PN = "${PN}-examples" +FILES_${PN}-examples = "${datadir}/*"