aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-opie
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-09-18 14:10:42 +0400
committerPaul Eggleton <paul.eggleton@linux.intel.com>2011-09-18 14:04:52 +0100
commit82f4cfcd1899c894e2bccbce4705380b98280c46 (patch)
treef51a416357929746487175ff5b93b6cbbd347a46 /recipes-opie
parent577605ac28b07be41b5a10171608c0b0940bca91 (diff)
downloadmeta-opie-82f4cfcd1899c894e2bccbce4705380b98280c46.tar.gz
task-opie: provide defaults for screen resolution
Some machine confg files (most notably qemuarm) do not provide MACHINE_DISPLAY_WIDTH/HEIGHT_PIXELS values. Provide sane (QVGA) defaults for those variables, as they are currently used only to select taskbar images packet. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-opie')
-rw-r--r--recipes-opie/tasks/task-opie.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-opie/tasks/task-opie.bb b/recipes-opie/tasks/task-opie.bb
index 41d61dc..e4073ef 100644
--- a/recipes-opie/tasks/task-opie.bb
+++ b/recipes-opie/tasks/task-opie.bb
@@ -31,6 +31,8 @@ PACKAGES += "task-opie-everything"
RDEPENDS_task-opie-base = "opie-init opie-alarm opie-qcop opie-qss opie-quicklauncher \
opie-taskbar opie-pics opie-sounds opie-freetype \
ttf-dejavu-sans ttf-dejavu-sans-mono"
+MACHINE_DISPLAY_WIDTH_PIXELS ?= "320"
+MACHINE_DISPLAY_HEIGHT_PIXELS ?= "240"
# Recommend both landscape and portrait backgrounds
RRECOMMENDS_task-opie-base = "opie-taskbar-images-${MACHINE_DISPLAY_WIDTH_PIXELS}x${MACHINE_DISPLAY_HEIGHT_PIXELS} \
opie-taskbar-images-${MACHINE_DISPLAY_HEIGHT_PIXELS}x${MACHINE_DISPLAY_WIDTH_PIXELS}"