X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Flauncher%2Flauncher_git.bb;h=e67734151d4543bff4b4fa716336c13a7be3ee7f;hb=866d959acd29437ed96780fdea86bbc55e298fb2;hp=5b1de0134364775d8e5f818aee9c31426656c393;hpb=41591d4f8c586aa801220fac0924556f406c58bd;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/launcher/launcher_git.bb b/recipes-demo/launcher/launcher_git.bb index 5b1de0134..e67734151 100644 --- a/recipes-demo/launcher/launcher_git.bb +++ b/recipes-demo/launcher/launcher_git.bb @@ -10,19 +10,38 @@ DEPENDS = "\ qtdeclarative \ qtquickcontrols2 \ qtwebsockets \ - qlibhomescreen \ wayland-native \ wayland \ qtwayland \ qtwayland-native \ + agl-compositor \ + json-c \ + applaunchd \ " -inherit qmake5 systemd pkgconfig aglwgt +PV = "1.0+git${SRCPV}" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/launcher;protocol=https;branch=${AGL_BRANCH}" +SRC_URI = " \ + git://gerrit.automotivelinux.org/gerrit/apps/launcher;protocol=https;branch=${AGL_BRANCH} \ + file://launcher.service \ + " SRCREV = "${AGL_APP_REVISION}" -PV = "1.0+git${SRCPV}" -S = "${WORKDIR}/git/" +S = "${WORKDIR}/git" + +inherit qmake5 systemd pkgconfig + +PATH:prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" -PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" +do_install:append() { + install -d ${D}${systemd_user_unitdir}/agl-session.target.wants + install -m0644 ${WORKDIR}/launcher.service ${D}${systemd_user_unitdir}/launcher.service + ln -s ../launcher.service ${D}${systemd_user_unitdir}/agl-session.target.wants/launcher.service +} + +FILES:${PN} += " ${systemd_user_unitdir}" + +RDEPENDS:${PN} += " \ + applaunchd \ + homescreen \ +"