aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-intel/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-bsp/meta-intel/recipes-graphics')
-rw-r--r--meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston/weston-intel.ini21
-rw-r--r--meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston_%.bbappend18
2 files changed, 39 insertions, 0 deletions
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
index 000000000..3cb7095ef
--- /dev/null
+++ b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston/weston-intel.ini
@@ -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
index 000000000..ba4ed899a
--- /dev/null
+++ b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/weston_%.bbappend
@@ -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 \
+ "