weston-conf.bb 771 B

1234567891011121314151617181920212223242526272829303132333435
  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. PACKAGE_ARCH = "${MACHINE_ARCH}"
  6. CONFFILES_${PN} = "${sysconfdir}/xdg/weston/weston.ini"
  7. FILES_${PN} = "${sysconfdir}/xdg/weston/weston.ini"
  8. PACKAGES = "${PN}"
  9. do_configure[noexec] = '1'
  10. do_compile[noexec] = '1'
  11. do_install() {
  12. :
  13. }
  14. do_install_qemux86() {
  15. mkdir -p ${D}/${sysconfdir}/xdg/weston
  16. cat << EOF > ${D}/${sysconfdir}/xdg/weston/weston.ini
  17. [core]
  18. backend=fbdev-backend.so
  19. EOF
  20. }
  21. do_install_qemux86-64() {
  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. }