aboutsummaryrefslogtreecommitdiffstats
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
parent65e80708f447c92505b23f16145028e2d4b57945 (diff)
Add html-examples
Bug-AGL: SPEC-4248 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Iee0e068aa5fd6f3bf5cb4cab8c5003e109408a8f
-rw-r--r--recipes-demo/webapp-samples/files/webapps-examples.desktop11
-rw-r--r--recipes-demo/webapp-samples/html5-examples_git.bb11
-rw-r--r--recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb1
3 files changed, 23 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}
+}
+
diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
index 5fe6ec9eb..cb2c912d6 100644
--- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
+++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
@@ -28,6 +28,7 @@ AGL_APPS = " \
html5-aquarium \
html5-youtube \
html5-jitsi \
+ html5-examples \
"
RDEPENDS:${PN}:append = " \