1 DESCRIPTION = "Userspace framebuffer boot logo based on usplash."
2 HOMEPAGE = "http://projects.o-hand.com/psplash"
5 RDEPENDS = "initscripts"
6 PROVIDES = "virtual/psplash"
7 RPROVIDES_${PN} = "virtual-psplash"
8 RCONFLICTS_${PN} = "exquisite"
11 PV = "0.0+svnr${SRCPV}"
14 # You can create your own pslash-hand-img.h by doing
15 # ./make-image-header.sh <file>.png HAND
16 # and rename the resulting .h to pslash-hand-img.h (for the logo)
17 # respectively psplash-bar-img.h (BAR) for the bar.
18 # You might also want to patch the colors (see patch)
20 inherit autotools pkgconfig update-rc.d
22 do_configure_append() {
23 if [ -e "${WORKDIR}/psplash-hand-img.h" ]; then
24 install -m 0644 ${WORKDIR}/psplash-hand-img.h ${S}/
27 if [ -e "${WORKDIR}/psplash-poky-img.h" ]; then
28 install -m 0644 ${WORKDIR}/psplash-poky-img.h ${S}/
31 if [ -e "${WORKDIR}/psplash-bar-img.h" ]; then
32 install -m 0644 ${WORKDIR}/psplash-bar-img.h ${S}/
35 if [ -e "${WORKDIR}/psplash-poky2-img.h" ]; then
36 install -m 0644 ${WORKDIR}/psplash-poky2-img.h ${S}/
39 if [ -e "${WORKDIR}/psplash.h" ]; then
40 install -m 0644 ${WORKDIR}/psplash.h ${S}/
44 do_install_prepend() {
45 install -d ${D}/mnt/.splash/
46 install -d ${D}${sysconfdir}/default/
47 install -m 0644 ${WORKDIR}/psplash-default ${D}${sysconfdir}/default/psplash
48 install -d ${D}${sysconfdir}/init.d/
49 install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash
50 install -d ${D}${bindir}
51 ln -s psplash-write ${D}${bindir}/splash-write
52 install -d ${D}${sysconfdir}/default
53 install -m 0755 ${WORKDIR}/splashfuncs ${D}${sysconfdir}/default/splashfuncs
56 INITSCRIPT_NAME = "psplash"
57 INITSCRIPT_PARAMS = "start 01 S . stop 32 0 1 6 ."
59 PACKAGES =+ "psplash-support"
61 RDEPENDS_${PN} += "psplash-support"
62 FILES_psplash-support += "/mnt/.splash ${sysconfdir} ${bindir}/psplash-write ${bindir}/splash-write"