diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-25 14:25:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-27 10:25:34 +0000 |
commit | 0a434ac10158e2011d41a1189e65e9474b1672be (patch) | |
tree | 6171516b25cb337343a6373e34aec0d061e4f5e8 /meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | |
parent | 71fded5145454b144413057e11f78f718d947093 (diff) | |
download | poky-0a434ac10158e2011d41a1189e65e9474b1672be.tar.gz |
getVar/setVar cleanups
Complete the bb.data.getVar/setVar replacements with accesses
directly to the data store object.
(From OE-Core rev: 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-plugins-package.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc index 7949058b13..8ff9f82fb4 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | |||
@@ -2,8 +2,8 @@ LIBV = "0.10" | |||
2 | 2 | ||
3 | python populate_packages_prepend () { | 3 | python populate_packages_prepend () { |
4 | gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) | 4 | gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) |
5 | postinst = d.getVar('plugin_postinst', 1) | 5 | postinst = d.getVar('plugin_postinst', True) |
6 | glibdir = bb.data.expand('${libdir}', d) | 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$', bb.data.expand('${PN}-%s', d), 'GStreamer plugin for %s', postinst=postinst, extra_depends=bb.data.expand('${PN}',d)) | 9 | do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', bb.data.expand('${PN}-%s', d), 'GStreamer plugin for %s', postinst=postinst, extra_depends=bb.data.expand('${PN}',d)) |
@@ -19,7 +19,7 @@ python populate_packages_prepend () { | |||
19 | for pkg in packages[1:]: | 19 | for pkg in packages[1:]: |
20 | 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('-static'): | 20 | 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('-static'): |
21 | metapkg_rdepends.append(pkg) | 21 | metapkg_rdepends.append(pkg) |
22 | bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d) | 22 | d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends)) |
23 | d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package') | 23 | d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package') |
24 | } | 24 | } |
25 | 25 | ||