diff options
Diffstat (limited to 'meta/classes/gsettings.bbclass')
-rw-r--r-- | meta/classes/gsettings.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/gsettings.bbclass b/meta/classes/gsettings.bbclass index e6d1c8a893..eae3dc7999 100644 --- a/meta/classes/gsettings.bbclass +++ b/meta/classes/gsettings.bbclass @@ -7,12 +7,13 @@ # TODO use a trigger so that this runs once per package operation run -DEPENDS += "glib-2.0-native" RDEPENDS_${PN} += "glib-2.0-utils" FILES_${PN} += "${datadir}/glib-2.0/schemas" +PACKAGE_WRITE_DEPS += "glib-2.0-native" + gsettings_postinstrm () { glib-compile-schemas $D${datadir}/glib-2.0/schemas } |