X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fhomescreen%2Fhomescreen_git.bb;h=2b183d58cf40aa782f55c5844e1da9d86625086c;hb=refs%2Fchanges%2F18%2F26918%2F3;hp=bf8034b91ff616da7bf444dce0339bdfe749a20b;hpb=4249268041b879b3d2bae338d5de88f4f2d54b26;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/homescreen/homescreen_git.bb b/recipes-demo/homescreen/homescreen_git.bb index bf8034b91..2b183d58c 100644 --- a/recipes-demo/homescreen/homescreen_git.bb +++ b/recipes-demo/homescreen/homescreen_git.bb @@ -9,9 +9,6 @@ DEPENDS = " \ qtbase \ qtdeclarative \ qtquickcontrols2 \ - libqtappfw \ - libhomescreen \ - libafb-helpers-qt \ wayland-native \ wayland \ qtwayland \ @@ -19,25 +16,30 @@ DEPENDS = " \ agl-compositor \ " -PV = "1.0+git${SRCPV}" +PV = "1.0+git${SRCPV}" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/homescreen;protocol=https;branch=${AGL_BRANCH}" -SRCREV = "${AGL_APP_REVISION}" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/homescreen;protocol=https;branch=${AGL_BRANCH} \ + file://homescreen.service \ +" +SRCREV = "${AGL_APP_REVISION}" -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}:" 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 +} + +SYSTEMD_SERVICE_${PN} = "homescreen.service" +SYSTEMD_AUTO_ENABLE = "enable" + RDEPENDS:${PN} += " \ - libqtappfw \ - agl-service-audiomixer \ - agl-service-bluetooth \ - agl-service-homescreen \ - agl-service-network \ - agl-service-weather \ - agl-service-voice-high \ + qtwayland \ + qtbase-qmlplugins \ + qtgraphicaleffects-qmlplugins \ "