From ab99f9c50797b07b069433ce6a78dcad2b6702d3 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 (cherry picked from commit 7f3038e5efb5fed78457a5855560a3ae8912f783) --- recipes-demo/webapp-samples/webapp-samples.inc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'recipes-demo/webapp-samples/webapp-samples.inc') diff --git a/recipes-demo/webapp-samples/webapp-samples.inc b/recipes-demo/webapp-samples/webapp-samples.inc index f2d61a09..1a74a46c 100644 --- a/recipes-demo/webapp-samples/webapp-samples.inc +++ b/recipes-demo/webapp-samples/webapp-samples.inc @@ -7,20 +7,17 @@ B = "${WORKDIR}/build" SRC_URI = " \ git://github.com/AGL-web-applications/webapp-samples.git;protocol=https;branch=master \ - file://${DESKTOP_FILE} \ + file://${APPINFO_FILE} \ " SRCREV = "b24a62cc524bdec98a61acc03fc53cbab24c1571" WAM_APPLICATIONS_DIR="${libdir}/wam_apps" -APPLICATIONS_DIR="${datadir}/applications" do_install() { install -d ${D}${WAM_APPLICATIONS_DIR}/${PN} - install -d ${D}${APPLICATIONS_DIR} - install ${WORKDIR}/${DESKTOP_FILE} ${D}${APPLICATIONS_DIR} + install ${WORKDIR}/${APPINFO_FILE} ${D}${WAM_APPLICATIONS_DIR}/${PN}/appinfo.json } FILES:${PN} = " \ ${WAM_APPLICATIONS_DIR}/${PN} \ - ${APPLICATIONS_DIR} \ " -- cgit 1.2.3-korg