X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=recipes-demo%2Fhtml5-settings%2Fhtml5-settings_git.bb;h=ff94276d15ec39ab1c3410f54659dec69b34f428;hb=2d90ed672986778ed9826beeb395e688cd628156;hp=edbd80f2cb825b23854d6a57d58863d77b07b4aa;hpb=95a0f0ef7fec815b0b571b30e1e71ff2a3ea9021;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/html5-settings/html5-settings_git.bb b/recipes-demo/html5-settings/html5-settings_git.bb index edbd80f2c..ff94276d1 100644 --- a/recipes-demo/html5-settings/html5-settings_git.bb +++ b/recipes-demo/html5-settings/html5-settings_git.bb @@ -10,11 +10,14 @@ B = "${WORKDIR}/build" SRC_URI = " \ git://gerrit.automotivelinux.org/gerrit/apps/html5-settings;protocol=https;branch=master \ - file://webapps-settings.desktop \ " SRCREV = "69af4d9b9b209fcb33ef9071ddfa8561106044c2" -inherit pythonnative +inherit agl-app + +AGL_APP_TEMPLATE = "agl-app-web" +AGL_APP_ID = "webapps-settings" +AGL_APP_NAME = "HTML5 Settings" DEPENDS = "nodejs-native" @@ -26,17 +29,11 @@ do_compile() { npm run build } -WAM_APPLICATIONS_DIR="${libdir}/wam_apps" -APPLICATIONS_DIR="${datadir}/applications" +WAM_APPLICATIONS_DIR = "${libdir}/wam_apps" do_install() { install -d ${D}${WAM_APPLICATIONS_DIR}/${PN} cp -R --no-dereference --preserve=mode,links ${S}/dist/* ${D}${WAM_APPLICATIONS_DIR}/${PN} - install -d ${D}${APPLICATIONS_DIR} - install ${WORKDIR}/webapps-settings.desktop ${D}${APPLICATIONS_DIR} } -FILES:${PN} = " \ - ${WAM_APPLICATIONS_DIR}/${PN} \ - ${APPLICATIONS_DIR} \ -" +FILES:${PN} = "${WAM_APPLICATIONS_DIR}/${PN}"