diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-11-25 15:28:52 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-12-02 09:16:17 +0100 |
commit | efd3696e70a6603f1a45faa4a172433514f0a487 (patch) | |
tree | b72751ba93b050391db05a8e1be7506836b6d515 /meta-multimedia | |
parent | 761639b9d7681c81dd69eaf3a37c32791d6e97fd (diff) | |
download | meta-openembedded-efd3696e70a6603f1a45faa4a172433514f0a487.tar.gz |
remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.
Search made with the following regex: getVar ?\(( ?[^,()]*), True\)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r-- | meta-multimedia/recipes-connectivity/rygel/rygel_0.28.2.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-multimedia/recipes-connectivity/rygel/rygel_0.28.2.bb b/meta-multimedia/recipes-connectivity/rygel/rygel_0.28.2.bb index 79ff6e2b0..38fac65d5 100644 --- a/meta-multimedia/recipes-connectivity/rygel/rygel_0.28.2.bb +++ b/meta-multimedia/recipes-connectivity/rygel/rygel_0.28.2.bb | |||
@@ -48,12 +48,12 @@ PACKAGES_DYNAMIC = "${PN}-plugin-*" | |||
48 | 48 | ||
49 | python populate_packages_prepend () { | 49 | python populate_packages_prepend () { |
50 | rygel_libdir = d.expand('${libdir}/rygel-${LIBV}') | 50 | rygel_libdir = d.expand('${libdir}/rygel-${LIBV}') |
51 | postinst = d.getVar('plugin_postinst', True) | 51 | postinst = d.getVar('plugin_postinst') |
52 | pkgs = [] | 52 | pkgs = [] |
53 | 53 | ||
54 | pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), 'librygel-(.*)\.so$', d.expand('${PN}-plugin-%s'), 'Rygel plugin for %s', postinst=postinst, extra_depends=d.expand('${PN}')) | 54 | pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), 'librygel-(.*)\.so$', d.expand('${PN}-plugin-%s'), 'Rygel plugin for %s', postinst=postinst, extra_depends=d.expand('${PN}')) |
55 | pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), '(.*)\.plugin$', d.expand('${PN}-plugin-%s'), 'Rygel plugin for %s', postinst=postinst, extra_depends=d.expand('${PN}')) | 55 | pkgs += do_split_packages(d, oe.path.join(rygel_libdir, "plugins"), '(.*)\.plugin$', d.expand('${PN}-plugin-%s'), 'Rygel plugin for %s', postinst=postinst, extra_depends=d.expand('${PN}')) |
56 | 56 | ||
57 | metapkg = d.getVar('PN', True) + '-meta' | 57 | metapkg = d.getVar('PN') + '-meta' |
58 | d.setVar('RDEPENDS_' + metapkg, ' '.join(pkgs)) | 58 | d.setVar('RDEPENDS_' + metapkg, ' '.join(pkgs)) |
59 | } | 59 | } |