Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Weston, a Wayland compositor, configuration files" |
| 2 | HOMEPAGE = "http://wayland.freedesktop.org" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
| 5 | |
| 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 7 | |
| 8 | CONFFILES_${PN} = "${sysconfdir}/xdg/weston/weston.ini" |
| 9 | |
| 10 | FILES_${PN} = "${sysconfdir}/xdg/weston/weston.ini" |
| 11 | |
| 12 | PACKAGES = "${PN}" |
| 13 | |
| 14 | do_configure[noexec] = '1' |
| 15 | do_compile[noexec] = '1' |
| 16 | |
| 17 | do_install() { |
| 18 | : |
| 19 | } |
| 20 | |
| 21 | do_install_qemux86() { |
| 22 | mkdir -p ${D}/${sysconfdir}/xdg/weston |
| 23 | cat << EOF > ${D}/${sysconfdir}/xdg/weston/weston.ini |
| 24 | [core] |
| 25 | backend=fbdev-backend.so |
| 26 | EOF |
| 27 | } |
| 28 | |
| 29 | do_install_qemux86-64() { |
| 30 | mkdir -p ${D}/${sysconfdir}/xdg/weston |
| 31 | cat << EOF > ${D}/${sysconfdir}/xdg/weston/weston.ini |
| 32 | [core] |
| 33 | backend=fbdev-backend.so |
| 34 | EOF |
| 35 | } |