summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/recipes-graphics/wayland/weston_%.bbappend
blob: b117ada469377f26f22158cc77131af40c54d622 (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
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"

RDEPENDS_${PN}_append_qemux86 = " mesa-megadriver"
RDEPENDS_${PN}_append_qemux86-64 = " mesa-megadriver"
RDEPENDS_${PN}_append_intel-corei7-64 = " mesa-megadriver"

# OVERRIDES save us some c'n'p below ...
OVERRIDES_prepend_qemux86 = "customwestonini:"
OVERRIDES_prepend_qemux86-64 = "customwestonini:"
# intel-corei7-64 ??

SRC_URI_append_customwestonini = "\
    file://weston-qemu-drm.ini \
    "

do_install_append_customwestonini() {
    WESTON_CONFIG_DIR=${sysconfdir}/xdg/weston
    install -d ${D}${WESTON_CONFIG_DIR}
    install -m 0644 ${WORKDIR}/weston-qemu-drm.ini ${D}${WESTON_CONFIG_DIR}/weston.ini
}

FILES_${PN}_append_customwestonini = " \
    ${sysconfdir}/xdg/weston/weston.ini \
    "