Patchwork [4/6] gtk-immodules-cache: add weak asignment for GTKIMMODULES_PACKAGES

login
register
mail settings
Submitter Laurentiu Palcu
Date Feb. 6, 2013, 4:36 p.m.
Message ID <963dda7fb1722619fff678997f97983bab6a5314.1360166922.git.laurentiu.palcu@intel.com>
Download mbox | patch
Permalink /patch/44223/
State Accepted
Commit e9e80eac6ab4982cb42fa2c5403630926351efed
Headers show

Comments

Laurentiu Palcu - Feb. 6, 2013, 4:36 p.m.
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]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 meta/classes/gtk-immodules-cache.bbclass |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/classes/gtk-immodules-cache.bbclass b/meta/classes/gtk-immodules-cache.bbclass
index a8855af..6a5bc19 100644
--- a/meta/classes/gtk-immodules-cache.bbclass
+++ b/meta/classes/gtk-immodules-cache.bbclass
@@ -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