summaryrefslogtreecommitdiff
path: root/recipes/shr/shr-splash_git.bb
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2009-09-22 13:59:02 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2009-09-22 14:18:20 +0000
commit4cee685cd690316111cbdc02043747b57fff40a7 (patch)
treeb510095088c631150f4a55bf08b5130f647755f2 /recipes/shr/shr-splash_git.bb
parentc5563c00d67e73b3f2d06a229758bfcda6952dab (diff)
shr-splash*: Different splash themes (from SHR)
Diffstat (limited to 'recipes/shr/shr-splash_git.bb')
-rw-r--r--recipes/shr/shr-splash_git.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/shr/shr-splash_git.bb b/recipes/shr/shr-splash_git.bb
new file mode 100644
index 0000000000..1ce7373e82
--- /dev/null
+++ b/recipes/shr/shr-splash_git.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "SHR splash screen"
+SECTION = "x11/data"
+LICENSE = "MIT BSD"
+PV = "1.2-gitr${SRCREV}"
+PR = "r4"
+RRECOMMENDS_${PN} += "\
+ virtual/shr-splash-theme"
+
+inherit update-rc.d
+
+SRC_URI = "git://git.shr-project.org/repo/shr.git;protocol=http;branch=master"
+
+S = "${WORKDIR}/git/${PN}"
+
+FILES_${PN} = "${datadir}/shr-splash \
+ ${sysconfdir}/init.d/shr-splash.sh \
+"
+
+do_install() {
+ install -d ${D}${datadir}/shr-splash
+ install -d ${D}${datadir}/shr-splash/themes
+ install -d ${D}${sysconfdir}/init.d
+
+ install -m 0755 ${S}/shr-splash.sh ${D}${sysconfdir}/init.d/shr-splash.sh
+
+}
+
+pkg_postinst() {
+ [ -e ${datadir}/pixmaps/xsplash-vga.ppm ] || ln -s ${datadir}/shr-splash/theme/xsplash-vga.ppm ${datadir}/pixmaps/xsplash-vga.ppm
+}
+
+
+INITSCRIPT_NAME = "shr-splash.sh"
+INITSCRIPT_PARAMS = "start 01 S . stop 21 0 1 6 ."