blob: 3e81a4ec570bad2403859b590a0a353876455605 (
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
|
SUMMARY = "Scripts to enable the LVDS converter on Apalis T30"
LICENSE = "PD"
SRC_URI = " \
file://lvds-dual-channel.sh \
file://lvds-single-channel.sh \
file://lvds-single-channel-24bit-mode2.sh \
file://COPYING \
"
LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING;md5=1c3a7fb45253c11c74434676d84fe7dd"
do_install () {
install -d ${D}/${bindir}
install -m 0755 ${WORKDIR}/*.sh ${D}/${bindir}
}
pkg_postinst_ontarget_${PN}() {
mkdir -p ${sysconfdir}/xdg/lxsession/LXDE
echo "${bindir}/lvds-single-channel-24bit-mode2.sh" >> ${sysconfdir}/xdg/lxsession/LXDE/autostart
}
pkg_postrm_${PN}() {
sed -i lvds-single-channel-24bit-mode2.sh/d ${sysconfdir}/xdg/lxsession/LXDE/autostart || true
}
|