[oe-commits] Stefan Schmidt : shr-splash*: Different splash themes (from SHR)
git version control
git at git.openembedded.org
Tue Sep 22 14:18:33 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 4cee685cd690316111cbdc02043747b57fff40a7
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4cee685cd690316111cbdc02043747b57fff40a7
Author: Stefan Schmidt <stefan at datenfreihafen.org>
Date: Tue Sep 22 13:59:02 2009 +0000
shr-splash*: Different splash themes (from SHR)
---
recipes/shr/shr-splash-theme-dontpanic_git.bb | 10 +++++++
recipes/shr/shr-splash-theme-handy_git.bb | 10 +++++++
recipes/shr/shr-splash-theme-niebiee_git.bb | 11 ++++++++
recipes/shr/shr-splash-theme-simple_git.bb | 13 +++++++++
recipes/shr/shr-splash-theme.inc | 23 +++++++++++++++++
recipes/shr/shr-splash_git.bb | 34 +++++++++++++++++++++++++
6 files changed, 101 insertions(+), 0 deletions(-)
diff --git a/recipes/shr/shr-splash-theme-dontpanic_git.bb b/recipes/shr/shr-splash-theme-dontpanic_git.bb
new file mode 100644
index 0000000..4bf41fb
--- /dev/null
+++ b/recipes/shr/shr-splash-theme-dontpanic_git.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "SHR splash screen - DON'T PANIC theme"
+SECTION = "x11/data"
+LICENSE = "MIT BSD"
+PV = "1.2-gitr${SRCREV}"
+PR = "r6"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+S = "${WORKDIR}/git/shr-splash/${PN}"
+
+require shr-splash-theme.inc
diff --git a/recipes/shr/shr-splash-theme-handy_git.bb b/recipes/shr/shr-splash-theme-handy_git.bb
new file mode 100644
index 0000000..773d4f1
--- /dev/null
+++ b/recipes/shr/shr-splash-theme-handy_git.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "SHR splash screen - handy theme"
+SECTION = "x11/data"
+LICENSE = "MIT BSD"
+PV = "1.2-gitr${SRCREV}"
+PR = "r3"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+S = "${WORKDIR}/git/shr-splash/${PN}"
+
+require shr-splash-theme.inc
diff --git a/recipes/shr/shr-splash-theme-niebiee_git.bb b/recipes/shr/shr-splash-theme-niebiee_git.bb
new file mode 100644
index 0000000..40a0973
--- /dev/null
+++ b/recipes/shr/shr-splash-theme-niebiee_git.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "SHR splash screen - extremely blue Niebiee theme"
+SECTION = "x11/data"
+LICENSE = "MIT BSD"
+PV = "1.2-gitr${SRCREV}"
+PR = "r0"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+S = "${WORKDIR}/git/shr-splash/${PN}"
+
+require shr-splash-theme.inc
+
diff --git a/recipes/shr/shr-splash-theme-simple_git.bb b/recipes/shr/shr-splash-theme-simple_git.bb
new file mode 100644
index 0000000..865e18f
--- /dev/null
+++ b/recipes/shr/shr-splash-theme-simple_git.bb
@@ -0,0 +1,13 @@
+DESCRIPTION = "SHR splash screen - simple SHR theme"
+SECTION = "x11/data"
+LICENSE = "MIT BSD"
+PV = "1.2-gitr${SRCREV}"
+PR = "r6"
+
+SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
+S = "${WORKDIR}/git/shr-splash/${PN}"
+
+ALTERNATIVE_PRIORITY = 2
+
+require shr-splash-theme.inc
+
diff --git a/recipes/shr/shr-splash-theme.inc b/recipes/shr/shr-splash-theme.inc
new file mode 100644
index 0000000..50e62bc
--- /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
+}
+
diff --git a/recipes/shr/shr-splash_git.bb b/recipes/shr/shr-splash_git.bb
new file mode 100644
index 0000000..1ce7373
--- /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 ."
More information about the Openembedded-commits
mailing list