summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
#