X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-openivi%2Fopenivi-html5%2Fopenivi-html5_git.bb;h=168b98c7800e8ae6d2c87797d0bcb3f94413067a;hb=74b387be8d81928cace317e902c5c8efaa095d7f;hp=4418b13bf06cce882e903e60e3c1033957ae1968;hpb=3ecf5cc06c44d700a7f29d4ffb49ab4c4954bba7;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-openivi/openivi-html5/openivi-html5_git.bb b/recipes-openivi/openivi-html5/openivi-html5_git.bb index 4418b13bf..168b98c78 100644 --- a/recipes-openivi/openivi-html5/openivi-html5_git.bb +++ b/recipes-openivi/openivi-html5/openivi-html5_git.bb @@ -13,13 +13,10 @@ SRC_URI = " \ inherit pkgconfig cmake_qt5 externalsrc systemd PV = "0.1" -PR = "r0" S = "${WORKDIR}/git" -SYSTEMD_SERVICE_${PN} = "openivi-html5.service" - -RDEPENDS_${PN} = "qtbase qtwebkit" +RDEPENDS_${PN} = "qtbase qtwebkit inputeventmanager windowmanager" DEPENDS = "qtbase-native qtbase qtwebkit" EXTRA_OECMAKE = " -DCMAKE_DISABLE_FIND_PACKAGE_X11=TRUE " @@ -36,8 +33,11 @@ do_install() { install -p -D ${WORKDIR}/openivi-html5.sh ${D}${bindir}/openivi-html5.sh if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - install -p -D ${WORKDIR}/openivi-html5.service ${D}${systemd_unitdir}/system/openivi-html5.service + install -d ${D}${systemd_user_unitdir} + install -p -D ${WORKDIR}/openivi-html5.service ${D}${systemd_user_unitdir}/openivi-html5.service + install -d ${D}${sysconfdir}/systemd/user/default.target.wants + ln -sf ${systemd_user_unitdir}/openivi-html5.service ${D}${sysconfdir}/systemd/user/default.target.wants fi } -FILES_${PN} += " ${prefix}/bin/openivi-html5.sh" +FILES_${PN} += " ${prefix}/bin/openivi-html5.sh ${systemd_user_unitdir} ${sysconfdir}"