Skip to contentSkip to conversation

crossguid: update to 0.2.2

PATCH New Oleksandr Kravchuk 1 participant 1 message Jul 26, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crossguid: update to 0.2.2

---
 .../crossguid/{crossguid.bb => crossguid_0.2.2.bb}  | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
 rename meta-multimedia/recipes-support/crossguid/{crossguid.bb => crossguid_0.2.2.bb} (58%)
meta-multimedia/recipes-support/crossguid/crossguid_0.2.2.bb renamed from meta-multimedia/recipes-support/crossguid/crossguid.bb +4 -9
similarity index 58%
rename from meta-multimedia/recipes-support/crossguid/crossguid.bb
rename to meta-multimedia/recipes-support/crossguid/crossguid_0.2.2.bb
index 228b8b6540..7441716635 100644
@@ -7,19 +7,14 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1373274bc8d8001edc54933919f36f68"
 DEPENDS += "util-linux"
 
-PV = "0.0+git${SRCPV}"
-
-SRCREV = "b56957ac453575e91ca1b63a80c0077c2b0d011a"
+SRCREV = "5b45cdd9a56ca9da35ee0f8845cb4e2603d245dc"
 SRC_URI = "git://github.com/graeme-hill/crossguid;protocol=https"
 
 S = "${WORKDIR}/git"
 
-do_compile() {
-	${CXX} -c guid.cpp -o guid.o ${CXXFLAGS} -std=c++11 -DGUID_LIBUUID
-	${AR} rvs libcrossguid.a guid.o
-}
+inherit cmake
 
 do_install() {
-	install -D -m 0644 ${B}/libcrossguid.a ${D}${libdir}/libcrossguid.a
-	install -D -m 0644 ${S}/guid.h ${D}${includedir}/guid.h
+	install -D -m 0644 ${B}/libxg.a ${D}${libdir}/libxg.a
+	install -D -m 0644 ${S}/Guid.hpp ${D}${includedir}/Guid.hpp
 }
Signature · 1 line
2.25.1