Use flutter-auto activation area support
[AGL/meta-agl-demo.git] / recipes-graphics / wayland / weston-ini-conf_agldemo.inc
1 FILESEXTRAPATHS:prepend := "${THISDIR}/weston-ini-conf:"
2
3 SRC_URI += "file://weston.ini.kvm.in"
4
5 GUEST_VM1_IMAGE ?= "agl-ivi-demo-platform-flutter"
6 GUEST_VM2_IMAGE ?= "agl-cluster-demo-platform-flutter"
7
8 do_compile:append() {
9     # Start with a canned configuration for a KVM host, filling in
10     # the guest VM application ids to pin them to specific outputs.
11     rm -f ${WORKDIR}/weston.ini.kvm
12     sed -e "s/@GUEST_VM1_IMAGE@/${GUEST_VM1_IMAGE}/g" \
13         -e "s/@GUEST_VM2_IMAGE@/${GUEST_VM2_IMAGE}/g" \
14         ${WORKDIR}/weston.ini.kvm.in > ${WORKDIR}/weston.ini.kvm
15 }
16
17 do_install:append() {
18     install -m 0644 ${WORKDIR}/weston.ini.kvm ${D}${weston_ini_dir}/
19 }
20
21 PACKAGE_BEFORE_PN += "${PN}-kvm"
22
23 FILES:${PN}-kvm = "${weston_ini_dir}/weston.ini.kvm"
24
25 RPROVIDES:${PN}-kvm = "weston-ini"
26 RCONFLICTS:${PN}-kvm = "${PN}"
27 ALTERNATIVE:${PN}-kvm = "weston.ini"
28 ALTERNATIVE_TARGET_${PN}-kvm = "${weston_ini_dir}/weston.ini.kvm"