diff --git a/recipes-bsp/u-boot/u-boot-smarcimx8mm_2019.04.bb b/recipes-bsp/u-boot/u-boot-smarcimx8mm_2019.04.bb index d856fd6..4220d26 100644 --- a/recipes-bsp/u-boot/u-boot-smarcimx8mm_2019.04.bb +++ b/recipes-bsp/u-boot/u-boot-smarcimx8mm_2019.04.bb @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a UBOOT_SRC ?= "${EMB_UBOOT_MIRROR};protocol=ssh" SRCBRANCH = "smarc_8mm-imx_v2019.04_4.19.35_1.1.0" SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}" -SRCREV = "5999439f6bef2790462bb0ec936f3a783e3ce4b7" +SRCREV = "731c0fd70c338cf30512557588398efc6362f560" S = "${WORKDIR}/git" diff --git a/recipes-graphics/wayland/weston_6.0.1.imx.bbappend b/recipes-graphics/wayland/weston_6.0.1.imx.bbappend new file mode 100644 index 0000000..3de561c --- /dev/null +++ b/recipes-graphics/wayland/weston_6.0.1.imx.bbappend @@ -0,0 +1,45 @@ +/*Weston falls back to use the GL backend*/ +do_install_append() { + # Weston doesn't need the .la files to load modules, so wipe them + rm -f ${D}/${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.la + + # If X11, ship a desktop file to launch it + if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then + install -d ${D}${datadir}/applications + install ${WORKDIR}/weston.desktop ${D}${datadir}/applications + + install -d ${D}${datadir}/icons/hicolor/48x48/apps + install ${WORKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps + fi + + if [ "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'yes', 'no', d)}" = "yes" ]; then + install -Dm 644 ${WORKDIR}/xwayland.weston-start ${D}${datadir}/weston-start/xwayland + fi + + if [ -z "${@bb.utils.filter('BBFILE_COLLECTIONS', 'aglprofilegraphical', d)}" ]; then + if [ "${@bb.utils.filter('BBFILE_COLLECTIONS', 'ivi', d)}" ]; then + WESTON_INI_SRC=${B}/ivi-shell/weston.ini + else + WESTON_INI_SRC=${B}/weston.ini + fi + WESTON_INI_DEST_DIR=${D}${sysconfdir}/xdg/weston + install -d ${WESTON_INI_DEST_DIR} + install -m 0644 ${WESTON_INI_SRC} ${WESTON_INI_DEST_DIR} + cd ${WESTON_INI_DEST_DIR} + case ${SOCNAME} in + 8mq) + uncomment "gbm-format=argb8888" weston.ini + uncomment "\\[shell\\]" weston.ini + uncomment "size=1920x1080" weston.ini + ;; + esac + if "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'true', 'false', d)}"; then + uncomment "xwayland=true" weston.ini + fi + cd - + fi + + if [ -f ${WORKDIR}/weston.config ]; then + install -Dm0755 ${WORKDIR}/weston.config ${D}${sysconfdir}/default/weston + fi +}