Skip to contentSkip to conversation

librcereal: A couple of improvements

PATCH New Peter Kjellerstedt 1 participant 1 message Feb 28, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 librcereal: A couple of improvements

* Add "+git${SRCPV}" to PV to indicate that a non-released version is used.
* Do not redefine FILES_${PN}-dev; the default will work just fine.
* Move PROVIDES to better match the style guide.

---
 meta-oe/recipes-support/libcereal/libcereal_1.3.0.bb | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
meta-oe/recipes-support/libcereal/libcereal_1.3.0.bb +3 -7
index 55fb3ebcf..dc5050969 100644
@@ -12,6 +12,9 @@ LIC_FILES_CHKSUM = "\
     file://include/cereal/external/rapidjson/msinttypes/LICENSE;md5=dffce65b98c773976de2e338bd130f46 \
 "
 
+PROVIDES += "${PN}-dev"
+
+PV .= "+git${SRCPV}"
 SRCREV = "64f50dbd5cecdaba785217e2b0aeea3a4f1cdfab"
 SRC_URI = "git://github.com/USCiLab/cereal.git"
 
@@ -25,11 +28,4 @@ ALLOW_EMPTY_${PN} = "1"
 
 RDEPENDS_${PN}-dev = ""
 
-PROVIDES += "${PN}-dev"
-
-FILES_${PN}-dev = " \
-    ${includedir} \
-    ${libdir} \
-"
-
 BBCLASSEXTEND = "native nativesdk"