summaryrefslogtreecommitdiff
path: root/genivi/strata/genivi-demo-platform/browser-poc.morph
diff options
context:
space:
mode:
Diffstat (limited to 'genivi/strata/genivi-demo-platform/browser-poc.morph')
-rw-r--r--genivi/strata/genivi-demo-platform/browser-poc.morph29
1 files changed, 29 insertions, 0 deletions
diff --git a/genivi/strata/genivi-demo-platform/browser-poc.morph b/genivi/strata/genivi-demo-platform/browser-poc.morph
new file mode 100644
index 0000000..1ca23d4
--- /dev/null
+++ b/genivi/strata/genivi-demo-platform/browser-poc.morph
@@ -0,0 +1,29 @@
+name: browser-poc
+kind: chunk
+description: The GENIVI browser proof-of-concept for the GENIVI Demo Platform.
+configure-commands:
+- qmake -d -r browser-poc.pro
+build-commands:
+- make all
+install-commands:
+- make INSTALL_ROOT="$DESTDIR" install
+- mkdir -p "$DESTDIR/usr/lib/systemd/user"
+- |
+ cat >"$DESTDIR/usr/lib/systemd/user/browser.service" <<EOF
+ [Unit]
+ Description=Genivi Browser PoC service
+ Requires=dbus.service
+
+ [Service]
+ ExecStart=/usr/lib/browser-poc/browser/browser
+ EOF
+- |
+ cat >"$DESTDIR/usr/lib/systemd/user/demoui.service" <<EOF
+ [Unit]
+ Description=Genivi Browser PoC demoui
+ Requires=browser.service
+
+ [Service]
+ Environment=LD_PRELOAD=/usr/lib/libEGL.so
+ ExecStart=/usr/lib/browser-poc/demoui/demoui
+ EOF