matrix-gui-e: bump PR for init file fixes
[openembedded.git] / recipes / psplash / psplash.inc
blob3799c38b3d86e1b5207e6d84f1e341532d51d070
1 DESCRIPTION = "Userspace framebuffer boot logo based on usplash."
2 HOMEPAGE = "http://projects.o-hand.com/psplash"
3 SECTION = "base"
4 LICENSE = "GPL"
5 RDEPENDS_${PN} = "initscripts"
6 PROVIDES = "virtual/psplash"
7 RPROVIDES_${PN} = "virtual-psplash"
8 RCONFLICTS_${PN} = "exquisite"
10 SRCREV = "422"
11 PV = "0.0+svnr${SRCPV}"
12 PR = "r30"
14 # You can create your own pslash-poky-img.h by doing
15 # ./make-image-header.sh <file>.png POKY
16 # and rename the resulting .h to pslash-poky-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         install -m 0644 ${WORKDIR}/psplash-poky-img.h ${S}/
24         install -m 0644 ${WORKDIR}/psplash-bar-img.h ${S}/
26         if [ -e "${WORKDIR}/psplash.h" ]; then
27                 install -m 0644 ${WORKDIR}/psplash.h ${S}/
28         fi
31 do_install_prepend() {
32         install -d ${D}/mnt/.splash/
33         install -d ${D}${sysconfdir}/default/
34         install -m 0644 ${WORKDIR}/psplash-default ${D}${sysconfdir}/default/psplash
35         install -d ${D}${sysconfdir}/init.d/
36         install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash
37         install -d ${D}${bindir}
38         ln -s psplash-write ${D}${bindir}/splash-write
39         install -d ${D}${sysconfdir}/default
40         install -m 0755 ${WORKDIR}/splashfuncs ${D}${sysconfdir}/default/splashfuncs
43 INITSCRIPT_NAME = "psplash"
44 INITSCRIPT_PARAMS = "start 01 S . stop 20 0 1 6 ."
46 PACKAGES =+ "psplash-support"
48 RDEPENDS_${PN} += "psplash-support"
49 FILES_psplash-support += "/mnt/.splash ${sysconfdir} ${bindir}/psplash-write ${bindir}/splash-write"