summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-09-02 14:40:26 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-09-02 14:40:26 +0000
commit5c8c0615198add456cd3a79c6e68ecbdf279f75f (patch)
treef44a054dc85b2ffcb7ca8a3e7efc95875dcd8bd3
parente6224d7481d6fcf811cf1b2788baac9ff17077a6 (diff)
task-openmoko: pragmatic approach to choosing themes
-rw-r--r--packages/tasks/task-openmoko.bb15
1 files changed, 13 insertions, 2 deletions
diff --git a/packages/tasks/task-openmoko.bb b/packages/tasks/task-openmoko.bb
index 3616d843e2..f28589b6b7 100644
--- a/packages/tasks/task-openmoko.bb
+++ b/packages/tasks/task-openmoko.bb
@@ -68,14 +68,25 @@ RDEPENDS_task-openmoko-ui = "\
settings-daemon \
\
openmoko-session2 \
- openmoko-theme-standard2 \
- openmoko-icon-theme-standard2 \
openmoko-sound-system \
openmoko-sound-theme-standard \
neod \
gpe-scap \
"
+# handle theming. FIXME: properly use machine database in a smart way,
+# taking into account not only size but also PPI! Ultimately this might
+# need recomputing some theme files and images on-the-fly :/ SVG and logical
+# theme description anyone?
+THEMES = "openmoko-icon-theme-standard2 openmoko-theme-standard2"
+THEMES_a780 = "openmoko-icon-theme-standard2 openmoko-theme-standard2-qvga"
+THEMES_e680 = "openmoko-icon-theme-standard2 openmoko-theme-standard2-qvga"
+THEMES_a1200 = "openmoko-icon-theme-standard2 openmoko-theme-standard2-qvga"
+THEMES_rokr2 = "openmoko-icon-theme-standard2 openmoko-theme-standard2-qvga"
+THEMES_rokr6 = "openmoko-icon-theme-standard2 openmoko-theme-standard2-qvga"
+
+RDEPENDS_task-openmoko-ui += "${THEMES}"
+
#
# task-openmoko-base
#