summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-05-17 11:16:45 +0000
committerRoss Burton <ross@openedhand.com>2007-05-17 11:16:45 +0000
commite5b3d85ae07ba6533ce681796f25038feed64c5e (patch)
tree42f1107d14032d840cdbb3ef8b2691b7d9bd362a /meta/packages
parentd7fca4c40dcb95564df542c6bcdcc5500727fa58 (diff)
downloadopenembedded-core-e5b3d85ae07ba6533ce681796f25038feed64c5e.tar.gz
openembedded-core-e5b3d85ae07ba6533ce681796f25038feed64c5e.tar.bz2
openembedded-core-e5b3d85ae07ba6533ce681796f25038feed64c5e.zip
Update matchbox-keyboard srcdate, enable and package the GTK+ input method, and include it by default on Akita
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1747 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb31
1 files changed, 27 insertions, 4 deletions
diff --git a/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb b/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb
index 4cea81a2ea..ac03f11e2d 100644
--- a/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb
+++ b/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb
@@ -1,9 +1,9 @@
DESCRIPTION = "Matchbox virtual keyboard for X11"
LICENSE = "GPL"
-DEPENDS = "libfakekey expat libxft"
+DEPENDS = "libfakekey expat libxft gtk+"
SECTION = "x11"
PV = "0.0+svn${SRCDATE}"
-PR="r2"
+PR="r3"
SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http"
@@ -12,9 +12,32 @@ S = "${WORKDIR}/${PN}"
inherit autotools pkgconfig gettext
-EXTRA_OECONF = "--disable-cairo"
+EXTRA_OECONF = "--disable-cairo --enable-gtk-im"
+
+PACKAGES += "matchbox-keyboard-im matchbox-keyboard-im-dbg"
FILES_${PN} = "${bindir}/* \
${datadir}/applications \
${datadir}/pixmaps \
- ${datadir}/matchbox-keyboard"
+ ${datadir}/matchbox-keyboard"
+
+FILES_matchbox-keyboard-im = "${libdir}/gtk-2.0/*/immodules/*.so"
+
+FILES_matchbox-keyboard-dbg = "${libdir}/gtk-2.0/*/immodules/.debug"
+
+
+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
+}