X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-graphics%2Fwayland%2Fweston-ini-conf.bbappend;h=2f155c022295692be07265c7ab9f0f1de9cc810c;hb=refs%2Fchanges%2F35%2F12335%2F2;hp=b79c526080a27fe71737e1bfa9850a9d3ae56fb0;hpb=726fdfebd33e0c2d000c68db3f5495fffb50af2a;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-graphics/wayland/weston-ini-conf.bbappend b/recipes-graphics/wayland/weston-ini-conf.bbappend index b79c52608..2f155c022 100644 --- a/recipes-graphics/wayland/weston-ini-conf.bbappend +++ b/recipes-graphics/wayland/weston-ini-conf.bbappend @@ -1,6 +1,15 @@ -WESTONCORE[shell] ??= "ivi-shell.so" +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -WESTONIVISHELL[ivi-module] ??= "ivi-controller.so" -WESTONIVISHELL[ivi-input-module] ??= "ivi-input-controller.so" +# +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 +} -WESTONSECTION[WESTONIVISHELL] = "ivi-shell"