aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-demo/recipes-graphics/wayland/weston_1.5.0.bbappend
blob: 75f7dff62a5aa3dcd317347e57f9d3b76a81dc7c (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
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"

SRC_URI_append = " file://weston_ini.patch \
             file://weston.service \
             file://GDP_AM_Button.png \
             file://GDP_Background.png \
             file://GDP_Browser_Button.png \
             file://start_browser-poc.sh \
             file://browser_poc_hack.patch \
                 "

do_install_append() {
    install -m644 ${WORKDIR}/GDP*.png ${D}/usr/share/weston
    mkdir -p ${D}/${bindir}/
    cp ${WORKDIR}/start_browser-poc.sh ${D}/${bindir}
    mkdir -p ${D}/lib/systemd/system/
    cp ${WORKDIR}/weston.service ${D}/lib/systemd/system/
    mkdir -p ${D}/${sysconfdir}/systemd/system/multi-user.target.wants/
    ln -sf /lib/systemd/system/weston.service ${D}/${sysconfdir}/systemd/system/multi-user.target.wants/weston.service
}

FILES_${PN} += " \
                /lib/systemd/system/weston.service \
                /etc/systemd/system/multi-user.target.wants/weston.service \
               "