diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2012-12-20 15:15:40 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-10 23:43:15 +0000 |
commit | bdb52d2e56f48cbbf8c13151f221fbdffe4246ca (patch) | |
tree | 3e7e1461b5cfc914f20bcf1d06ade508aeaf81f4 | |
parent | 9129102aee5ad264a978dbefb4b40943d4b1e068 (diff) | |
download | poky-bdb52d2e56f48cbbf8c13151f221fbdffe4246ca.tar.gz |
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>
-rw-r--r-- | meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb index adde25bcf0..a7091d2519 100644 --- a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb +++ b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb | |||
@@ -22,7 +22,7 @@ SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \ | |||
22 | 22 | ||
23 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
24 | 24 | ||
25 | inherit autotools pkgconfig gettext | 25 | inherit autotools pkgconfig gettext gtk-immodules-cache |
26 | 26 | ||
27 | EXTRA_OECONF = "--disable-cairo --enable-gtk-im --enable-applet" | 27 | EXTRA_OECONF = "--disable-cairo --enable-gtk-im --enable-applet" |
28 | 28 | ||
@@ -49,18 +49,4 @@ do_install_append () { | |||
49 | rm -f ${D}${libdir}/matchbox-panel/*.la | 49 | rm -f ${D}${libdir}/matchbox-panel/*.la |
50 | } | 50 | } |
51 | 51 | ||
52 | pkg_postinst_matchbox-keyboard-im () { | 52 | GTKIMMODULES_PACKAGES = "${PN}-im" |
53 | if [ "x$D" != "x" ]; then | ||
54 | exit 1 | ||
55 | fi | ||
56 | |||
57 | gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules | ||
58 | } | ||
59 | |||
60 | pkg_postrm_matchbox-keyboard-im () { | ||
61 | if [ "x$D" != "x" ]; then | ||
62 | exit 1 | ||
63 | fi | ||
64 | |||
65 | gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules | ||
66 | } | ||