summaryrefslogtreecommitdiffstats
path: root/recipes-demo
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2022-06-17 16:00:51 +0200
committerJose Dapena Paz <jdapena@igalia.com>2022-07-26 16:19:43 +0200
commitf403f262a38e9da5162738b80f71a813bfa6c629 (patch)
treeb217148e99109db7ebf10a6785e0ec95acf0ea99 /recipes-demo
parent65e80708f447c92505b23f16145028e2d4b57945 (diff)
Add html-examples
Bug-AGL: SPEC-4248 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Iee0e068aa5fd6f3bf5cb4cab8c5003e109408a8f
Diffstat (limited to 'recipes-demo')
-rw-r--r--recipes-demo/webapp-samples/files/webapps-examples.desktop11
-rw-r--r--recipes-demo/webapp-samples/html5-examples_git.bb11
2 files changed, 22 insertions, 0 deletions
diff --git a/recipes-demo/webapp-samples/files/webapps-examples.desktop b/recipes-demo/webapp-samples/files/webapps-examples.desktop
new file mode 100644
index 000000000..0764cfdca
--- /dev/null
+++ b/recipes-demo/webapp-samples/files/webapps-examples.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=HTML5 Examples
+Comment=Examples of web contents
+GenericName=Examples
+Exec=/usr/bin/WebAppMgr --appid=webapps-examples --app-install-dir=/usr/lib/wam_apps/html5-examples/
+Icon=settings
+Terminal=false
+Type=Application
+Categories=System;
+StartupNotify=true
diff --git a/recipes-demo/webapp-samples/html5-examples_git.bb b/recipes-demo/webapp-samples/html5-examples_git.bb
new file mode 100644
index 000000000..785379786
--- /dev/null
+++ b/recipes-demo/webapp-samples/html5-examples_git.bb
@@ -0,0 +1,11 @@
+SUMMARY = "AGL HTML5 Examples"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7ea5dd8751060d9f04d2748030c547ed"
+DESKTOP_FILE = "webapps-examples.desktop"
+
+require webapp-samples.inc
+
+do_install:append() {
+ cp -R --no-dereference --preserve=mode,links ${S}/examples/* ${D}${WAM_APPLICATIONS_DIR}/${PN}
+}
+