SUMMARY = "Startup script and systemd unit file for the Weston Wayland compositor" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRC_URI = "file://core.cfg \ file://shell.cfg \ file://hdmi-a-1-270.cfg \ " # cluster and html5-landscape # core, shell, hdmi-a-1-180.cfg, virtual-landscape.cfg SRC_URI_remove_landscape = " \ file://hdmi-a-1-270.cfg \ file://hdmi-a-1-90.cfg \ file://virtual.cfg \ " SRC_URI_append_landscape = " \ file://hdmi-a-1-180.cfg \ file://virtual-landscape.cfg \ " S = "${WORKDIR}" PACKAGE_ARCH = "${MACHINE_ARCH}" do_compile() { # Put all of our cfg files together. rm -f ${WORKDIR}/weston.ini for F in ${WORKDIR}/*.cfg; do cat $F >> ${WORKDIR}/weston.ini echo >> ${WORKDIR}/weston.ini done sed -i -e '$ d' ${WORKDIR}/weston.ini } do_install_append() { WESTON_INI_CONFIG=${sysconfdir}/xdg/weston install -d ${D}${WESTON_INI_CONFIG} install -m 0644 ${WORKDIR}/weston.ini ${D}${WESTON_INI_CONFIG}/weston.ini }