From 82f4cfcd1899c894e2bccbce4705380b98280c46 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Sun, 18 Sep 2011 14:10:42 +0400 Subject: 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 Signed-off-by: Paul Eggleton --- recipes-opie/tasks/task-opie.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-opie') 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}" -- cgit 1.2.3-korg