summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-11 17:33:43 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-19 10:24:50 +0100
commitbfd279de3275abbfaf3e630383ec244131e0375f (patch)
tree0d1c90461a890d21444f5d2afb13c52b302427f1 /meta/recipes-multimedia/gstreamer
parent99203edda6f0b09d817454d656c100b7a8806b18 (diff)
downloadpoky-bfd279de3275abbfaf3e630383ec244131e0375f.tar.gz
Convert tab indentation in python functions into four-space
(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-plugins-package.inc40
1 files changed, 20 insertions, 20 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
index 4572265ef4..f26aca5c85 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
@@ -1,27 +1,27 @@
1LIBV = "0.10" 1LIBV = "0.10"
2 2
3python populate_packages_prepend () { 3python populate_packages_prepend () {
4 gst_libdir = d.expand('${libdir}/gstreamer-${LIBV}') 4 gst_libdir = d.expand('${libdir}/gstreamer-${LIBV}')
5 postinst = d.getVar('plugin_postinst', True) 5 postinst = d.getVar('plugin_postinst', True)
6 glibdir = d.getVar('libdir', True) 6 glibdir = d.getVar('libdir', True)
7 7
8 do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) 8 do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True)
9 do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', d.expand('${PN}-%s'), 'GStreamer plugin for %s', postinst=postinst, extra_depends=d.expand('${PN}')) 9 do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', d.expand('${PN}-%s'), 'GStreamer plugin for %s', postinst=postinst, extra_depends=d.expand('${PN}'))
10 do_split_packages(d, gst_libdir, 'libgst(.*)\.la$', d.expand('${PN}-%s-dev'), 'GStreamer plugin for %s (development files)', extra_depends=d.expand('${PN}-dev')) 10 do_split_packages(d, gst_libdir, 'libgst(.*)\.la$', d.expand('${PN}-%s-dev'), 'GStreamer plugin for %s (development files)', extra_depends=d.expand('${PN}-dev'))
11 do_split_packages(d, gst_libdir, 'libgst(.*)\.a$', d.expand('${PN}-%s-staticdev'), 'GStreamer plugin for %s (static development files)', extra_depends=d.expand('${PN}-staticdev')) 11 do_split_packages(d, gst_libdir, 'libgst(.*)\.a$', d.expand('${PN}-%s-staticdev'), 'GStreamer plugin for %s (static development files)', extra_depends=d.expand('${PN}-staticdev'))
12 12
13 pn = d.getVar('PN', True) 13 pn = d.getVar('PN', True)
14 metapkg = pn + '-meta' 14 metapkg = pn + '-meta'
15 d.setVar('ALLOW_EMPTY_' + metapkg, "1") 15 d.setVar('ALLOW_EMPTY_' + metapkg, "1")
16 d.setVar('FILES_' + metapkg, "") 16 d.setVar('FILES_' + metapkg, "")
17 blacklist = [ pn + '-locale', pn + '-dev', pn + '-dbg', pn + '-doc' ] 17 blacklist = [ pn + '-locale', pn + '-dev', pn + '-dbg', pn + '-doc' ]
18 metapkg_rdepends = [] 18 metapkg_rdepends = []
19 packages = d.getVar('PACKAGES', True).split() 19 packages = d.getVar('PACKAGES', True).split()
20 for pkg in packages[1:]: 20 for pkg in packages[1:]:
21 if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.count('locale') and not pkg.count('-staticdev'): 21 if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.count('locale') and not pkg.count('-staticdev'):
22 metapkg_rdepends.append(pkg) 22 metapkg_rdepends.append(pkg)
23 d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends)) 23 d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends))
24 d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package') 24 d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package')
25} 25}
26 26
27ALLOW_EMPTY = "1" 27ALLOW_EMPTY = "1"