aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-lxc/recipes-graphics/wayland/weston-ini-conf-guest_0.1.bb
blob: 740fa8ff6335da777ed643112864aae683cfcdc7 (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
25
26
27
28
29
30
31
32
33
34
SUMMARY = "Configuration file for the Weston and AGL Wayland compositors for guest container"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = " \
    file://weston.default.ini \
    file://weston.cluster-guest.ini \
    file://weston.ivi-guest.ini \
"

S = "${WORKDIR}"

inherit allarch

# Default weston.ini
WESTON_INI_FILE ??= "weston.default.ini"

# Set container specific weston.ini
WESTON_INI_FILE:aglcontainercluster ?= "weston.cluster-guest.ini"
WESTON_INI_FILE:aglcontainerivi ?= "weston.ivi-guest.ini"

do_install() {
    install -D -p -m0644 ${WORKDIR}/${WESTON_INI_FILE} ${D}${sysconfdir}/xdg/weston/weston.ini
}

FILES:${PN} += " \
    ${sysconfdir}/xdg/weston/weston.ini \
    "
CONFFILES:${PN} += " \
    ${sysconfdir}/xdg/weston/weston.ini \
    "
RDEPENDS:${PN} = "weston-init-guest"
RPROVIDES:${PN} = "weston-ini"
RCONFLICTS:${PN} = "weston-ini-conf"