aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-opie/opie-taskbar/opie-taskbar-images.inc
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-08-16 19:32:21 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2011-08-20 00:26:38 +0100
commit4f596081951d251474545009a3083833edafca86 (patch)
tree738064cff4a78aceb2e52e93868dc32fb58727a0 /recipes-opie/opie-taskbar/opie-taskbar-images.inc
parent1f31484b058712f0a4f98e92231cbaf9882c9a80 (diff)
downloadmeta-opie-4f596081951d251474545009a3083833edafca86.tar.gz
opie-taskbar-images: fix indentation
No functional changes, only whitespace. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-opie/opie-taskbar/opie-taskbar-images.inc')
-rw-r--r--recipes-opie/opie-taskbar/opie-taskbar-images.inc38
1 files changed, 19 insertions, 19 deletions
diff --git a/recipes-opie/opie-taskbar/opie-taskbar-images.inc b/recipes-opie/opie-taskbar/opie-taskbar-images.inc
index 7ee1d8b..be0fe42 100644
--- a/recipes-opie/opie-taskbar/opie-taskbar-images.inc
+++ b/recipes-opie/opie-taskbar/opie-taskbar-images.inc
@@ -35,33 +35,33 @@ do_configure() {
}
do_install() {
- install -d ${D}${palmtopdir}/pics/launcher
+ install -d ${D}${palmtopdir}/pics/launcher
- install -m 0644 ${WORKDIR}/pics/launcher/firstuse.jpg ${D}${palmtopdir}/pics/launcher/firstuse-240x320.jpg
- install -m 0644 ${WORKDIR}/pics/launcher/opie-background.jpg ${D}${palmtopdir}/pics/launcher/opie-background-240x320.jpg
+ install -m 0644 ${WORKDIR}/pics/launcher/firstuse.jpg ${D}${palmtopdir}/pics/launcher/firstuse-240x320.jpg
+ install -m 0644 ${WORKDIR}/pics/launcher/opie-background.jpg ${D}${palmtopdir}/pics/launcher/opie-background-240x320.jpg
# for res in 320x240 240x320 320x320 320x480 480x320 480x640 640x480 600x800 800x600; do
for res in 240x240 320x320 320x480 480x320 480x640 640x480 800x600; do
- install -m 0644 ${WORKDIR}/pics/launcher/firstuse-${res}.jpg ${D}${palmtopdir}/pics/launcher/firstuse-${res}.jpg
- install -m 0644 ${WORKDIR}/pics/launcher/opie-background-${res}.jpg ${D}${palmtopdir}/pics/launcher/opie-background-${res}.jpg
+ install -m 0644 ${WORKDIR}/pics/launcher/firstuse-${res}.jpg ${D}${palmtopdir}/pics/launcher/firstuse-${res}.jpg
+ install -m 0644 ${WORKDIR}/pics/launcher/opie-background-${res}.jpg ${D}${palmtopdir}/pics/launcher/opie-background-${res}.jpg
done
}
python do_package_prepend () {
- reslist = ['240x320','320x240', '320x320', '320x480', '480x320', '480x640','640x480', '800x600','600x800']
- dir = bb.data.expand('${palmtopdir}/pics/launcher/', d)
- ft = bb.data.expand('${palmtopdir}/pics/*/*-%s.*', d)
- pn = bb.data.getVar('PN', d, 1)
- for res in reslist:
- bb.data.setVar('FILES_%s-%s' % (pn,res), ft % res, d )
- postinst = ''
- postinst = 'update-alternatives --install %sfirstuse.jpg opie-firstuse-pixmap %sfirstuse-%s.jpg 50\n' % (dir,dir,res)
- postinst += 'update-alternatives --install %sopie-background.jpg opie-background-pixmap %sopie-background-%s.jpg 50\n' % (dir,dir,res)
- bb.data.setVar('pkg_postinst_%s-%s' % (pn,res),postinst, d)
- prerm = ''
- prerm = 'update-alternatives --remove opie-firstuse-pixmap %sfirstuse-%s.jpg 50\n' % (dir,res)
- prerm += 'update-alternatives --remove opie-background-pixmap %sopie-background-%s.jpg 50\n' % (dir,res)
- bb.data.setVar('pkg_prerm_%s-%s' % (pn,res),prerm, d)
+ reslist = ['240x320','320x240', '320x320', '320x480', '480x320', '480x640','640x480', '800x600','600x800']
+ dir = bb.data.expand('${palmtopdir}/pics/launcher/', d)
+ ft = bb.data.expand('${palmtopdir}/pics/*/*-%s.*', d)
+ pn = bb.data.getVar('PN', d, 1)
+ for res in reslist:
+ bb.data.setVar('FILES_%s-%s' % (pn,res), ft % res, d )
+ postinst = ''
+ postinst = 'update-alternatives --install %sfirstuse.jpg opie-firstuse-pixmap %sfirstuse-%s.jpg 50\n' % (dir,dir,res)
+ postinst += 'update-alternatives --install %sopie-background.jpg opie-background-pixmap %sopie-background-%s.jpg 50\n' % (dir,dir,res)
+ bb.data.setVar('pkg_postinst_%s-%s' % (pn,res),postinst, d)
+ prerm = ''
+ prerm = 'update-alternatives --remove opie-firstuse-pixmap %sfirstuse-%s.jpg 50\n' % (dir,res)
+ prerm += 'update-alternatives --remove opie-background-pixmap %sopie-background-%s.jpg 50\n' % (dir,res)
+ bb.data.setVar('pkg_prerm_%s-%s' % (pn,res),prerm, d)
}
PACKAGE_ARCH = "all"