X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Flauncher%2Flauncher_git.bb;h=c46a4a18214a3c919600f507344d41678ff0eeb4;hb=953f9ca81b1da07f61f8d417fc2765cb647dcf79;hp=13d36ae68befb84376671a30b860e7fc925c6a5a;hpb=95d382d4c18dd02f3047729f4312e5dc12e152ed;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/launcher/launcher_git.bb b/recipes-demo/launcher/launcher_git.bb index 13d36ae68..c46a4a182 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,26 +9,37 @@ DEPENDS = "\ qtbase \ qtdeclarative \ qtquickcontrols2 \ - qtwebsockets \ - qlibhomescreen \ + libqtappfw \ wayland-native \ wayland \ qtwayland \ qtwayland-native \ + agl-compositor \ + json-c \ + applaunchd \ " -# FIXME: launcher needs agl-shell-desktop, part of agl-compositor(-protocols) package -DEPENDS_append = " agl-compositor" +PV = "1.0+git${SRCPV}" -PV = "1.0+git${SRCPV}" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/launcher;protocol=https;branch=${AGL_BRANCH} \ + file://launcher.service \ +" +SRCREV = "4be88c049f31b7659e09223857b92ca531835039" + +S = "${WORKDIR}/git" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/launcher;protocol=https;branch=${AGL_BRANCH}" -SRCREV = "${AGL_APP_REVISION}" +inherit qmake5 systemd pkgconfig -S = "${WORKDIR}/git" +PATH:prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" -inherit qmake5 systemd pkgconfig aglwgt +SYSTEMD_SERVICE:${PN} = "${BPN}.service" -PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:" +do_install:append() { + install -D -m0644 ${WORKDIR}/launcher.service ${D}${systemd_system_unitdir}/launcher.service +} -RDEPENDS_${PN} = "agl-service-homescreen" +RDEPENDS:${PN} += " \ + libqtappfw \ + applaunchd \ + homescreen \ +"