From b2f2d6a2b166b3c79cc5a0d386ee1dda2d4fa010 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 29 May 2013 10:57:32 +0000 Subject: pixbufcache: add more documentation Add some more documentation to the PIXBUFCACHE_SYSROOT_DEPS variable to clarify the usage. 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(+) (limited to 'meta/classes/pixbufcache.bbclass') diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass index 274d67d593..d46a8ba206 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}" -- cgit 1.2.3-korg