From 7f3038e5efb5fed78457a5855560a3ae8912f783 Mon Sep 17 00:00:00 2001 From: Roger Zanoni Date: Wed, 9 Nov 2022 14:31:36 +0100 Subject: Restore webapp samples The desktop files aren't used anymore, change the recipes to use appinfo.json instead. Bug-AGL: SPEC-4605 Signed-off-by: Roger Zanoni Change-Id: Ie03aef155217f59bb6363f18b2781adbacc93786 --- recipes-demo/webapp-samples/html5-aquarium_git.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'recipes-demo/webapp-samples/html5-aquarium_git.bb') diff --git a/recipes-demo/webapp-samples/html5-aquarium_git.bb b/recipes-demo/webapp-samples/html5-aquarium_git.bb index 6ca90bcf..7828eccb 100644 --- a/recipes-demo/webapp-samples/html5-aquarium_git.bb +++ b/recipes-demo/webapp-samples/html5-aquarium_git.bb @@ -1,10 +1,16 @@ SUMMARY = "AGL HTML5 Aquarium Demo" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://aquarium/LICENSE;md5=9f0d95e61aa217eacd61ee6833cf411c" -DESKTOP_FILE = "webapps-aquarium.desktop" +APPINFO_FILE = "appinfo-aquarium.json" require webapp-samples.inc +inherit pythonnative agl-app + +AGL_APP_TEMPLATE = "agl-app-web" +AGL_APP_ID = "webapps-aquarium" +AGL_APP_NAME = "Aquarium" + do_install:append() { cp -R --no-dereference --preserve=mode,links ${S}/aquarium/* ${D}${WAM_APPLICATIONS_DIR}/${PN} } -- cgit 1.2.3-korg