X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Flauncher%2Flauncher_git.bb;h=52564b9ceb6ededc2926ee33772fad1f4b253295;hb=ab99f9c50797b07b069433ce6a78dcad2b6702d3;hp=d2de209a1904d70e00f8da43a43f53d4522eafd4;hpb=4249268041b879b3d2bae338d5de88f4f2d54b26;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/launcher/launcher_git.bb b/recipes-demo/launcher/launcher_git.bb index d2de209a1..52564b9ce 100644 --- a/recipes-demo/launcher/launcher_git.bb +++ b/recipes-demo/launcher/launcher_git.bb @@ -1,6 +1,6 @@ SUMMARY = "AGL Launcher Application" DESCRIPTION = "AGL Launcher Application build with recipe method" -HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/apps/launcher" +HOMEPAGE = "https://git.automotivelinux.org/apps/launcher" SECTION = "apps" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" @@ -9,24 +9,39 @@ DEPENDS = "\ qtbase \ qtdeclarative \ qtquickcontrols2 \ - qtwebsockets \ - qlibhomescreen \ + libqtappfw \ wayland-native \ wayland \ qtwayland \ qtwayland-native \ agl-compositor \ + json-c \ + applaunchd \ " -PV = "1.0+git${SRCPV}" +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 = "b28d987d3fcf0c1c728d6c3cd18e52d40f6c2ffc" -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}:" -RDEPENDS:${PN} = "agl-service-homescreen" +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} += " \ + libqtappfw \ + applaunchd \ + homescreen \ +"