summaryrefslogtreecommitdiff
path: root/recipes/shr/shr-splash-theme.inc
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-theme.inc
parentc5563c00d67e73b3f2d06a229758bfcda6952dab (diff)
shr-splash*: Different splash themes (from SHR)
Diffstat (limited to 'recipes/shr/shr-splash-theme.inc')
-rw-r--r--recipes/shr/shr-splash-theme.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/shr/shr-splash-theme.inc b/recipes/shr/shr-splash-theme.inc
new file mode 100644
index 0000000000..50e62bcb7e
--- /dev/null
+++ b/recipes/shr/shr-splash-theme.inc
@@ -0,0 +1,23 @@
+RPROVIDES_${PN} = "virtual/shr-splash-theme"
+RDEPENDS += "shr-splash"
+
+inherit update-alternatives
+
+FILES_${PN} = "${datadir}/shr-splash/themes/${PN}"
+
+ALTERNATIVE_NAME = "shr-splash-theme"
+ALTERNATIVE_LINK = "${datadir}/shr-splash/theme"
+ALTERNATIVE_PATH = "${datadir}/shr-splash/themes/${PN}"
+ALTERNATIVE_PRIORITY ?= 1
+
+do_install() {
+ install -d ${D}${datadir}/shr-splash/themes/${PN}
+
+ install -m 0644 ${S}/xsplash-vga.ppm ${D}${datadir}/shr-splash/themes/${PN}/xsplash-vga.ppm
+ install -m 0644 ${S}/boot.fbz ${D}${datadir}/shr-splash/themes/${PN}/boot.fbz
+ install -m 0644 ${S}/shutdown.fbz ${D}${datadir}/shr-splash/themes/${PN}/shutdown.fbz
+ install -m 0644 ${S}/name ${D}${datadir}/shr-splash/themes/${PN}/name
+ install -m 0644 ${S}/author ${D}${datadir}/shr-splash/themes/${PN}/author
+ install -m 0644 ${S}/preview.png ${D}${datadir}/shr-splash/themes/${PN}/preview.png
+}
+