summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-demo/webapp-samples/files/webapps-aquarium.desktop11
-rw-r--r--recipes-demo/webapp-samples/files/webapps-youtube.desktop11
-rw-r--r--recipes-demo/webapp-samples/html5-aquarium_git.bb11
-rw-r--r--recipes-demo/webapp-samples/html5-youtube_git.bb11
-rw-r--r--recipes-demo/webapp-samples/webapp-samples.inc26
-rw-r--r--recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb2
6 files changed, 72 insertions, 0 deletions
diff --git a/recipes-demo/webapp-samples/files/webapps-aquarium.desktop b/recipes-demo/webapp-samples/files/webapps-aquarium.desktop
new file mode 100644
index 000000000..49ae05a50
--- /dev/null
+++ b/recipes-demo/webapp-samples/files/webapps-aquarium.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=HTML5 Aquarium
+Comment=Aquarium
+GenericName=Aquarium
+Exec=/usr/bin/WebAppMgr --appid=webapps-aquarium --app-install-dir=/usr/lib/wam_apps/html5-aquarium/
+Icon=settings
+Terminal=false
+Type=Application
+Categories=System;
+StartupNotify=true
diff --git a/recipes-demo/webapp-samples/files/webapps-youtube.desktop b/recipes-demo/webapp-samples/files/webapps-youtube.desktop
new file mode 100644
index 000000000..71faa0f6e
--- /dev/null
+++ b/recipes-demo/webapp-samples/files/webapps-youtube.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=HTML5 YouTube
+Comment=YouTube
+GenericName=YouTube
+Exec=/usr/bin/WebAppMgr --appid=webapps-youtube --app-install-dir=/usr/lib/wam_apps/html5-youtube/
+Icon=settings
+Terminal=false
+Type=Application
+Categories=System;
+StartupNotify=true
diff --git a/recipes-demo/webapp-samples/html5-aquarium_git.bb b/recipes-demo/webapp-samples/html5-aquarium_git.bb
new file mode 100644
index 000000000..083678419
--- /dev/null
+++ b/recipes-demo/webapp-samples/html5-aquarium_git.bb
@@ -0,0 +1,11 @@
+SUMMARY = "AGL HTML5 Aquarium Demo"
+LICENSE = "BSD-3"
+LIC_FILES_CHKSUM = "file://aquarium/LICENSE;md5=9f0d95e61aa217eacd61ee6833cf411c"
+DESKTOP_FILE = "webapps-aquarium.desktop"
+
+require webapp-samples.inc
+
+do_install:append() {
+ cp -R --no-dereference --preserve=mode,links ${S}/aquarium/* ${D}${WAM_APPLICATIONS_DIR}/${PN}
+}
+
diff --git a/recipes-demo/webapp-samples/html5-youtube_git.bb b/recipes-demo/webapp-samples/html5-youtube_git.bb
new file mode 100644
index 000000000..8f45c42bb
--- /dev/null
+++ b/recipes-demo/webapp-samples/html5-youtube_git.bb
@@ -0,0 +1,11 @@
+SUMMARY = "AGL HTML5 Youtube"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7ea5dd8751060d9f04d2748030c547ed"
+DESKTOP_FILE = "webapps-youtube.desktop"
+
+require webapp-samples.inc
+
+do_install:append() {
+ cp -R --no-dereference --preserve=mode,links ${S}/youtube/* ${D}${WAM_APPLICATIONS_DIR}/${PN}
+}
+
diff --git a/recipes-demo/webapp-samples/webapp-samples.inc b/recipes-demo/webapp-samples/webapp-samples.inc
new file mode 100644
index 000000000..f2d61a092
--- /dev/null
+++ b/recipes-demo/webapp-samples/webapp-samples.inc
@@ -0,0 +1,26 @@
+HOMEPAGE = "https://github.com/AGL-web-applications/webapp-samples"
+SECTION = "apps"
+
+PV = "1.0+git${SRCPV}"
+S = "${WORKDIR}/git"
+B = "${WORKDIR}/build"
+
+SRC_URI = " \
+ git://github.com/AGL-web-applications/webapp-samples.git;protocol=https;branch=master \
+ file://${DESKTOP_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}
+}
+
+FILES:${PN} = " \
+ ${WAM_APPLICATIONS_DIR}/${PN} \
+ ${APPLICATIONS_DIR} \
+"
diff --git a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
index 06df05ecf..53159ba3a 100644
--- a/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
+++ b/recipes-platform/packagegroups/packagegroup-agl-demo-platform-html5.bb
@@ -25,6 +25,8 @@ AGL_APPS = " \
html5-mediaplayer \
html5-mixer \
html5-settings \
+ html5-aquarium \
+ html5-youtube \
"
RDEPENDS:${PN}:append = " \