[rcar-gen3] update weston recipes bbappend 67/8767/11
authorRonan Le Martret <ronan.lemartret@iot.bzh>
Thu, 2 Mar 2017 18:14:12 +0000 (19:14 +0100)
committerronan Le Martret <ronan@iot.bzh>
Tue, 21 Mar 2017 09:24:09 +0000 (09:24 +0000)
 - added weston.ini
 - remove fix on apply fix-touchscreen-crash.patch.
   this fix is useless for the Renesas rcar gen3 v2.16

Bug-AGL: SPEC-471
Bug-AGL: SPEC-411

Change-Id: Iee25aae5c25fcdda6e97181ccba946db938e129f
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
meta-agl-bsp/meta-rcar-gen3/recipes-graphics/wayland/weston/weston-rcar.ini [new file with mode: 0644]
meta-agl-bsp/meta-rcar-gen3/recipes-graphics/wayland/weston_%.bbappend

diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/wayland/weston/weston-rcar.ini b/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/wayland/weston/weston-rcar.ini
new file mode 100644 (file)
index 0000000..a37895c
--- /dev/null
@@ -0,0 +1,11 @@
+[core]
+shell=ivi-shell.so
+backend=drm-backend.so
+repaint-window=34
+
+[ivi-shell]
+ivi-module=ivi-controller.so
+
+[output]
+name=HDMI-A-1
+transform=90
index 9fa8dd8..98b973c 100644 (file)
@@ -1,3 +1,15 @@
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+
+SRC_URI_append = "\
+    file://weston-rcar.ini \
+    "
+
+do_install_append() {
+    WESTON_INI_CONFIG=${sysconfdir}/xdg/weston
+    install -d ${D}${WESTON_INI_CONFIG}
+    install -m 0644 ${WORKDIR}/weston-rcar.ini ${D}${WESTON_INI_CONFIG}/weston.ini
+}
+
 FILES_${PN}_append_rcar-gen3 = " \
     ${libexecdir}/weston-screenshooter \
     ${libexecdir}/weston-ivi-shell-user-interface \
@@ -6,4 +18,6 @@ FILES_${PN}_append_rcar-gen3 = " \
     ${libexecdir}/weston-desktop-shell \
 "
 
-SRC_URI_remove = "file://fix-touchscreen-crash.patch"
+FILES_${PN}_append = " \
+    ${sysconfdir}/xdg/weston/weston.ini \
+    "