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"
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 = "4be88c049f31b7659e09223857b92ca531835039"
+
+S = "${WORKDIR}/git"
-S = "${WORKDIR}/git"
+inherit qmake5 systemd pkgconfig
-inherit qmake5 systemd pkgconfig aglwgt
+PATH:prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"
-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}/launcher.service ${D}${systemd_user_unitdir}/launcher.service
+ ln -s ../launcher.service ${D}${systemd_user_unitdir}/agl-session.target.wants/launcher.service
+}
-RDEPENDS_${PN} = "agl-service-homescreen"
+FILES:${PN} += " ${systemd_user_unitdir}"
+
+RDEPENDS:${PN} += " \
+ libqtappfw \
+ applaunchd \
+ homescreen \
+"