gsettings-desktop-schemas: add missing elements from meta-gnome
PATCH 1/1 gsettings-desktop-schemas: add missing elements from meta-gnome
- modify the recipe according to the meta-gnome variant
Signed-off-by Constantin Musca <[email protected]>
--- .../recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-)
meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb +11 -3
@@ -4,12 +4,20 @@ BUGTRACKER = "https://bugzilla.gnome.org/" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" +PR = "r1" +RDEPENDS_${PN} = "glib-2.0-utils" -DEPENDS = "glib-2.0" - -inherit gnome pkgconfig autotools gettext +inherit gnome GNOME_COMPRESS_TYPE = "xz" SRC_URI[archive.md5sum] = "6dbede8f6112b7e0dd4864e979b91771" SRC_URI[archive.sha256sum] = "1da53e1b960f08ce4b0d472e6f339b7beaf19a7889c15911775abf4efe2ec760" + +pkg_postinst_${PN} () { + if [ -n "$D" ]; then + exit 1 + fi + + glib-compile-schemas ${datadir}/glib-2.0/schemas +}
Signature · 1 line
1.7.11.7
meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb BUGTRACKER = "https://bugzilla.gnome.org/" · line 23
Quoted 7 lines · Constantin Musca
meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb +7
-0+pkg_postinst_${PN} () { + if [ -n "$D" ]; then + exit 1 + fi + + glib-compile-schemas ${datadir}/glib-2.0/schemas +}
The compiled form is little-endian and we're already built a native glib-compile-schemas, so you can drop the $D check and perform this postinst on the build host with glib-compile-schemas $D${datadir}/glib-2.0/schemas.
Ross