X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fphone%2Fphone_git.bb;h=e8b8d9ab6c8907eaf04781a4941a8d7d9cbcfab1;hb=refs%2Fchanges%2F72%2F27672%2F2;hp=dd867227419e79b5533ed5e5dae4e4cf1f6ccc1d;hpb=2984c298e538493dc9ca26a685ad82c0dbd15415;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/phone/phone_git.bb b/recipes-demo/phone/phone_git.bb index dd8672274..e8b8d9ab6 100644 --- a/recipes-demo/phone/phone_git.bb +++ b/recipes-demo/phone/phone_git.bb @@ -6,19 +6,23 @@ SECTION = "apps" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=ae6497158920d9524cf208c09cc4c984" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/phone;protocol=https;branch=${AGL_BRANCH}" -SRCREV = "${AGL_APP_REVISION}" +DEPENDS = "qtquickcontrols2 libqtappfw gstreamer1.0" PV = "1.0+git${SRCPV}" -S = "${WORKDIR}/git" -# build-time dependencies -DEPENDS += "qtquickcontrols2 \ - libqtappfw \ - libhomescreen \ - gstreamer1.0 \ -" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/phone;protocol=https;branch=${AGL_BRANCH}" +SRCREV = "bfcc2fa194474a7bc317583072b62c977ae0fc14" + +S = "${WORKDIR}/git" + +inherit qmake5 pkgconfig + +# HACK: new systemd-enabled applaunchd for now relies on .desktop and DBusActivatable +do_install:append() { + sed -n "/^DBusActivatable=/!p" -i ${D}${datadir}/applications/phone.desktop + echo "DBusActivatable=true" >> ${D}${datadir}/applications/phone.desktop +} -inherit qmake5 aglwgt +FILES:${PN} += "${datadir}/icons/ ${datadir}/sounds/" -RDEPENDS_${PN} += "agl-service-telephony agl-service-bluetooth-pbap libqtappfw" +RDEPENDS:${PN} += "libqtappfw"