X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fhtml5-settings%2Fhtml5-settings_git.bb;h=c8dae72915f68ea0247bdeaf3e5237301915fbd0;hb=6dc0e32fbda2c122a2b59630d774dc4ef1a49619;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..c8dae7291 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 pythonnative 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}"