summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-18 13:35:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-18 23:05:53 +0000
commitcfd1c4e79eb4e41e2090411adb8f7be2fbcc8e97 (patch)
treebe191f7311afec92249a5426b4c77873ca091c03 /meta/classes
parent08303af44afb1d90068620f36cd3c7f4ee7d5f7c (diff)
downloadpoky-cfd1c4e79eb4e41e2090411adb8f7be2fbcc8e97.tar.gz
pixbufcache: Fix librsvg-native build
bitbake librsvg-native would fail with an error about missing icu-native. The reason is that bitbake doesn't directly parse setscene dependencies. This change ensures bitbake does see the dependencies and avoids the error. Ideally we'd teach bitbake about those but that is a significant and complex change so this resolves the problem for now. [YOCTO #5926] (From OE-Core rev: 33fa7c8f28d343ecec354a551d45f23643becd59) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/pixbufcache.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass
index 0fe5163912..414fd30e6a 100644
--- a/meta/classes/pixbufcache.bbclass
+++ b/meta/classes/pixbufcache.bbclass
@@ -67,3 +67,4 @@ pixbufcache_sstate_postinst() {
67PIXBUFCACHE_SYSROOT_DEPS = "" 67PIXBUFCACHE_SYSROOT_DEPS = ""
68PIXBUFCACHE_SYSROOT_DEPS_class-native = "${@['gdk-pixbuf-native:do_populate_sysroot_setscene', '']['${BPN}' == 'gdk-pixbuf']} glib-2.0-native:do_populate_sysroot_setscene libffi-native:do_populate_sysroot_setscene libpng-native:do_populate_sysroot_setscene zlib-native:do_populate_sysroot_setscene" 68PIXBUFCACHE_SYSROOT_DEPS_class-native = "${@['gdk-pixbuf-native:do_populate_sysroot_setscene', '']['${BPN}' == 'gdk-pixbuf']} glib-2.0-native:do_populate_sysroot_setscene libffi-native:do_populate_sysroot_setscene libpng-native:do_populate_sysroot_setscene zlib-native:do_populate_sysroot_setscene"
69do_populate_sysroot_setscene[depends] += "${PIXBUFCACHE_SYSROOT_DEPS}" 69do_populate_sysroot_setscene[depends] += "${PIXBUFCACHE_SYSROOT_DEPS}"
70do_populate_sysroot[depends] += "${@d.getVar('PIXBUFCACHE_SYSROOT_DEPS', True).replace('_setscene','')}"