[oe-commits] Sebastian Krzyszkowiak : shr-splash-*: provide more files, change files permissions and specify prorities for alternatives
git version control
git at git.openembedded.org
Fri Jun 5 20:29:14 UTC 2009
Module: openembedded.git
Branch: shr/import
Commit: 78b8f7f61b3e3aeceb1a1d0deb467c02be9e3b84
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=78b8f7f61b3e3aeceb1a1d0deb467c02be9e3b84
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Fri Jun 5 14:30:43 2009 +0200
shr-splash-*: provide more files, change files permissions and specify prorities for alternatives
Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>
---
recipes/shr/shr-splash-theme-dontpanic_git.bb | 2 +-
recipes/shr/shr-splash-theme-simple_git.bb | 4 +++-
recipes/shr/shr-splash-theme.inc | 10 +++++++---
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/recipes/shr/shr-splash-theme-dontpanic_git.bb b/recipes/shr/shr-splash-theme-dontpanic_git.bb
index 37c1123..153a5ff 100644
--- a/recipes/shr/shr-splash-theme-dontpanic_git.bb
+++ b/recipes/shr/shr-splash-theme-dontpanic_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "SHR splash screen - DON'T PANIC theme"
SECTION = "x11/data"
LICENSE = "MIT BSD"
PV = "1.2-gitr${SRCPV}"
-PR = "r2"
+PR = "r3"
SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"
S = "${WORKDIR}/git/shr-splash/${PN}"
diff --git a/recipes/shr/shr-splash-theme-simple_git.bb b/recipes/shr/shr-splash-theme-simple_git.bb
index ffdf70a..e468a85 100644
--- a/recipes/shr/shr-splash-theme-simple_git.bb
+++ b/recipes/shr/shr-splash-theme-simple_git.bb
@@ -2,10 +2,12 @@ DESCRIPTION = "SHR splash screen - simple SHR theme"
SECTION = "x11/data"
LICENSE = "MIT BSD"
PV = "1.2-gitr${SRCPV}"
-PR = "r2"
+PR = "r3"
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
index 33c8e1b..6a0bf4b 100644
--- a/recipes/shr/shr-splash-theme.inc
+++ b/recipes/shr/shr-splash-theme.inc
@@ -8,11 +8,15 @@ 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 0755 ${S}/xsplash-vga.ppm ${D}${datadir}/shr-splash/themes/${PM}/xsplash-vga.ppm
- install -m 0755 ${S}/boot.fb ${D}${datadir}/shr-splash/themes/${PN}/boot.fb
- install -m 0755 ${S}/shutdown.fb ${D}${datadir}/shr-splash/themes/${PN}/shutdown.fb
+ install -m 0644 ${S}/xsplash-vga.ppm ${D}${datadir}/shr-splash/themes/${PM}/xsplash-vga.ppm
+ install -m 0644 ${S}/boot.fb ${D}${datadir}/shr-splash/themes/${PN}/boot.fb
+ install -m 0644 ${S}/shutdown.fb ${D}${datadir}/shr-splash/themes/${PN}/shutdown.fb
+ 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
}
More information about the Openembedded-commits
mailing list