dconf: fix/remove postinst by inheriting gsettings
authorAndreas Müller <schnitzeltony@googlemail.com>
Mon, 29 Apr 2013 14:50:06 +0000 (16:50 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:30:14 +0000 (08:30 -0800)
(From meta-openembedded rev: f06c454faa2cb798d3ab87ed392d827363022930)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-gnome/recipes-gnome/dconf/dconf_0.7.5.bb

index ba14e88..7d11cf8 100644 (file)
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
 SECTION = "x11/gnome"
 
-inherit gnome
+inherit gnome gsettings
 SRC_URI[archive.md5sum] = "d784f8afca04473d194a72047595c28e"
 SRC_URI[archive.sha256sum] = "e2103e8207744903790e9fac6427fa394bb485a0c7f4e0d03b0fb43268c34f33"
 
@@ -12,7 +12,7 @@ DEPENDS = "glib-2.0 gtk+3"
 
 inherit vala
 
-PR = "r1"
+PR = "r2"
 
 PACKAGES =+ "dconf-editor"
 
@@ -21,11 +21,3 @@ FILES_${PN} += "${datadir}/dbus-1/ \
                 ${libdir}/gio/modules/*.so \
 "
 FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/libdconfsettings.so"
-
-pkg_postinst_${PN} () {
-if [ -n "$D" ]; then
-    exit 1
-fi
-
-glib-compile-schemas ${datadir}/glib-2.0/schemas
-}