X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fhomescreen%2Fhomescreen_git.bb;h=c455678421a7bc8c80a8b10e726a9d9b2e07cf10;hb=8e02ea4d58b42e6d1bad629399b25713e34e55e9;hp=2b183d58cf40aa782f55c5844e1da9d86625086c;hpb=6adbf6b85fa629ec2ff43cd0a72f49b8020ddcb0;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/homescreen/homescreen_git.bb b/recipes-demo/homescreen/homescreen_git.bb index 2b183d58c..c45567842 100644 --- a/recipes-demo/homescreen/homescreen_git.bb +++ b/recipes-demo/homescreen/homescreen_git.bb @@ -9,11 +9,13 @@ DEPENDS = " \ qtbase \ qtdeclarative \ qtquickcontrols2 \ + libqtappfw \ wayland-native \ wayland \ qtwayland \ qtwayland-native \ agl-compositor \ + applaunchd \ " PV = "1.0+git${SRCPV}" @@ -32,13 +34,16 @@ PATH:prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" OE_QMAKE_CXXFLAGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}" do_install:append() { - install -D -p -m0644 ${WORKDIR}/homescreen.service ${D}${systemd_system_unitdir}/homescreen.service + install -d ${D}${systemd_user_unitdir}/agl-session.target.wants + install -m0644 ${WORKDIR}/homescreen.service ${D}${systemd_user_unitdir}/homescreen.service + ln -s ../homescreen.service ${D}${systemd_user_unitdir}/agl-session.target.wants/homescreen.service } -SYSTEMD_SERVICE_${PN} = "homescreen.service" -SYSTEMD_AUTO_ENABLE = "enable" +FILES:${PN} += " ${systemd_user_unitdir}" RDEPENDS:${PN} += " \ + libqtappfw \ + applaunchd \ qtwayland \ qtbase-qmlplugins \ qtgraphicaleffects-qmlplugins \