From 41591d4f8c586aa801220fac0924556f406c58bd Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Tue, 8 Dec 2020 11:15:02 +0100 Subject: SPEC-3723: restructure meta-agl-demo All demo related components should be in here now. We keep the packagegroups on purpose for now to stay backward-compatible. v2: layer does pass yocto-check-layer, dependencies adapted v3: remove the dynamic-layer setup, use all-in-one approach v4: Fixed comments from Paul Barker. Tnx! v5: Removed wayland/weston/agl-compositor additions, except for demo specific weston-init bbappend Follow-up changes required later: - massaging packagegroups - scrub of recipes Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller Signed-off-by: Scott Murray Change-Id: I47cefd8c23d46b2cdd063470e3f7d97d5ad952d8 --- .../inputeventmanager/inputeventmanager_git.bb | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 recipes-demo/inputeventmanager/inputeventmanager_git.bb (limited to 'recipes-demo/inputeventmanager') diff --git a/recipes-demo/inputeventmanager/inputeventmanager_git.bb b/recipes-demo/inputeventmanager/inputeventmanager_git.bb new file mode 100644 index 00000000..16ee007f --- /dev/null +++ b/recipes-demo/inputeventmanager/inputeventmanager_git.bb @@ -0,0 +1,30 @@ +SUMMARY = "AGL InputEventManager Application" +DESCRIPTION = "InputEventManager" +HOMEPAGE = "http://docs.automotivelinux.org" +LICENSE = "Apache-2.0" +SECTION = "apps" +S = "${WORKDIR}/git/" + +inherit qmake5 systemd +DEPENDS = " qtbase " + +LIC_FILES_CHKSUM = "file://inputeventmanager/LICENSE;md5=ae6497158920d9524cf208c09cc4c984" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/inputeventmanager.git;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "b2f1646ac78cf61acd66c643b7638bd1b007d5a0" +# PV needs to be modified with SRCPV to work AUTOREV correctly +PV = "0.0+git${SRCPV}" + +PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" + +do_install() { + install -d ${D}/usr/AGL/${PN} + install -m 0755 ${B}/inputeventmanager/InputEventManager ${D}/usr/AGL/${PN}/ + + install -d ${D}${systemd_user_unitdir} + install -m 0644 ${S}/inputeventmanager/conf/InputEventManager.service ${D}${systemd_user_unitdir} +} + +FILES_${PN} += "/usr/AGL/${PN}/ ${systemd_user_unitdir}" +FILES_${PN}-dbg += "/usr/AGL/${PN}/.debug" + -- cgit 1.2.3-korg