X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Flauncher%2Flauncher_git.bb;h=96aa0efbd8f5d0c100f84b6f373a686743d4fdb2;hb=8b6cd106f1090bc3ee0640502d36bc493b8ccf70;hp=1f2117e62538fa1f12392f40376afea053bcc569;hpb=2d365a414869454e217e2b099872de0bc2519fda;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/launcher/launcher_git.bb b/recipes-demo/launcher/launcher_git.bb index 1f2117e62..96aa0efbd 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,21 +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 = "5e828161fc1571323e2812a344f6714ae9331b2c" + +S = "${WORKDIR}/git" + +inherit qmake5 systemd pkgconfig -S = "${WORKDIR}/git/" +PATH:prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" -inherit qmake5 systemd pkgconfig aglwgt +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 +} -PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" +FILES:${PN} += " ${systemd_user_unitdir}" + +RDEPENDS:${PN} += " \ + libqtappfw \ + applaunchd \ + homescreen \ +"