1 DESCRIPTION = "Userspace framebuffer boot logo based on usplash."
2 HOMEPAGE = "http://projects.o-hand.com/psplash"
5 PROVIDES = "virtual/psplash"
6 RPROVIDES_${PN} = "virtual-psplash"
7 RCONFLICTS_${PN} = "exquisite"
10 PV = "0.0+svnr${SRCPV}"
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)
19 inherit autotools pkgconfig update-rc.d
21 do_configure_append() {
22 install -m 0644 ${WORKDIR}/psplash-poky-img.h ${S}/
23 install -m 0644 ${WORKDIR}/psplash-bar-img.h ${S}/
25 if [ -e "${WORKDIR}/psplash.h" ]; then
26 install -m 0644 ${WORKDIR}/psplash.h ${S}/
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
42 INITSCRIPT_NAME = "psplash"
43 INITSCRIPT_PARAMS = "start 01 S . stop 20 0 1 6 ."
45 PACKAGES =+ "psplash-support"
47 RDEPENDS_${PN} += "psplash-support"
48 FILES_psplash-support += "/mnt/.splash ${sysconfdir} ${bindir}/psplash-write ${bindir}/splash-write"