- 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(-)

diff --git a/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb 
b/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb
index 720858a..d5784af 100644
--- a/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb
+++ b/meta/recipes-gnome/gnome/gsettings-desktop-schemas_3.7.3.bb
@@ -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
+}
-- 
1.7.11.7


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to