mime.bbclass: fix typo
Before this patch, nautilus would fail with: ERROR: Error executing a python function in /home/connor/angstrom/sources/meta-openembedded/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb: NameError: global name 'dgetVar' is not defined (From OE-Core rev: e7090743df6b38e9ce73743b5bbdd8ab6e9cada4) Signed-off-by: Connor Abbott <cwabbott0@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9b6a548f5a
commit
fa81f8dfb7
|
@ -52,7 +52,7 @@ python populate_packages_append () {
|
|||
postrm += d.getVar('mime_postrm', True)
|
||||
d.setVar('pkg_postrm_%s' % pkg, postrm)
|
||||
bb.note("adding shared-mime-info-data dependency to %s" % pkg)
|
||||
rdepends = explode_deps(dgetVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or ""
|
||||
rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or ""
|
||||
rdepends.append("shared-mime-info-data")
|
||||
d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue