[oe-commits] Sebastian Krzyszkowiak : shr-splash-theme.inc: support splashes for different machines
git version control
git at git.openembedded.org
Sun Sep 12 14:36:20 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 662ace1da0875f0618032991c9ff3e1c88e37993
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=662ace1da0875f0618032991c9ff3e1c88e37993
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Fri Sep 10 19:35:54 2010 +0000
shr-splash-theme.inc: support splashes for different machines
Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>
---
recipes/shr/shr-splash-theme.inc | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/recipes/shr/shr-splash-theme.inc b/recipes/shr/shr-splash-theme.inc
index 63e275f..f518991 100644
--- a/recipes/shr/shr-splash-theme.inc
+++ b/recipes/shr/shr-splash-theme.inc
@@ -4,19 +4,23 @@ inherit update-alternatives
FILES_${PN} = "${datadir}/shr-splash/themes/${PN}"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
ALTERNATIVE_NAME = "shr-splash-theme"
ALTERNATIVE_LINK = "${datadir}/shr-splash/theme"
ALTERNATIVE_PATH = "${datadir}/shr-splash/themes/${PN}"
ALTERNATIVE_PRIORITY ?= 1
+SS ?= "${S}"
+
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 ${SS}/xsplash-vga.ppm ${D}${datadir}/shr-splash/themes/${PN}/xsplash-vga.ppm
+ install -m 0644 ${SS}/boot.fbz ${D}${datadir}/shr-splash/themes/${PN}/boot.fbz
+ install -m 0644 ${SS}/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
+ install -m 0644 ${SS}/preview.png ${D}${datadir}/shr-splash/themes/${PN}/preview.png
}
More information about the Openembedded-commits
mailing list