summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/weston-conf.bb
blob: f52200c46a4aa0bcceb8d3d52f73ee097b394a8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
}