blob: 1b87398eb4c7df02212b39aee49e7cf3087033dd [file] [log] [blame]
SUMMARY = "Google VR log"
DESCRIPTION = "Google VR log daemon integration of vendors"
PR = "r1"
PV = "0.1+git${SRCPV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
S = "${WORKDIR}/git"
SRC_URI = "git://gbmc.googlesource.com/gvrlog;protocol=https;branch=main"
SRCREV := "735aabcce4637eaa8df6c1120cd38ca2d1d910da"
inherit meson pkgconfig systemd
DEPENDS += " \
fmt \
systemd \
i2c-tools \
nlohmann-json \
phosphor-logging \
sdbusplus \
cli11 \
googletest \
"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/build/log_tool ${D}${bindir}
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/build/service_files/gvrlog.service \
${D}${systemd_system_unitdir}
}
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "gvrlog.service"
EXTRA_OEMESON = "-Dtests=disabled"