diff options
Diffstat (limited to 'meta-agl-bsp/recipes-graphics/wayland')
-rw-r--r-- | meta-agl-bsp/recipes-graphics/wayland/weston/weston-qemu-drm.ini | 26 | ||||
-rw-r--r-- | meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend | 16 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta-agl-bsp/recipes-graphics/wayland/weston/weston-qemu-drm.ini b/meta-agl-bsp/recipes-graphics/wayland/weston/weston-qemu-drm.ini new file mode 100644 index 000000000..e3f95369f --- /dev/null +++ b/meta-agl-bsp/recipes-graphics/wayland/weston/weston-qemu-drm.ini @@ -0,0 +1,26 @@ +[core] +shell=desktop-shell.so +backend=drm-backend.so + +[shell] +locking=true +# Uncomment below to hide panel +#panel-location=none + +[output] +name=Virtual-1 +#mode=1920x1080 +#mode=1600x1200 +#mode=1680x1050 +#mode=1400x1050 +mode=1600x900 +#mode=1280x1024 +#mode=1440x900 +#mode=1280x960 +#mode=1360x768 +#mode=1280x800 +#mode=1280x768 +#mode=1280x720 +#mode=800x600 +#mode=848x480 +#mode=640x480 diff --git a/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend b/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend index 9aaea5f69..74f9e59e4 100644 --- a/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend +++ b/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend @@ -1,3 +1,19 @@ +FILESEXTRAPATHS_append := ":${THISDIR}/${PN}" + RDEPENDS_${PN}_append_qemux86 = " mesa-megadriver" RDEPENDS_${PN}_append_qemux86-64 = " mesa-megadriver" RDEPENDS_${PN}_append_intel-corei7-64 = " mesa-megadriver" + +SRC_URI_append = "\ + file://weston-qemu-drm.ini \ + " + +do_install_append() { + WESTON_CONFIG_DIR=${sysconfdir}/xdg/weston + install -d ${D}${WESTON_CONFIG_DIR} + install -m 0644 ${WORKDIR}/weston-qemu-drm.ini ${D}${WESTON_CONFIG_DIR}/weston.ini +} + +FILES_${PN} += " \ + ${sysconfdir}/xdg/weston/weston.ini \ + " |