X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=recipes-demo%2Flauncher%2Flauncher_git.bb;h=431c96aef99cf9eef3c8631f90d9bdedecf13e06;hb=0cf70c4f4fa11154d0f894c67c776ede0b09c0a9;hp=1f2117e62538fa1f12392f40376afea053bcc569;hpb=2d365a414869454e217e2b099872de0bc2519fda;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/launcher/launcher_git.bb b/recipes-demo/launcher/launcher_git.bb index 1f2117e62..431c96aef 100644 --- a/recipes-demo/launcher/launcher_git.bb +++ b/recipes-demo/launcher/launcher_git.bb @@ -10,20 +10,38 @@ DEPENDS = "\ qtdeclarative \ qtquickcontrols2 \ qtwebsockets \ - qlibhomescreen \ wayland-native \ wayland \ qtwayland \ qtwayland-native \ + agl-compositor \ + json-c \ + applaunchd \ " PV = "1.0+git${SRCPV}" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/launcher;protocol=https;branch=${AGL_BRANCH}" -SRCREV = "${AGL_APP_REVISION}" +SRC_URI = " \ + git://gerrit.automotivelinux.org/gerrit/apps/launcher;protocol=https;branch=${AGL_BRANCH} \ + file://launcher.service \ + " +SRCREV = "21a1fef41137a1dffc6ff0a602665999a7f6cc66" -S = "${WORKDIR}/git/" +S = "${WORKDIR}/git" -inherit qmake5 systemd pkgconfig aglwgt +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 \ +"