summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-03-21 00:49:29 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-21 00:49:29 +0000
commit748de28022afb7e6d35ab98d53660203406ff111 (patch)
tree0709180421a64af48374873440dae8a07bbf5b1c
parenta7e76fad110067ed46b708ce099b18b5161e6e7c (diff)
parent4d265c0aba835e1833d631154718ddcefe60faee (diff)
merge of 61685483d439c8fa8ae72f891a69b446c143d5a7
and b08f63739476538bba8a26df42863f10c88eb335
-rw-r--r--packages/gpe-bootsplash/gpe-bootsplash-theme-e.bb15
-rw-r--r--packages/gpe-bootsplash/gpe-bootsplash-theme-opie.bb15
2 files changed, 16 insertions, 14 deletions
diff --git a/packages/gpe-bootsplash/gpe-bootsplash-theme-e.bb b/packages/gpe-bootsplash/gpe-bootsplash-theme-e.bb
index e95c09b3e8..5eeee0fffa 100644
--- a/packages/gpe-bootsplash/gpe-bootsplash-theme-e.bb
+++ b/packages/gpe-bootsplash/gpe-bootsplash-theme-e.bb
@@ -3,20 +3,19 @@ SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Matthias 'CoreDump' Hentges <oe@hentges.net>"
LICENSE = "GPL"
-
DEPENDS = "gpe-bootsplash"
RDEPENDS = "gpe-bootsplash"
-
-PR = "r0"
+PR = "r1"
export THEME = "e"
-SRC_URI = "file://*.svg"
-
-FILES_${PN} = "/usr/share/gpe/splash-${THEME}-*"
+SRC_URI = "file://splash-e-portrait.svg \
+ file://splash-e-landscape.svg"
+#FIXME: Please use $datadir instead of /usr/share
+#FIXME: please use an gpe-bootsplash-theme.inc to reduce duplication
-do_install(){
+do_install() {
install -d "${D}/usr/share/gpe"
install -m 0644 ${WORKDIR}/splash-${THEME}* ${D}/usr/share/gpe
}
@@ -30,3 +29,5 @@ pkg_postrm() {
update-alternatives --remove bootsplash-l /usr/share/gpe/splash-${THEME}-landscape.svg
update-alternatives --remove bootsplash-p /usr/share/gpe/splash-${THEME}-portrait.svg
}
+
+FILES_${PN} = "/usr/share/gpe/splash-${THEME}-*"
diff --git a/packages/gpe-bootsplash/gpe-bootsplash-theme-opie.bb b/packages/gpe-bootsplash/gpe-bootsplash-theme-opie.bb
index dff92e75c3..9aa2e9bc00 100644
--- a/packages/gpe-bootsplash/gpe-bootsplash-theme-opie.bb
+++ b/packages/gpe-bootsplash/gpe-bootsplash-theme-opie.bb
@@ -3,20 +3,17 @@ SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Matthias 'CoreDump' Hentges <oe@hentges.net>"
LICENSE = "GPL"
-
DEPENDS = "gpe-bootsplash"
RDEPENDS = "gpe-bootsplash"
-
-PR = "r0"
+PR = "r1"
export THEME = "opie"
SRC_URI = "file://*.svg \
- file://*${THEME}*logo*"
-
-FILES_${PN} = "/usr/share/gpe/splash-${THEME}-*\
- /usr/share/gpe/${THEME}-logo.png"
+ file://*${THEME}*logo*"
+#FIXME: please use $datadir instead of /usr/share
+#FIXME: please use an gpe-bootsplash-theme.inc to reduce duplication
do_install(){
install -d "${D}/usr/share/gpe"
@@ -33,3 +30,7 @@ pkg_postrm() {
update-alternatives --remove bootsplash-l /usr/share/gpe/splash-${THEME}-landscape.svg
update-alternatives --remove bootsplash-p /usr/share/gpe/splash-${THEME}-portrait.svg
}
+
+FILES_${PN} = "/usr/share/gpe/splash-${THEME}-* \
+ /usr/share/gpe/${THEME}-logo.png"
+