X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fhomescreen%2Fhomescreen_git.bb;h=f86c9a788d6d993c30a9d00328e6bdf28c812ba0;hb=27c1cde83a0710725f134d092932a87c0ec93f06;hp=1ec938b70c53b3d0b29fc280bd8961a3e7a47469;hpb=83e08d62a81dcdcfe9e7bb7bea1bd8469478cd69;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/homescreen/homescreen_git.bb b/recipes-demo/homescreen/homescreen_git.bb index 1ec938b70..f86c9a788 100644 --- a/recipes-demo/homescreen/homescreen_git.bb +++ b/recipes-demo/homescreen/homescreen_git.bb @@ -10,33 +10,54 @@ DEPENDS = " \ qtdeclarative \ qtquickcontrols2 \ libqtappfw \ - libhomescreen \ - libafb-helpers-qt \ wayland-native \ wayland \ qtwayland \ qtwayland-native \ + agl-compositor \ + applaunchd \ " -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 \ + file://homescreen.conf \ + file://homescreen.token \ +" +SRCREV = "444b2a68a503caaf0d58729d8297ef179215e3c1" + +S = "${WORKDIR}/git" + +inherit meson systemd pkgconfig -S = "${WORKDIR}/git" +PATH:prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" -inherit qmake5 systemd pkgconfig aglwgt +OE_QMAKE_CXXFLAGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}" -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}/homescreen.service ${D}${systemd_user_unitdir}/homescreen.service + ln -s ../homescreen.service ${D}${systemd_user_unitdir}/agl-session.target.wants/homescreen.service -OE_QMAKE_CXXFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'agl-devel', '' , '-DQT_NO_DEBUG_OUTPUT', d)}" + # Currently using default global client and CA certificates + # for KUKSA.val SSL, installing app specific ones would go here. -RDEPENDS_${PN} += " \ + # VIS authorization token file for KUKSA.val should ideally not + # be readable by other users, but currently that's not doable + # until a packaging/sandboxing/MAC scheme is (re)implemented or + # something like OAuth is plumbed in as an alternative. + install -d ${D}${sysconfdir}/xdg/AGL/homescreen + install -m 0644 ${WORKDIR}/homescreen.conf ${D}${sysconfdir}/xdg/AGL/ + install -m 0644 ${WORKDIR}/homescreen.token ${D}${sysconfdir}/xdg/AGL/homescreen/ +} + +FILES:${PN} += " ${systemd_user_unitdir}" + +RDEPENDS:${PN} += " \ libqtappfw \ - agl-service-audiomixer \ - agl-service-bluetooth \ - agl-service-homescreen \ - agl-service-network \ - agl-service-weather \ - agl-service-voice-high \ + applaunchd \ + qtwayland \ + qtbase-qmlplugins \ + qtgraphicaleffects-qmlplugins \ "