matchbox-keyboard: use the gtk-immodules-cache.bbclass
Since the class was already present, use it. Also, this will have the postinstalls run on host, at do_rootfs time. [YOCTO #3602] (From OE-Core rev: 2e6c202c000cfd0edbc024468c9f6c4b8b7eb816) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9129102aee
commit
bdb52d2e56
|
@ -22,7 +22,7 @@ SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \
|
|||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig gettext
|
||||
inherit autotools pkgconfig gettext gtk-immodules-cache
|
||||
|
||||
EXTRA_OECONF = "--disable-cairo --enable-gtk-im --enable-applet"
|
||||
|
||||
|
@ -49,18 +49,4 @@ do_install_append () {
|
|||
rm -f ${D}${libdir}/matchbox-panel/*.la
|
||||
}
|
||||
|
||||
pkg_postinst_matchbox-keyboard-im () {
|
||||
if [ "x$D" != "x" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
|
||||
}
|
||||
|
||||
pkg_postrm_matchbox-keyboard-im () {
|
||||
if [ "x$D" != "x" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
|
||||
}
|
||||
GTKIMMODULES_PACKAGES = "${PN}-im"
|
||||
|
|
Loading…
Reference in New Issue