aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical/recipes-graphics/wayland/weston-ini-conf.bbappend
blob: d778459f2ac7577415afcc83b48c83b0dec0eed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

#
SRC_URI += "${@bb.utils.contains("DISTRO_FEATURES", "virtual-display", "file://virtualoutput.cfg", "",d)}"

do_configure_append() {
    if ${@bb.utils.contains('DISTRO_FEATURES', 'virtual-display', 'true', 'false', d)}; then
        echo virtual=1 >> ${WORKDIR}/core.cfg
    fi

    if ${@bb.utils.contains('DISTRO_FEATURES', 'gst-record', 'true', 'false', d)}; then
	echo recorder=true >> ${WORKDIR}/virtualoutput.cfg
    fi
}