gtk-immodules-cache: add weak asignment for GTKIMMODULES_PACKAGES
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 12 Feb 2013 16:12:45 +0000 (18:12 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Feb 2013 16:52:30 +0000 (16:52 +0000)
This is needed if the GTKIMMODULES_PACKAGES is changed later, in
do_populate_packages for example. This way, we don't have to add another
dumb asignment in the recipe inheriting this.

[YOCTO #3853]

(From OE-Core rev: e9e80eac6ab4982cb42fa2c5403630926351efed)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gtk-immodules-cache.bbclass

index a8855af..6a5bc19 100644 (file)
@@ -6,6 +6,8 @@ DEPENDS =+ "qemu-native"
 
 inherit qemu
 
+GTKIMMODULES_PACKAGES ?= "${PN}"
+
 gtk_immodule_cache_postinst() {
 if [ "x$D" != "x" ]; then
     for maj_ver in 2 3; do