blob: c982ed5de15922ed74680e737c572339df7e2bf2 (
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
|
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
SRC_URI_append = "\
file://0001-desktop-shell-add-option-to-avoid-creating-the-panel.patch \
file://0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch \
file://weston.service \
file://weston.ini \
"
inherit systemd
DEPENDS_append = " systemd"
do_install_append() {
mkdir -p ${D}${systemd_unitdir}/system/
cp ${WORKDIR}/weston.service ${D}${systemd_unitdir}/system/
mkdir -p ${D}${systemd_unitdir}/system/multi-user.target.wants/
ln -sf /lib/systemd/system/weston.service ${D}/${systemd_unitdir}/system/multi-user.target.wants/weston.service
WESTON_INI_CONFIG=${sysconfdir}/xdg/weston
install -d ${D}${WESTON_INI_CONFIG}
install -m 0644 ${WORKDIR}/weston.ini ${D}${WESTON_INI_CONFIG}/weston.ini
}
FILES_${PN} += " \
${systemd_unitdir}/system/* \
${sysconfdir}/xdg/weston/weston.ini \
"
|