]> git.kernelconcepts.de Git - meta-kc-bsp.git/blob - recipes-bsp/psplash/psplash.inc
meta-environment: Add bbappend to supply BSP specific settings
[meta-kc-bsp.git] / recipes-bsp / psplash / psplash.inc
1 DESCRIPTION = "Userspace framebuffer boot logo based on usplash."
2 HOMEPAGE = "http://projects.o-hand.com/psplash"
3 SECTION = "base"
4 LICENSE = "GPLv2+"
5 PROVIDES = "virtual/psplash"
6 RPROVIDES_${PN} = "virtual-psplash"
7 RCONFLICTS_${PN} = "exquisite"
8
9 SRCREV = "422"
10 PV = "0.0+svnr${SRCPV}"
11 PR = "r34"
12
13 # You can create your own pslash-poky-img.h by doing
14 # ./make-image-header.sh <file>.png POKY
15 # and rename the resulting .h to pslash-poky-img.h (for the logo)
16 # respectively psplash-bar-img.h (BAR) for the bar.
17 # You might also want to patch the colors (see patch)
18
19 inherit autotools pkgconfig update-rc.d
20
21 do_configure_append() {
22         install -m 0644 ${WORKDIR}/psplash-poky-img.h ${S}/
23         install -m 0644 ${WORKDIR}/psplash-bar-img.h ${S}/
24
25         if [ -e "${WORKDIR}/psplash.h" ]; then
26                 install -m 0644 ${WORKDIR}/psplash.h ${S}/
27         fi
28 }
29
30 do_install_prepend() {
31         install -d ${D}/mnt/.splash/
32         install -d ${D}${sysconfdir}/default/
33         install -m 0644 ${WORKDIR}/psplash-default ${D}${sysconfdir}/default/psplash
34         install -d ${D}${sysconfdir}/init.d/
35         install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash
36         install -d ${D}${bindir}
37         ln -s psplash-write ${D}${bindir}/splash-write
38         install -d ${D}${sysconfdir}/default
39         install -m 0755 ${WORKDIR}/splashfuncs ${D}${sysconfdir}/default/splashfuncs
40 }
41
42 INITSCRIPT_NAME = "psplash"
43 INITSCRIPT_PARAMS = "start 01 S . stop 20 0 1 6 ."
44
45 PACKAGES =+ "psplash-support"
46
47 RDEPENDS_${PN} += "psplash-support"
48 FILES_psplash-support += "/mnt/.splash ${sysconfdir} ${bindir}/psplash-write ${bindir}/splash-write"