aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston-ini-conf.bbappend
blob: 2f155c022295692be07265c7ab9f0f1de9cc810c (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
}