summaryrefslogtreecommitdiffstats
path: root/meta/classes/gsettings.bbclass
AgeCommit message (Collapse)Author
2019-01-11gsettings: allow the schemas to be in any packageRoss Burton
Instead of assuming that the schemas are located in ${PN}, add a GSETTINGS_PACKAGE variable for the package name and default it to ${PN}. For recipe that can conditionally ship schemas, support GSETTINGS_PACKAGE being empty gracefully by doing nothing. Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-01-19gsettings: Add PACKAGE_WRITE_DEPS for postinstJussi Kukkonen
glib-compile-schemas is needed during postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2016-12-16meta: remove True option to getVar callsJoshua Lock
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-09-05gsettings.bbclass: fix whitespaceRoss Burton
As nothing in oe-core uses gsettings, it wasn't noticed that the whitespace is wrong. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-15classes: add gsettings.bbclassRoss Burton
This class registers postinst/postrm hooks to compile the GSetting schemas, and adds the relevant dependencies. If possible the postinst happens on the host to avoid running it on the target. [ YOCTO #2798 ] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>