aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-graphics/wayland/weston_8.0_appfw.inc
blob: a72f224301d2072dbd6bc5e6b77b495a7da25275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FILESEXTRAPATHS:append := ":${THISDIR}/weston"

SRC_URI:append = "\
    file://0001-Allow-regular-users-to-launch-Weston_7.0.0.patch \
    file://smack-weston \
    "

EXTRA_OEMESON:append = " -Denable-user-start=true"

do_install:append() {
    if ${@bb.utils.contains('DISTRO_FEATURES', 'smack', 'true', 'false', d)}; then
        # Install SMACK rules
        install -D -m 0644 ${WORKDIR}/smack-weston ${D}${sysconfdir}/smack/accesses.d/weston
    fi
}

FILES:${PN}:append = "\
    ${sysconfdir}/smack/accesses.d/* \
"