Patchwork [1/2] pixbufcache: add more documentation

login
register
mail settings
Submitter Ross Burton
Date May 29, 2013, 10:57 a.m.
Message ID <1369825053-10131-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/50685/
State Accepted
Commit 2ab5dfceefe7ae42c3bd9dba02e62135d3493cf1
Headers show

Comments

Ross Burton - May 29, 2013, 10:57 a.m.
Add some more documentation to the PIXBUFCACHE_SYSROOT_DEPS variable to clarify
the usage.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/classes/pixbufcache.bbclass |    3 +++
 1 file changed, 3 insertions(+)

Patch

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}"