blob: cf9e8d564d0c719bf3cdae5b7f9bc83db7590bb3 (
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
|
PRINC = "3"
WALLPAPER-MACHINE = "Wallpaper_Toradex.png"
WALLPAPER-MACHINE_colibri-t20 = "Wallpaper_ColibriT20.png"
WALLPAPER-MACHINE_colibri-t30 = "Wallpaper_ColibriT30.png"
WALLPAPER-MACHINE_apalis-t30 = "Wallpaper_ApalisT30.png"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
SRC_URI += " \
file://autostart.patch \
file://consistent_defconfig_dirs.patch \
file://Wallpaper_Toradex.png \
file://${WALLPAPER-MACHINE} \
file://wallpaper.patch \
file://desktop.conf \
file://defaults.list \
file://hdmiaudio.sh \
file://panel-buttons.patch \
"
do_install_append () {
install -m 0755 -d ${D}/${datadir}/lxde/wallpapers
install -m 0644 ${WORKDIR}/Wallpaper*.png ${D}/${datadir}/lxde/wallpapers/
ln -sf ${WALLPAPER-MACHINE} ${D}/${datadir}/lxde/wallpapers/toradex.png
rm ${D}/etc/xdg/lxsession/LXDE/desktop.conf
install -m 0644 ${WORKDIR}/desktop.conf ${D}/etc/xdg/lxsession/LXDE/
install -m 0755 -d ${D}/${datadir}/applications/
install -m 0644 ${WORKDIR}/defaults.list ${D}/${datadir}/applications/
install -m 0755 -d ${D}/${bindir}
install -m 0755 ${WORKDIR}/hdmiaudio.sh ${D}/${bindir}/
}
|