diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-13 22:49:41 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-15 16:23:17 +0200 |
commit | a45830a39bb47a9eab27980d52966226c9504ea4 (patch) | |
tree | 001209d9740e8668b2eeeac4212b3561aecebf29 /meta-oe/recipes-support/maliit | |
parent | 6f48cf899aed0622f8fb26ffa144656a1143c9c5 (diff) | |
download | meta-openembedded-a45830a39bb47a9eab27980d52966226c9504ea4.tar.gz |
recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
tabs is the need to update a lot of recipes). Lately this advice
was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
error prone when someone is not sure if e.g.
do_generate_toolchain_file() is Python or shell task and also allows
to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
potentially bad (shouldn't be used for indenting of multiline
variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
we're quite inconsistent wheater it's first character on line
under opening quote or under first non-whitespace character in
previous line.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-support/maliit')
-rw-r--r-- | meta-oe/recipes-support/maliit/maliit-framework_git.bb | 10 | ||||
-rw-r--r-- | meta-oe/recipes-support/maliit/maliit-plugins_git.bb | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/meta-oe/recipes-support/maliit/maliit-framework_git.bb b/meta-oe/recipes-support/maliit/maliit-framework_git.bb index 2c4b0f8e8b..292856238d 100644 --- a/meta-oe/recipes-support/maliit/maliit-framework_git.bb +++ b/meta-oe/recipes-support/maliit/maliit-framework_git.bb | |||
@@ -12,7 +12,7 @@ SRC_URI = "git://gitorious.org/maliit/maliit-framework.git;branch=master \ | |||
12 | file://0001-Fix-QT_IM_PLUGIN_PATH-to-allow-openembedded-to-build.patch \ | 12 | file://0001-Fix-QT_IM_PLUGIN_PATH-to-allow-openembedded-to-build.patch \ |
13 | file://0001-Link-to-libmaliit-1-0-in-inputcontext-plugin.patch \ | 13 | file://0001-Link-to-libmaliit-1-0-in-inputcontext-plugin.patch \ |
14 | file://maliit-server.desktop \ | 14 | file://maliit-server.desktop \ |
15 | " | 15 | " |
16 | 16 | ||
17 | SRCREV = "750842dec74a9b17dca91ef779c4fc5a43c4d9dc" | 17 | SRCREV = "750842dec74a9b17dca91ef779c4fc5a43c4d9dc" |
18 | PV = "0.92.3+git${SRCPV}" | 18 | PV = "0.92.3+git${SRCPV}" |
@@ -30,7 +30,7 @@ FILES_${PN} += "\ | |||
30 | ${libdir}/maliit/plugins-*/factories/libmaliit-plugins-quick-factory-*.so \ | 30 | ${libdir}/maliit/plugins-*/factories/libmaliit-plugins-quick-factory-*.so \ |
31 | ${libdir}/qt4/plugins/inputmethods/*.so \ | 31 | ${libdir}/qt4/plugins/inputmethods/*.so \ |
32 | ${datadir}/applications/maliit-server.desktop \ | 32 | ${datadir}/applications/maliit-server.desktop \ |
33 | " | 33 | " |
34 | 34 | ||
35 | FILES_${PN}-dbg += "\ | 35 | FILES_${PN}-dbg += "\ |
36 | ${libdir}/maliit-framework-tests \ | 36 | ${libdir}/maliit-framework-tests \ |
@@ -38,7 +38,7 @@ FILES_${PN}-dbg += "\ | |||
38 | ${libdir}/maliit/plugins-*/factories/.debug \ | 38 | ${libdir}/maliit/plugins-*/factories/.debug \ |
39 | ${libdir}/qt4/plugins/.debug \ | 39 | ${libdir}/qt4/plugins/.debug \ |
40 | ${libdir}/qt4/plugins/inputmethods/.debug \ | 40 | ${libdir}/qt4/plugins/inputmethods/.debug \ |
41 | " | 41 | " |
42 | 42 | ||
43 | FILES_${PN}-dev += "${datadir}/qt4" | 43 | FILES_${PN}-dev += "${datadir}/qt4" |
44 | 44 | ||
@@ -46,7 +46,7 @@ FILES_${PN}-gtk +="\ | |||
46 | ${bindir}/maliit-exampleapp-gtk* \ | 46 | ${bindir}/maliit-exampleapp-gtk* \ |
47 | \ | 47 | \ |
48 | ${libdir}/gtk-*/*/immodules/libim-maliit.so\ | 48 | ${libdir}/gtk-*/*/immodules/libim-maliit.so\ |
49 | " | 49 | " |
50 | 50 | ||
51 | EXTRA_QMAKEVARS_PRE = "\ | 51 | EXTRA_QMAKEVARS_PRE = "\ |
52 | PREFIX=${prefix} \ | 52 | PREFIX=${prefix} \ |
@@ -58,7 +58,7 @@ EXTRA_QMAKEVARS_PRE = "\ | |||
58 | CONFIG+=disable-gtk-cache-update \ | 58 | CONFIG+=disable-gtk-cache-update \ |
59 | CONFIG+=local-install \ | 59 | CONFIG+=local-install \ |
60 | CONFIG+=nosdk \ | 60 | CONFIG+=nosdk \ |
61 | " | 61 | " |
62 | 62 | ||
63 | EXTRA_OEMAKE += "INSTALL_ROOT=${D}" | 63 | EXTRA_OEMAKE += "INSTALL_ROOT=${D}" |
64 | 64 | ||
diff --git a/meta-oe/recipes-support/maliit/maliit-plugins_git.bb b/meta-oe/recipes-support/maliit/maliit-plugins_git.bb index 7a1a430d07..0fc7c680ea 100644 --- a/meta-oe/recipes-support/maliit/maliit-plugins_git.bb +++ b/meta-oe/recipes-support/maliit/maliit-plugins_git.bb | |||
@@ -19,12 +19,12 @@ EXTRA_QMAKEVARS_PRE = "\ | |||
19 | PREFIX=${prefix} \ | 19 | PREFIX=${prefix} \ |
20 | LIBDIR=${libdir} \ | 20 | LIBDIR=${libdir} \ |
21 | CONFIG+=nodoc \ | 21 | CONFIG+=nodoc \ |
22 | " | 22 | " |
23 | 23 | ||
24 | FILES_${PN} += "\ | 24 | FILES_${PN} += "\ |
25 | ${libdir}/maliit \ | 25 | ${libdir}/maliit \ |
26 | ${datadir} \ | 26 | ${datadir} \ |
27 | " | 27 | " |
28 | 28 | ||
29 | FILES_${PN}-dbg += "${libdir}/maliit/plugins-*/.debug" | 29 | FILES_${PN}-dbg += "${libdir}/maliit/plugins-*/.debug" |
30 | 30 | ||