From e5fa699e6c1fb5bf59978eef78ed50202eba7fc0 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Fri, 22 Dec 2017 10:13:01 +0000 Subject: Add example for Video/WebBrowser Add example to create widget for imcoming new apps: Video and WebBrowser. This patch is for testing refactoring HomeScreen icon handling. Change-Id: I9e95063006704bbc46ba32cc6dcf1c9644a8aec2 Signed-off-by: Tadao Tanikawa --- package/video/bin/runxdg | 2 + package/video/config.xml | 16 +++++++ package/video/icon.svg | 111 ++++++++++++++++++++++++++++++++++++++++++++++ package/video/runxdg.toml | 22 +++++++++ 4 files changed, 151 insertions(+) create mode 100755 package/video/bin/runxdg create mode 100644 package/video/config.xml create mode 100644 package/video/icon.svg create mode 100644 package/video/runxdg.toml (limited to 'package/video') diff --git a/package/video/bin/runxdg b/package/video/bin/runxdg new file mode 100755 index 0000000..dac903c --- /dev/null +++ b/package/video/bin/runxdg @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/runxdg $@ diff --git a/package/video/config.xml b/package/video/config.xml new file mode 100644 index 0000000..3aa9332 --- /dev/null +++ b/package/video/config.xml @@ -0,0 +1,16 @@ + + + Video + + + This is a demo application for video player + Tasuku Suzuki <tasuku.suzuki@qt.io> + APL 2.0 + + + + + + + + diff --git a/package/video/icon.svg b/package/video/icon.svg new file mode 100644 index 0000000..905d46f --- /dev/null +++ b/package/video/icon.svg @@ -0,0 +1,111 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/package/video/runxdg.toml b/package/video/runxdg.toml new file mode 100644 index 0000000..4061f04 --- /dev/null +++ b/package/video/runxdg.toml @@ -0,0 +1,22 @@ +[application] +# role: identifier for WindowManager (used in layers.json) +# e.g. role = "WebBrowser" +role = "Video" + +# launch by "POSIX"(fork/exec), "AFM_DBUS"(afm via dbus), "AFM_WEBSOCKET"(afm via websockt) +method = "POSIX" + +# path: path to the executable +# e.g. +# path = "/usr/bin/chromium" +path = "/usr/bin/weston-simple-egl" + +# params: arguments of the excecutable +# e.g. +# params = [ +# "--mus", +# "--no-sandbox", +# '--window-size="1080,1488"', +# "--ozone-platform=wayland", +# "" +# ] -- cgit 1.2.3-korg