new default weston.ini for Intel 85/7585/1
authorDominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Wed, 14 Dec 2016 08:16:22 +0000 (09:16 +0100)
committerDominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Wed, 14 Dec 2016 08:16:22 +0000 (09:16 +0100)
Change-Id: Id899777abafd84bc2c7eb9d3ba0a22906a45c7cb
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston/weston-intel.ini [new file with mode: 0644]
meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston_%.bbappend [new file with mode: 0644]

diff --git a/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston/weston-intel.ini b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston/weston-intel.ini
new file mode 100644 (file)
index 0000000..3cb7095
--- /dev/null
@@ -0,0 +1,21 @@
+[core]
+# shell=desktop-shell.so
+backend=drm-backend.so
+shell=ivi-shell.so
+
+[ivi-shell]
+ivi-module=ivi-controller.so,wl-shell-emulator.so
+ivi-input-module=ivi-input-controller.so
+
+[shell]
+locking=true
+# Uncomment below to hide panel
+#panel-location=none
+
+[output]
+name=HDMI-A-1
+transform=90
+
+#[output]
+#name=HDMI1
+#transform=90
diff --git a/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston_%.bbappend b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston_%.bbappend
new file mode 100644 (file)
index 0000000..ba4ed89
--- /dev/null
@@ -0,0 +1,18 @@
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+
+SRC_URI_append = "\
+    file://weston-intel.ini \
+    "
+
+do_install_append() {
+    WESTON_INI_CONFIG=${sysconfdir}/xdg/weston
+    install -d ${D}${WESTON_INI_CONFIG}
+    install -m 0644 ${WORKDIR}/weston-intel.ini ${D}${WESTON_INI_CONFIG}/weston.ini
+
+# hack to enable CES Home screen on Intel
+#    ln -s ${D}/usr/lib/libEGL.so.1 ${D}/usr/lib/libEGL.so
+}
+
+FILES_${PN} += " \
+    ${sysconfdir}/xdg/weston/weston.ini \
+    "