mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
Weston needs to be configured to load the fbdev driver when run on a QEMU system. Other MACHINEs may want to also provider their own configuration as well.. Adding a new RRECOMMEND configuration package will allow this, but avoid installing empty packages/files in the majority case where it is not needed. Add maintainer entry as well. (From OE-Core rev: 0f43ea8510ae6148a49eb25accac407b6b301b43) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
36 lines
771 B
BlitzBasic
36 lines
771 B
BlitzBasic
SUMMARY = "Weston, a Wayland compositor, configuration files"
|
|
HOMEPAGE = "http://wayland.freedesktop.org"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
CONFFILES_${PN} = "${sysconfdir}/xdg/weston/weston.ini"
|
|
|
|
FILES_${PN} = "${sysconfdir}/xdg/weston/weston.ini"
|
|
|
|
PACKAGES = "${PN}"
|
|
|
|
do_configure[noexec] = '1'
|
|
do_compile[noexec] = '1'
|
|
|
|
do_install() {
|
|
:
|
|
}
|
|
|
|
do_install_qemux86() {
|
|
mkdir -p ${D}/${sysconfdir}/xdg/weston
|
|
cat << EOF > ${D}/${sysconfdir}/xdg/weston/weston.ini
|
|
[core]
|
|
backend=fbdev-backend.so
|
|
EOF
|
|
}
|
|
|
|
do_install_qemux86-64() {
|
|
mkdir -p ${D}/${sysconfdir}/xdg/weston
|
|
cat << EOF > ${D}/${sysconfdir}/xdg/weston/weston.ini
|
|
[core]
|
|
backend=fbdev-backend.so
|
|
EOF
|
|
}
|