aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/shr
diff options
context:
space:
mode:
authorKlaus Kurzmann <mok@fluxnetz.de>2009-08-16 18:06:53 +0200
committerKlaus Kurzmann <mok@fluxnetz.de>2009-08-16 18:06:53 +0200
commit1d8eafbec5a793df05bf7c8212a1e32d7531fb75 (patch)
tree02bdaae41c6f55d9ba662565b8dc2aec2f17e0b4 /recipes/shr
parent2e764cd7b774ae91523412d7d9a96a537b4188ac (diff)
downloadopenembedded-1d8eafbec5a793df05bf7c8212a1e32d7531fb75.tar.gz
shr-splash-theme: add postinst to set a link for the x splash
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
Diffstat (limited to 'recipes/shr')
-rw-r--r--recipes/shr/shr-splash-theme-dontpanic_git.bb2
-rw-r--r--recipes/shr/shr-splash-theme-handy_git.bb2
-rw-r--r--recipes/shr/shr-splash-theme-simple_git.bb2
-rw-r--r--recipes/shr/shr-splash-theme.inc4
4 files changed, 7 insertions, 3 deletions
diff --git a/recipes/shr/shr-splash-theme-dontpanic_git.bb b/recipes/shr/shr-splash-theme-dontpanic_git.bb
index 8276011aea..1efd0c396b 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 = "r5"
+PR = "r6"
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-handy_git.bb b/recipes/shr/shr-splash-theme-handy_git.bb
index b39cf84166..557a79d6ae 100644
--- a/recipes/shr/shr-splash-theme-handy_git.bb
+++ b/recipes/shr/shr-splash-theme-handy_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "SHR splash screen - handy 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 332ce15fad..7b4b9de144 100644
--- a/recipes/shr/shr-splash-theme-simple_git.bb
+++ b/recipes/shr/shr-splash-theme-simple_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "SHR splash screen - simple SHR theme"
SECTION = "x11/data"
LICENSE = "MIT BSD"
PV = "1.2-gitr${SRCPV}"
-PR = "r5"
+PR = "r6"
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.inc b/recipes/shr/shr-splash-theme.inc
index aa1278daf3..8a51ef5e66 100644
--- a/recipes/shr/shr-splash-theme.inc
+++ b/recipes/shr/shr-splash-theme.inc
@@ -20,3 +20,7 @@ do_install() {
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
}
+
+pkg_postinst() {
+ [ -e ${datadir}/pixmaps/xsplash-vga.ppm ] || ln -s ${datadir}/shr-splash/theme/xsplash-vga.ppm ${datadir}/pixmaps/xsplash-vga.ppm
+}