diff options
author | Christopher Larson <chris_larson@mentor.com> | 2013-08-29 09:28:55 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-30 16:17:17 +0100 |
commit | 9191c8b08ea25641d228acc83f2d4ad6a14333fe (patch) | |
tree | fc515d63fbc40e001f4c39afec9eecd155a81147 /meta/recipes-gnome/gtk+ | |
parent | 923d4bd548911caa0b419c10905895af1e8e7026 (diff) | |
download | openembedded-core-9191c8b08ea25641d228acc83f2d4ad6a14333fe.tar.gz openembedded-core-9191c8b08ea25641d228acc83f2d4ad6a14333fe.tar.bz2 openembedded-core-9191c8b08ea25641d228acc83f2d4ad6a14333fe.zip |
gtk+3: only set GTKIMMODULES_PACKAGES if we have immodules
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gtk+')
-rw-r--r-- | meta/recipes-gnome/gtk+/gtk+3.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc index f4d5254e43..e769ca58bc 100644 --- a/meta/recipes-gnome/gtk+/gtk+3.inc +++ b/meta/recipes-gnome/gtk+/gtk+3.inc @@ -94,7 +94,10 @@ python populate_packages_prepend () { immodules_root = os.path.join(gtk_libdir, 'immodules') printmodules_root = os.path.join(gtk_libdir, 'printbackends'); - d.setVar('GTKIMMODULES_PACKAGES', ' '.join(do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s'))) + immodules = do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s') + if immodules: + d.setVar("GTKIMMODULES_PACKAGES", " ".join(immodules)) + do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s') if (d.getVar('DEBIAN_NAMES', 1)): |