summaryrefslogtreecommitdiff
path: root/meta/recipes-gnome/gtk+/gtk+.inc
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-02-12 18:12:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-12 16:35:14 +0000
commit1c5646dde09008662f064ce7e7400c4d68775278 (patch)
treed344f3fc5273ea8975d636a77a1f5c2567a14ce5 /meta/recipes-gnome/gtk+/gtk+.inc
parente9e80eac6ab4982cb42fa2c5403630926351efed (diff)
downloadopenembedded-core-1c5646dde09008662f064ce7e7400c4d68775278.tar.gz
openembedded-core-1c5646dde09008662f064ce7e7400c4d68775278.tar.bz2
openembedded-core-1c5646dde09008662f064ce7e7400c4d68775278.zip
gtk+: use gtk-immodules-cache class
In order to have the proper postinst/postrm scriptlets generated for gtk+ immodules packages, use the already existing class. [YOCTO #3853] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk+.inc')
-rw-r--r--meta/recipes-gnome/gtk+/gtk+.inc8
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc
index d8adc11f39..8c2b977658 100644
--- a/meta/recipes-gnome/gtk+/gtk+.inc
+++ b/meta/recipes-gnome/gtk+/gtk+.inc
@@ -18,7 +18,7 @@ PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
PACKAGECONFIG[x11] = "--with-x=yes --with-gdktarget=x11,--with-x=no,${X11DEPENDS}"
-inherit autotools gtk-doc pkgconfig update-alternatives
+inherit autotools gtk-doc pkgconfig update-alternatives gtk-immodules-cache
PACKAGES += "libgail gtk-demo"
@@ -94,9 +94,3 @@ gtk_sysroot_preprocess () {
fi
}
-postinst_prologue() {
-if [ "x$D" != "x" ]; then
- exit 1
-fi
-
-}