From cf3d3c5b48e25ba85dba235378d0bf2175c2b6d2 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 29 May 2013 10:57:32 +0000 Subject: [PATCH] pixbufcache: add more documentation Add some more documentation to the PIXBUFCACHE_SYSROOT_DEPS variable to clarify the usage. (From OE-Core rev: b2f2d6a2b166b3c79cc5a0d386ee1dda2d4fa010) Signed-off-by: Ross Burton Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/classes/pixbufcache.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass index 274d67d..d46a8ba 100644 --- a/meta/classes/pixbufcache.bbclass +++ b/meta/classes/pixbufcache.bbclass @@ -61,6 +61,9 @@ pixbufcache_sstate_postinst() { # do_populate_sysroot_setscene so that pixbufcache_sstate_postinst can work # (otherwise gdk-pixbuf-query-loaders may not exist or link). Only add # gdk-pixbuf-native if we're not building gdk-pixbuf itself. +# +# Packages that use this class should extend this variable with their runtime +# dependencies. PIXBUFCACHE_SYSROOT_DEPS = "" PIXBUFCACHE_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" do_populate_sysroot_setscene[depends] += "${PIXBUFCACHE_SYSROOT_DEPS}" -- 2.7.4